---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://catboost.ai/docs/en/concepts/output-data_custom-borders.md
  - href: en/concepts/output-data_custom-borders.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://catboost.ai/docs/en/llms.txt

# Custom quantization borders and missing value modes

#### Contains

<!-- source: en/_includes/work_src/reusage-formats/custom-borders__contains__intro.md -->
Custom quantization borders and the method for processing missing values for the dataset numerical features.
<!-- endsource: en/_includes/work_src/reusage-formats/custom-borders__contains__intro.md -->


#### Format

- Each line contains information regarding a single border and optionally the missing values mode settings for the corresponding feature.
- Missing value modes are output for a feature if the following conditions are met at the same time:
    - The chosen missing value mode for the feature differs from Forbidden.
    - Missing values are present in the dataset.

    The global missing value mode is specified in the `--nan-mode` (`nan_mode`) training parameter and can be overridden in the [Custom quantization borders and missing value modes](https://catboost.ai/docs/en/concepts/input-data_custom-borders.md) input file.

- Format of a single line:
    ```
    <zero-based feature ID><\t><border value><\t><missing value mode>
    ```


#### Example

```
0<\t>0.25
0<\t>0.75
2<\t>0.3<\t>Max
2<\t>0.85<\t>Max
```

