Skip to content

Commit

Permalink
Corrected grammar in dataset_object.rst (#2661)
Browse files Browse the repository at this point in the history
* Corrected grammar in the categorical feature documentation

---------

Co-authored-by: Noam Bressler <noamzbr@gmail.com>
  • Loading branch information
arterm-sedov and noamzbr committed Aug 18, 2023
1 parent e617151 commit 2d0cbf5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/tabular/usage_guides/dataset_object.rst
Expand Up @@ -147,8 +147,8 @@ Inferring Categorical Features

.. warning::
It is highly recommended to explicitly state the categorical features or define their column type to be ``category``.
Otherwise, the inherent limitations of the automatic, and may cause inconsistencies (misdetection, different detection between
train and test, etc.), and required tuning and adaptions.
Otherwise, the inherent limitations of the automatic type detection may cause inconsistencies (misdetection, different detection between
train and test, etc.) and require tuning and adaptions.

If the parameter ``cat_features`` was not passed explicitly, the following inference logic
will run on the columns to determine which are classified as categorical:
Expand All @@ -163,4 +163,4 @@ will run on the columns to determine which are classified as categorical:
- If (`number of unique values in column` <= `max_categories_allowed_per_column_type`)

Check the API Reference for :func:`deepchecks.utils.type_inference.infer_categorical_features`
for more details.
for more details.

0 comments on commit 2d0cbf5

Please sign in to comment.