Comments (2)
Hello!
It seems that in your case (there are very few different values in your cat feature), the best options is to use one_hot_encoded features (set option one_hot_max_size
to 100). We will check, why it is not default behaviour in your case.
from catboost.
Hi, Ekaterina,
Thank you for your response.
One-hot encoding definitely works in this toy case.
However, I am still concerned about real production cases. Is it possible that the issues we've discussed could happen with real data?
I am worried because, despite all my research, I haven't found a comprehensive guide on categorical feature encoding. If I understand correctly, the CatBoost categorical encoding algorithm uses a variety of encoding schemes that operate differently depending on many parameters, such as whether it's a classification or regression task, among others.
Do you have any kind of diagram that describes the algorithm for choosing parameters for categorical encoding?
I've heard many people say: "We don't know exactly how it works, but it works." Perhaps if we describe this algorithm in more detail, we could add it to the documentation and help more people feel confident about using CatBoost.
from catboost.
Related Issues (20)
- CatBoost for Apache Spark AUC eval metric not working as expected. HOT 3
- CatBoost throws an exception when dealing with a large dataset
- Catboost 1.2.5 broke text features on GPU "Can't find borders for feature #4138" HOT 12
- R: Failed to install 'unknown package' from GitHub HOT 2
- [Model dump: JSON] model.save_model does not warn when required "pool" argument is skipped
- tensor_search_helpers.cpp HOT 2
- quantize: Categorical features are not supported in block quantization
- MultiLogloss can not be used if 'class weight' is specified.
- InternalFeatureImportance is in documentation but not implemented HOT 2
- Internal CatBoost Error (contact developers for assistance): isRealTarget is false, but isClass is false HOT 3
- Can't set keyword arguments sample_weight and init_model while using a custom loss
- Numpy 2.0 support status? HOT 20
- Tests are failing for catboost python-package component. HOT 4
- I use optuna to select model params and "num_features_to_select" of select_features function. The result is bad.
- My text feature is Chinese and can't be tokenized by delimiter 'space'. How can I use a user-defined tokenizer?
- c++ Standalone evaluator not loading bias
- Unable to catch the TOutOfMemoryError using a try-catch block HOT 2
- Fix using logloss for early stopping when task_type=GPU and eval_metric is not implemented on GPU.
- CatBoostError: /src/catboost/catboost/libs/data/feature_names_converter.h:33: String '' is not a feature name
- Segmentation fault while using slice of the Pool. HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from catboost.