get_scale_and_bias
Return the scale and bias of the model.
These values affect the results of applying the model, since the model prediction results are calculated as follows:
Method call format
get_scale_and_bias()
Type of return value
tuple
from catboost import CatBoost
import numpy as np
train_data = np.random.randint(1, 100, size=(100, 10))
train_labels = np.random.randint(2, size=(100))
model = CatBoost()
print(model.get_scale_and_bias())
The output of this example:
(1.0, 0.0)