嗨,我有点新手修补一些机器学习,我在python shell中得到一个错误scipy。我在Windows命令提示符下为scipy做了一个pip安装,当pip尝试安装时有一些奇怪的错误。这是我正在使用的简单的小代码,任何尝试scipy错误的想法?
import pandas as pd
import math
import numpy as np
import scipy
from sklearn import preprocessing, cross_validation, svm
from sklearn.linear_model import LinearRegression
df = pd.read_csv('C:\\Users\\bbartling\\Documents\\Python\\test_SP data\\testElectData.csv')
df = df[['kWhDay','CDDbase55',]]
print(df.head())
# forecast_col = 'kWhDay'
X = np.array(df.drop(['kWhDay'],1))
y = np.array(df.drop(['CDDbase55'],1))