在cpanel上运行nodejs只在第一次工作-然后我得到“找不到命令”

时间:2019-12-11 17:15:39

标签: node.js cpanel

第一次在cpanel上安装nodejs后,它会运行并正常运行,但是当我再次运行它时,会出现错误:“找不到命令”。

train_x = df.drop(["ET"], axis=1)
train_y = df["ET"]
test_x = test.drop(["ET"], axis=1)
test_y = test["ET"]

from sklearn.linear_model import LinearRegression
model = LinearRegression()

model.fit(train_x, train_y)

model.score(test_x, test_y)


check = lambda x : 'Negative relationship' if x<0 else 'Positive relationship'
for i in range(len(train_x.columns)):
    print('About %s, the coefficient value is %s , Waiting time is %s.'%(train_x.columns[i], model.coef_[i], check(model.coef_[i])))

(mse) = mean_squared_error(y_test, forcast)


print('constant term is %s.' % (model.intercept_))
print(mse) = mean_squared_error(y_test, prediction)

0 个答案:

没有答案