Skip to content

Commit

Permalink
Remove old symbol. Remove doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Sep 15, 2021
1 parent 690c221 commit 9981295
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
17 changes: 5 additions & 12 deletions python-package/xgboost/core.py
Expand Up @@ -561,13 +561,7 @@ def __init__(
feature_types :
Set types for features. When `enable_categorical` is set to `True`, string
"c" represents categorical data type. For numerical data, it can be one for
the following:
- "q" for quantitive
- "float" for float
- "i" for indicator
- "int" for integer
"c" represents categorical data type.
nthread : integer, optional
Number of threads to use for loading data when parallelization is
Expand All @@ -586,11 +580,10 @@ def __init__(
.. versionadded:: 1.3.0
Experimental support of specializing for categorical features. Do
not set to True unless you are interested in development.
Currently it's only available for `gpu_hist` tree method with 1 vs
rest (one hot) categorical split. Also, JSON serialization format,
`gpu_predictor` and pandas input are required.
Experimental support of specializing for categorical features. Do not set to
True unless you are interested in development. Currently it's only available
for `gpu_hist` tree method with 1 vs rest (one hot) categorical split. Also,
JSON serialization format is required.
"""
if group is not None and qid is not None:
Expand Down
2 changes: 0 additions & 2 deletions src/data/data.cc
Expand Up @@ -200,8 +200,6 @@ void LoadFeatureType(std::vector<std::string>const& type_names, std::vector<Feat
types->emplace_back(FeatureType::kNumerical);
} else if (elem == "q") {
types->emplace_back(FeatureType::kNumerical);
} else if (elem == "categorical") {
types->emplace_back(FeatureType::kCategorical);
} else if (elem == "c") {
types->emplace_back(FeatureType::kCategorical);
} else {
Expand Down

0 comments on commit 9981295

Please sign in to comment.