NGSIM
闲看庭前梦落花
摆脱不够努力、不够勤奋、不专注带来的焦虑
展开
-
SVM训练NGSIM数据集换道决策
SVM根据提取的特征数据文件进行训练#!/usr/bin/env python# coding: utf-8# In[1]:from sklearn import svmimport pandas as pdfrom sklearn.model_selection import train_test_splitfrom sklearn.preprocessing import StandardScalerfrom sklearn.neighbors import KNeighborsC原创 2022-04-26 11:19:12 · 1141 阅读 · 1 评论 -
NGSIM数据集提取换道前4s周围车辆的特征数据
换道#!/usr/bin/env python# coding: utf-8# In[1]:import numpy as npimport pandas as pdimport randomf=pd.read_csv("./CL_train41.csv")# df=pd.read_csv("/home/mt/learn/NGSIM数据处理/csv/80/4:00-4:15/CL_train41.csv")ff=pd.read_csv("./trajectories-0750.csv原创 2022-04-26 11:16:30 · 1779 阅读 · 2 评论 -
NGSIM数据集处理-添加标签、特征标准化
添加标签对向左向右换道数据添加不同的标签#!/usr/bin/env python# coding: utf-8# In[1]:import csvimport pandas as pdf2=pd.read_csv("./CL_train41.csv")f2# In[2]:# TR_row=[]# for i in range(len(f2)):# if i==0:# continue# else:# if f2['原创 2022-04-26 11:13:25 · 1185 阅读 · 2 评论 -
NGSIM数据集特征提取-对数据添加特征,筛选出换道车辆
ngsim数据集处理原创 2022-04-26 11:10:30 · 3111 阅读 · 6 评论