---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.3
alternate:
  - https://catboost.ai/docs/en/concepts/python-reference_pool_is_quantized.md
---
> **Documentation Index:** Fetch the complete configuration index at https://catboost.ai/docs/en/llms.txt

# is_quantized

<!-- source: en/_includes/work_src/reusage-python/python__pool__is_quantized__desc__div.md -->
Check whether the pool is quantized.
<!-- endsource: en/_includes/work_src/reusage-python/python__pool__is_quantized__desc__div.md -->

## Method call format {#call-format}

```python
is_quantized()
```

## Usage examples {#examples}

Create a pool, check whether it is quantized, [quantize](https://catboost.ai/docs/en/concepts/python-reference_pool_quantized.md) it and check whether it is quantized once again.

```python
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())

```

