0 votes
1 view
in Machine Learning by (13.4k points)

Could you please explain what the "fit" method in scikit-learn does? Why is it useful?

I am new in Machine Learning and scikit-learn.

1 Answer

0 votes
by (32.8k points)

In contrast to machine learning, fitting means training. There is a fit function in ML, that is used for training of model using data examples. Fit function adjusts weights according to data values so that better accuracy can be achieved. After training, the model can be used for predictions, using .predict() method call. 

Hope this answer helps.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...