我正在使用 CatboostClassifier 进行培训。然后训练被杀死,但我检查了save_snapshot=True
,因为experiment.cbsnapshot
创建的文件。如何从中恢复模型experiment.cbsnapshot
?
model.fit(train_data, train_labels, use_best_model=True, save_snapshot=True, snapshot_file="catboost_info/experiment.cbsnapshot")