code_1.py 196 字节
Newer Older
ToTensor's avatar
ToTensor 已提交
1 2 3 4 5
import numpy as np # 导入Num Py
import pandas as pd # 导入Pandas
from sklearn import datasets # 导入Sklearn的数据集
iris=datasets.load_iris() # 导入iris
X_sepal = iris.data[:, [0, 1]]