Scikit-Learn
41
Parameters
Followings table consist
the parameters used by
BayesianRidge
module:
Parameter
Description
n_iter
: int, optional
It represents the maximum number of iterations.
The default value is 300 but the user-defined value
must be greater than or equal to 1.
fit_intercept
: Boolean, optional, default
True
It decides whether to calculate the intercept for
this model or not. No intercept will be used in
calculation, if it will set to false.
tol
: float, optional, default=1.e-3
It represents the precision of the solution and will
stop the algorithm if w has converged.
alpha_1
: float, optional, default=1.e-6
It is the 1
st
hyperparameter
which is a shape
parameter for the Gamma
distribution prior over
the alpha parameter.
alpha_2
: float, optional, default=1.e-6
It is the 2
nd
hyperparameter
which is an inverse
scale parameter for the Gamma distribution prior
over the alpha parameter.
lambda_1
: float, optional, default=1.e-6
It is the 1
st
hyperparameter which is a shape
parameter for the Gamma distribution prior over
the lambda parameter.
lambda_2
: float, optional, default=1.e-6
It is the 2
nd
hyperparameter which is an inverse
scale parameter for the Gamma distribution prior
over the lambda parameter.
copy_X
: Boolean, optional, default = True
By default, it is true which means X will be copied.
But if it is set to false, X may be overwritten.
compute_score
:
boolean,
optional,
default=False
If
set to true, it computes the log marginal
likelihood at each iteration of the optimization.
verbose
: Boolean, optional, default=False
By default, it is false but if set true, verbose mode
will be enabled while fitting the model.
Dostları ilə paylaş: