{"id":23673754,"url":"https://github.com/carpentries-incubator/machine-learning-trees-python","last_synced_at":"2025-09-02T02:32:45.277Z","repository":{"id":39793453,"uuid":"420173667","full_name":"carpentries-incubator/machine-learning-trees-python","owner":"carpentries-incubator","description":"Introduction to tree models with Python","archived":false,"fork":false,"pushed_at":"2024-03-27T21:33:12.000Z","size":7544,"stargazers_count":3,"open_issues_count":21,"forks_count":7,"subscribers_count":5,"default_branch":"gh-pages","last_synced_at":"2024-12-23T03:42:09.600Z","etag":null,"topics":["bagging","boosting","boostrapping","decision-tree","decision-trees","english","ensemble-model","lesson","machine-learning","pre-alpha","prediction","python","tree-models","trees"],"latest_commit_sha":null,"homepage":"https://carpentries-incubator.github.io/machine-learning-trees-python","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/carpentries-incubator.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null},"funding":{"github":["carpentries"],"custom":["https://give.communityin.org/TheCarpentries"]}},"created_at":"2021-10-22T16:43:44.000Z","updated_at":"2023-12-21T18:56:28.000Z","dependencies_parsed_at":"2023-12-12T20:07:25.021Z","dependency_job_id":null,"html_url":"https://github.com/carpentries-incubator/machine-learning-trees-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"carpentries-incubator/template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carpentries-incubator%2Fmachine-learning-trees-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carpentries-incubator%2Fmachine-learning-trees-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carpentries-incubator%2Fmachine-learning-trees-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carpentries-incubator%2Fmachine-learning-trees-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carpentries-incubator","download_url":"https://codeload.github.com/carpentries-incubator/machine-learning-trees-python/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231737321,"owners_count":18418996,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bagging","boosting","boostrapping","decision-tree","decision-trees","english","ensemble-model","lesson","machine-learning","pre-alpha","prediction","python","tree-models","trees"],"created_at":"2024-12-29T12:55:50.901Z","updated_at":"2024-12-29T12:55:52.168Z","avatar_url":"https://github.com/carpentries-incubator.png","language":"Python","funding_links":["https://github.com/sponsors/carpentries","https://give.communityin.org/TheCarpentries"],"categories":[],"sub_categories":[],"readme":"# Introduction to Tree Models in Python\n\nDecision trees are a family of algorithms that are based around a tree-like structure of decision rules. These algorithms often perform well in tasks such as prediction and classification. \n\nThis lesson explores the properties of tree models in the context of mortality prediction. The lesson also covers topics such as overfitting, ensemble models, boosting, and bagging.\n\nIt is the second lesson in the machine learning curriculum. In later lessons we explore neural networks for image classification, and responsible machine learning.\n\n1. Introduction to Machine Learning in Python [[Lesson materials](https://carpentries-incubator.github.io/machine-learning-novice-python/); [Code repository](https://github.com/carpentries-incubator/machine-learning-novice-python)]\n2. **Introduction to Tree Models in Python** [[Lesson materials](https://carpentries-incubator.github.io/machine-learning-trees-python/); [Code repository](https://github.com/carpentries-incubator/machine-learning-trees-python)]\n3. Introduction to artificial neural networks in Python [[Lesson materials](https://carpentries-incubator.github.io/machine-learning-neural-python/); [Code repository](https://github.com/carpentries-incubator/machine-learning-neural-python)]\n4. Responsible machine learning in Python [[Lesson materials](https://carpentries-incubator.github.io/machine-learning-responsible-python/); [Code repository](https://github.com/carpentries-incubator/machine-learning-responsible-python)]\n\n## Workshop schedule\n\nThese lessons are being run at University of Edinburgh as part of the Ed-DaSH Data Science training programme for Health and Biosciences. \n\nThe first lessons were taught in May: https://edcarp.github.io/2022-05-24_ed-dash_machine-learning/. For a list of future lessons, see: https://edcarp.github.io/Ed-DaSH/workshops\n\n\n## Contributing\n\nWe welcome all contributions to improve the lesson! Maintainers will do their best to help you if you have any\nquestions, concerns, or experience any difficulties along the way.\n\nWe'd like to ask you to familiarize yourself with our [Contribution Guide](CONTRIBUTING.md) and have a look at\nthe [more detailed guidelines][lesson-example] on proper formatting, ways to render the lesson locally, and even\nhow to write new episodes.\n\nPlease see the current list of [issues](https://github.com/carpentries-incubator/machine-learning-trees-python/issues) for ideas for contributing to this\nrepository. For making your contribution, we use the GitHub flow, which is\nnicely explained in the chapter [Contributing to a Project](http://git-scm.com/book/en/v2/GitHub-Contributing-to-a-Project) in Pro Git\nby Scott Chacon.\nLook for the tag ![good_first_issue](https://img.shields.io/badge/-good%20first%20issue-gold.svg). This indicates that the maintainers will welcome a pull request fixing this issue.\n\n\n## Maintainer(s)\n\nCurrent maintainers of this lesson are:\n\n* Tom Pollard ([Website](https://people.csail.mit.edu/tpollard/); [GitHub](https://github.com/tompollard))\n\n\n## Authors\n\nA list of contributors to the lesson can be found in [AUTHORS](AUTHORS)\n\n## Citation\n\nTo cite this lesson, please consult with [CITATION](CITATION)\n\n[cdh]: https://cdh.carpentries.org\n[cdh-topic-tags]: https://cdh.carpentries.org/the-carpentries-incubator.html#topic-tags\n[change-default-branch]: https://docs.github.com/en/github/administering-a-repository/changing-the-default-branch\n[community-lessons]: https://carpentries.org/community-lessons\n[lesson-example]: https://carpentries.github.io/lesson-example\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarpentries-incubator%2Fmachine-learning-trees-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarpentries-incubator%2Fmachine-learning-trees-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarpentries-incubator%2Fmachine-learning-trees-python/lists"}