catboost icon indicating copy to clipboard operation
catboost copied to clipboard

Adding cross-validation parameters in model.fit()

Open repushko opened this issue 8 years ago • 4 comments

Hi! I can not find the parameters for cross-validation somewhere other than the function cv. Do you plan to add a parameter for this? I would like to be able to write like this: model.fit(train_data, train_label, folds_count=5)

repushko avatar Feb 12 '18 12:02 repushko

We don't plan to provide model.fit with cv interface. Because what would be the result of this operation? The interface should be consistent with current fit function. What's the problem with using cv(pool, params, fold_count)?

annaveronika avatar Feb 12 '18 12:02 annaveronika

Can I somehow save the model, which has turned out after cv call?

repushko avatar Feb 12 '18 12:02 repushko

What is your scenario, how do you want to use it?

annaveronika avatar Feb 12 '18 12:02 annaveronika

It seems that I did not quite understand the idea of cross-validation. Now I read about it and understood better.

repushko avatar Feb 12 '18 12:02 repushko