File size: 250 Bytes
4772c07 |
1 2 3 4 5 6 7 8 9 10 11 |
import catboost
from catboost import CatBoostRegressor
model = CatBoostRegressor()
model.load_model("model.cbm")
def predict(features):
# Transform features if necessary
prediction = model.predict([features])
return prediction.tolist()
|