pip install -r requirements.txt
- Navigate to naive_bayes_test.ipynb
- Run all cells
- Navigate to WineClassifier.py
- Execute WineClassifier.py
- View results in console
Utilize Python 3.10.6
- Navigate to cnn/cnn.ipynb
- Run all cells
- Navigate to WineClassifier.py
- Execute WineClassifier.py
- View results in console
- Navigate to WineClassifier.py
- Ensure line 63 containing the function multi_logistic_regression is uncommented
- Ensure line 65 containing the function predictPreset is commented out
- Execute WineClassifier.py
- View results in console
- Navigate to WineClassifier.py
- Ensure line 63 containing the function multi_logistic_regression is commented out
- Ensure line 65 containing the function predictPreset is uncommented
- Execute WineClassifier.py
- View results in console
The function multi_logistic_regression trains a new weight vector for each random training-testing split each time WineClassifier.py is run and tests it on the testing subset
The function predictPreset makes predictions given X_test using a static weight vector pulled from a single run that averaged high results.