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

Raw data
{
"_id": null,
"home_page": "https://github.com/dananac/decision-tree",
"name": "decision-trees",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "password",
"author": "Dana Conley",
"author_email": "dananaconley@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/72/ca/986af8508c954505c5a6afd45803673dea4935679468ac2b8a1005ed7295/decision-trees-0.1.1.tar.gz",
"platform": null,
"description": "Final Project Documentation\n\nThe project being tested and deployed is a Python-based project focused on machine learning using\ndecision trees.I used GitHub Actions to automate both the testing and the deployment of the project. In\nmy original Project Design Document, I stated that I planned on using Docker and Jenkins for the testing\nand deployment, however I have decided to change course and use GitHub Actions for both. All of the\ncode is centralized on Github, and the code is built, tested, and deployed upon each new push to the main\nbranch.\n\nI utilized unit tests to test the following functions: building the numpy array, building a list from the array,\nbuilding a dictionary, training the data, testing the data, making a prediction for a data sample\u2019s label,\nbuilding the decision tree, building a random forest, and testing the random forest. I used integration tests\nto test how the different data storage types work together (arrays, lists, and dictionaries), how the data\nstorage types are passed into the decision tree training, the connection between training the data and\nbuilding the tree, how a prediction works with a trained data sample, and the connection between building\na decision tree and a random forest. The automated testing only displays the coverage for test.py, but I\nhave included a screenshot of the coverage report as shown in PyCharm\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Decision Trees",
"version": "0.1.1",
"project_urls": {
"Homepage": "https://github.com/dananac/decision-tree"
},
"split_keywords": [
"password"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ce1255ddb1668be7f75d24fbf1e9e2a3e798cc6e90c25662fc4d69ccd745cacc",
"md5": "b3cc0a82076cfb5912290e319308438d",
"sha256": "47438790864b2be038a7f1218488717a2bc5ae484d2b084a8a969eb8f98b2eb7"
},
"downloads": -1,
"filename": "decision_trees-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b3cc0a82076cfb5912290e319308438d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 1914,
"upload_time": "2023-05-03T01:29:45",
"upload_time_iso_8601": "2023-05-03T01:29:45.649819Z",
"url": "https://files.pythonhosted.org/packages/ce/12/55ddb1668be7f75d24fbf1e9e2a3e798cc6e90c25662fc4d69ccd745cacc/decision_trees-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "72ca986af8508c954505c5a6afd45803673dea4935679468ac2b8a1005ed7295",
"md5": "aa7afda7378446bce81824e914160317",
"sha256": "74243a0f1abfebe6737334bedb1c348a95dd9767a567118dee012ee70a0eb7da"
},
"downloads": -1,
"filename": "decision-trees-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "aa7afda7378446bce81824e914160317",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1760,
"upload_time": "2023-05-03T01:29:48",
"upload_time_iso_8601": "2023-05-03T01:29:48.273753Z",
"url": "https://files.pythonhosted.org/packages/72/ca/986af8508c954505c5a6afd45803673dea4935679468ac2b8a1005ed7295/decision-trees-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-03 01:29:48",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dananac",
"github_project": "decision-tree",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "decision-trees"
}