AttributeError: ‘LassoLarsCV‘ object has no attribute ‘mse_path_‘问题求解
AttributeError: ‘LassoLarsCV’ object has no attribute 'mse_path_'问题求解wineModel = LassoLarsCV(cv=10).fit(X, Y)Display resultst1 = time.time()t_lasso_lars_cv = time.time() - t1plt.figure()plt.plot(wineModel.alphas_, wineModel.mse_path_, ‘:’)plt.plot(w
原创
2021-03-22 14:47:15 ·
889 阅读 ·
1 评论