这是我的代码。当我运行它的时候,脊线是正常的,但是对于套索,我得到了错误消息:
ConvergenceWarning: Objective did not converge. You might want to increase the number of iterations.
请帮帮忙。
from sklearn.linear_model import LinearRegression, Lasso, Ridge, RidgeCV, LassoCV
from sklearn.model_selection import cross_val_score
import numpy as np
我在一个边面板中有一系列复选框,在sidebarPanel中定义如下
sliderInput("days",
"Days to monitor:",
min = 1,
max = 50,
value = 5),
checkboxInput("display_CMC", "Carolinas Medical Center", TRUE),
checkboxInput("dis