Skip to main content

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

![README](https://user-images.githubusercontent.com/80922081/235816639-37d8b556-e686-4de5-8f50-88459d326eaf.png)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

decision-trees-0.1.1.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

decision_trees-0.1.1-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

Details for the file decision-trees-0.1.1.tar.gz.

File metadata

  • Download URL: decision-trees-0.1.1.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for decision-trees-0.1.1.tar.gz
Algorithm Hash digest
SHA256 74243a0f1abfebe6737334bedb1c348a95dd9767a567118dee012ee70a0eb7da
MD5 aa7afda7378446bce81824e914160317
BLAKE2b-256 72ca986af8508c954505c5a6afd45803673dea4935679468ac2b8a1005ed7295

See more details on using hashes here.

File details

Details for the file decision_trees-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: decision_trees-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 1.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for decision_trees-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 47438790864b2be038a7f1218488717a2bc5ae484d2b084a8a969eb8f98b2eb7
MD5 b3cc0a82076cfb5912290e319308438d
BLAKE2b-256 ce1255ddb1668be7f75d24fbf1e9e2a3e798cc6e90c25662fc4d69ccd745cacc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page