Comments (7)
Would you please share dataset?
from chefboost.
I can not share all data because of corporate company data security problems but I can give details about form of data.
Independent columns are like below respectively.
INVTRF_L1L2L3_1_2_FLG_OBIN (int64)
MAX_GECIKME_L6M_OBIN (int64)
MAX_SUBSCRIBER_TENURE_MONTHS_OBIN (int64)
SUBS_POSTPAID_TENURE_DAYS_OBIN (int64)
TRF_PRICE_CHNG_RATIO_L12M_OBIN (int64)
Target variable : Decision (int64)
Top 5 data is like this:
0 3 7 0 1 6 0
1 1 8 4 4 4 1
2 3 6 9 2 6 0
3 3 0 12 4 5 0
4 2 6 6 4 4 1
Ordinal transformation was applied to columns and all data is in numeric form.
from chefboost.
oh if the column types are actually classes instead of real numeric values, then you should make them string.
e.g. instead of 0, make it class_0.
Otherwise, chaid will build trees with rules being greater or less than a threshold value as explained in this video: https://www.youtube.com/watch?v=YTC7sTXDmWk
from chefboost.
The problem was solved, the model worked thank you so much :)
How can I visualize the tree ?
from chefboost.
trees cannot be visualized with chefboost, you can just check the output .py files out.
from chefboost.
This is so sad. Do you know any other lib for visualization using rules.py file?
from chefboost.
nope
from chefboost.
Related Issues (20)
- UnboundLocalError: local variable 'subdataset' referenced before assignment HOT 3
- Unreasonable training time when I make a simple change HOT 3
- Getting KeyError: 'Decision' HOT 1
- Q: Are feature engineering tools mixed in for BT, RF, and GB? HOT 2
- 'Series' object has no attribute 'Decision' HOT 2
- Built-in library 'imp' was removed in python 3.12, breaking chefboost HOT 1
- add github actions HOT 1
- add logger HOT 1
- split unit tests into many files HOT 1
- classification returns irrelevant results in else conditions HOT 1
- as a developer, i want to see type hinting of chefboost functions HOT 1
- Python 3.12 issue (no imp module) HOT 1
- Cheefbost result is not returned HOT 3
- Last available PyPi version is from Feb 15, 2022 thus is missing fixes patched from other issues. HOT 1
- spawn make it unable to run on linux
- Error while fitting the model HOT 7
- Error for model code
- 'Series' object has no attribute 'Decision' HOT 2
- ImportError: Module 'outputs/rules/rules' not found HOT 1
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 chefboost.