Scikit-Learn
63
verbose=0, warm_start=False)
Now, once fitted, we can get the weight vector with the help of following python script:
SGDReg.coef_
Output
array([-0.00423314, 0.00362922, -0.00380136, 0.00585455, 0.00396787])
Similarly, we can get the value of intercept with the help of following python script:
SGReg.intercept_
Output
array([0.00678258])
We can get the number of weight updates during training
phase with the help of the
following python script:
SGDReg.t_
Dostları ilə paylaş: