You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
alpha = 1.0 # constant that multiplies the penalty term
ratio = 0.5 # Elastic Net mixing parameter
opts = {'alpha':alpha, 'ratio':ratio, 'kfold':kfold}
LASSO Regression
Constant that multiplies the L1 term
alpha = 1
opts = {'alpha':alpha, 'kfold':kfold}
Neural Network (NN)
NN contains several parameters
hls = 100 # hidden layer size
fun = 'relu' # activation function ( 'relu' or 'identity' or 'logistic' or 'tanh' )
max_iter = 100 # maximum iterations
opts = {'hls':hls, 'fun':fun, 'max_iter':max_iter, 'kfold':kfold}
RIDGE Regression
Regularization strength
alpha = 1
opts = {'alpha':alpha, 'kfold':kfold}
Support Vector Regression (SVR)
Kernel function
kernel = 'rbf' # kernel ( 'linear' or 'poly' or 'rbf' or 'sigmoid' or 'precomputed' )
opts = {'kernel':kernel, 'kfold':kfold}