is_quantized
Check whether the pool is quantized.
Method call format
is_quantized()
Usage examples
Create a pool, check whether it is quantized, quantize it and check whether it is quantized once again.
import numpy as np
from catboost import Pool
train_data = np.random.randint(1, 100, size=(10000, 10))
train_labels = np.random.randint(2, size=(10000))
quantized_dataset_path = 'quantized_dataset.bin'
train_dataset = Pool(train_data, train_labels)
print(train_dataset.is_quantized())
train_dataset.quantize()
print(train_dataset.is_quantized())