Decision Trees
Project description
Final Project Documentation
The project being tested and deployed is a Python-based project focused on machine learning using decision trees.I used GitHub Actions to automate both the testing and the deployment of the project. In my original Project Design Document, I stated that I planned on using Docker and Jenkins for the testing and deployment, however I have decided to change course and use GitHub Actions for both. All of the code is centralized on Github, and the code is built, tested, and deployed upon each new push to the main branch.
I utilized unit tests to test the following functions: building the numpy array, building a list from the array, building a dictionary, training the data, testing the data, making a prediction for a data sample’s label, building the decision tree, building a random forest, and testing the random forest. I used integration tests to test how the different data storage types work together (arrays, lists, and dictionaries), how the data storage types are passed into the decision tree training, the connection between training the data and building the tree, how a prediction works with a trained data sample, and the connection between building a decision tree and a random forest. The automated testing only displays the coverage for test.py, but I have included a screenshot of the coverage report as shown in PyCharm
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for decision_trees-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47438790864b2be038a7f1218488717a2bc5ae484d2b084a8a969eb8f98b2eb7 |
|
MD5 | b3cc0a82076cfb5912290e319308438d |
|
BLAKE2b-256 | ce1255ddb1668be7f75d24fbf1e9e2a3e798cc6e90c25662fc4d69ccd745cacc |