emileesisson/ML-4641-SupervisedLearning
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# README ### Initial Steps The first thing to be done is to install all of the required packages. To do this, cd into the root directory, and then type: ```bash pip install -r requirements.txt ``` This code is written in Python 3.6, so please run this code in Python 3.6. ### Datasets I used a contraceptive method and a red wine quality dataset from the UCI Machine Learning repository. Links to the two datasets are below: * Contraceptive dataset: https://archive.ics.uci.edu/ml/datasets/Contraceptive+Method+Choice * Wine dataset: http://archive.ics.uci.edu/ml/datasets/Wine+Quality?ref=datanews.io ### Running Code To run any of this code, simply type `python NAME_OF_FILE.py`. 1. Decision Tree: `python DecisionTree.py` 2. Boosting: `python Boosting.py` 3. k Nearest Neighbors: `python kNN.py` * There are two options to run this, running it normally will not output training and testing accuracy curves. If you want this, run ```v python kNN.py --curves ``` 4. Neural Network: `python NeuralNetwork.py` 5. Support Vector Machines: `python SupportVectorMachines.py`
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published