https://github.com/ahmetcansolak/decision-tree-classifier-scikit-learn
A simple decision tree classifier example using scikit-learn
https://github.com/ahmetcansolak/decision-tree-classifier-scikit-learn
decision-tree-classifier python scikit-learn
Last synced: about 2 months ago
JSON representation
A simple decision tree classifier example using scikit-learn
- Host: GitHub
- URL: https://github.com/ahmetcansolak/decision-tree-classifier-scikit-learn
- Owner: AhmetCanSolak
- License: gpl-3.0
- Created: 2016-12-14T18:33:54.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-27T20:43:29.000Z (about 8 years ago)
- Last Synced: 2025-07-03T09:11:39.879Z (12 months ago)
- Topics: decision-tree-classifier, python, scikit-learn
- Language: Python
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# scikit-learn Decision Tree Classifier Example
This repository is created to demonstrate how scikit-learn can be helpful for achieving data science tasks.
To develop this classifier, only [scikit-learn](https://github.com/scikit-learn/scikit-learn) is used. In here, a general purpose data classifier is implemented that can be manipulated easily to use for your own tasks. As I mentioned in the comments if you need some decision tree classifier for your problem, simply just change starting lines to fetch your data from its destination, then enjoy your classifier.

## Dependencies
* [scikit-learn](https://github.com/scikit-learn/scikit-learn)
## Usage
```bash
git clone https://github.com/AhmetCanSolak/decision-tree-classifier-scikit-learn
cd decision-tree-classifier-scikit-learn
python decisionTreeExample.py
```
##Do you have your own data to classify?
Change lines 6-8 to fetch your own data into dataTable and dataLabels. That's all you need.
## Licence
GPLv3 Licence.