{"id":30108985,"url":"https://github.com/mathworks-teaching-resources/biosciences-machine-learning","last_synced_at":"2025-08-10T03:20:24.531Z","repository":{"id":308947544,"uuid":"787576194","full_name":"MathWorks-Teaching-Resources/Biosciences-Machine-Learning","owner":"MathWorks-Teaching-Resources","description":"This is an interactive courseware module for use in introductory biology classrooms. This is a module that teaches students basic machine learning algorithms and how to apply them to biological datasets. It includes several live scripts.","archived":false,"fork":false,"pushed_at":"2025-08-08T21:09:17.000Z","size":16886,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"release","last_synced_at":"2025-08-08T21:29:56.774Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"MATLAB","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MathWorks-Teaching-Resources.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-04-16T19:34:32.000Z","updated_at":"2025-08-08T21:09:21.000Z","dependencies_parsed_at":"2025-08-08T21:46:36.081Z","dependency_job_id":null,"html_url":"https://github.com/MathWorks-Teaching-Resources/Biosciences-Machine-Learning","commit_stats":null,"previous_names":["mathworks-teaching-resources/biosciences-machine-learning"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/MathWorks-Teaching-Resources/Biosciences-Machine-Learning","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathWorks-Teaching-Resources%2FBiosciences-Machine-Learning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathWorks-Teaching-Resources%2FBiosciences-Machine-Learning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathWorks-Teaching-Resources%2FBiosciences-Machine-Learning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathWorks-Teaching-Resources%2FBiosciences-Machine-Learning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MathWorks-Teaching-Resources","download_url":"https://codeload.github.com/MathWorks-Teaching-Resources/Biosciences-Machine-Learning/tar.gz/refs/heads/release","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathWorks-Teaching-Resources%2FBiosciences-Machine-Learning/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269669974,"owners_count":24456775,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-08-10T03:20:23.753Z","updated_at":"2025-08-10T03:20:24.482Z","avatar_url":"https://github.com/MathWorks-Teaching-Resources.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003ca id=\"T_DEF03274\"\u003e\u003c/a\u003e\n\n# \u003cspan style=\"color:rgb(213,80,0)\"\u003eMachine Learning for Biosciences\u003c/span\u003e\n\u003ca id=\"H_053613DF\"\u003e\u003c/a\u003e\n\n\n[![View on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/163696-biosciences-machine-learning) or [![Open in MATLAB Online](https://www.mathworks.com/images/responsive/global/open-in-matlab-online.svg)](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/biosciences-machine-learning\u0026project=MachineLearningBiosciences.prj\u0026file=README.mlx)\n\n[![MATLAB Versions Tested](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2FMathWorks-Teaching-Resources%2Fbiosciences-machine-learning%2Frelease%2FImages%2FTestedWith.json)](https://MathWorks-Teaching-Resources.github.io/biosciences-machine-learning)\n\n**Curriculum Module**\n\n_Created with R2025a. Compatible with R2025a and later releases._\n\n# Information\n\nThis curriculum module contains interactive [MATLAB® live scripts](https://www.mathworks.com/products/matlab/live-editor.html) that introduces basic machine learning algorithms  and apply them to biological datasets .\n\n\u003ca id=\"H_F00D98E4\"\u003e\u003c/a\u003e\n\n## Background\n\nYou can use these live scripts as demonstrations in lectures, class activities, or interactive assignments outside class. This module covers machine learning applied to various biosciences datasets. \n\n\nThe instructions inside the live scripts will guide you through the exercises and activities. Get started with each live script by running it one section at a time. To stop running the script or a section midway (for example, when an animation is in progress), use the \u003cimg src=\"Images/EndIcon.png\" width=\"19\" alt=\"EndIcon.png\"\u003e Stop button in the **RUN** section of the **Live Editor** tab in the MATLAB Toolstrip.\n\n## Contact Us\n\nSolutions are available upon instructor request. Contact the [MathWorks teaching resources team](mailto:onlineteaching@mathworks.com) if you would like to request solutions, provide feedback, or if you have a question.\n\n\u003ca id=\"H_30BC7141\"\u003e\u003c/a\u003e\n\n## Prerequisites\n\nThis module assumes basic MATLAB® knowledge and we recommend that all students take the [MATLAB Onramp](https://matlabacademy.mathworks.com/details/matlab-onramp/gettingstarted) before continuing if they have not already. \n\n\u003ca id=\"H_330E72C3\"\u003e\u003c/a\u003e\n\n## Getting Started\n### Accessing the Module\n### **On MATLAB Online:**\n\nUse the [\u003cimg src=\"Images/OpenInMO.png\" width=\"136\" alt=\"OpenInMO.png\"\u003e](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/biosciences-machine-learning\u0026project=MachineLearningBiosciences.prj)  link to download the module. You will be prompted to log in or create a MathWorks account. The project will be loaded, and you will see an app with several navigation options to get you started.\n\n### **On Desktop:**\n\nDownload or clone this repository. Open MATLAB, navigate to the folder containing these scripts and double\\-click on [MachineLearningBiosciences.prj](\u003cmatlab: openProject(\"MachineLearningBiosciences.prj\")\u003e) . It will add the appropriate files to your MATLAB path and open an app that asks you where you would like to start. \n\n\nEnsure you have all the required products ([listed below](#H_E850B4FF)) installed. If you need to include a product, add it using the Add\\-On Explorer. To install an add\\-on, go to the **Home** tab and select  \u003cimg src=\"Images/AddOnsIcon.png\" width=\"16\" alt=\"AddOnsIcon.png\"\u003e **Add-Ons** \u003e **Get Add-Ons**. \n\n\u003ca id=\"H_E850B4FF\"\u003e\u003c/a\u003e\n\n## Products\n\nMATLAB® is used throughout. Tools from the the [Statistics and Machine Learning Toolbox](https://www.mathworks.com/products/statistics.html)™ , [Deep Learning Toolbox](https://www.mathworks.com/help/deeplearning/index.html?searchHighlight=deeplearningtoolbox\u0026s_tid=srchtitle_support_results_1_deeplearningtoolbox)™ are used frequently as well.\n\n-  MATLAB® \n-  Deep Learning Toolbox™ \n-  Statistics and Machine Learning Toolbox™ \n\u003ca id=\"H_577C7603\"\u003e\u003c/a\u003e\n\n# Scripts\n\u003ca id=\"TMP_3070\"\u003e\u003c/a\u003e\n\n## [**An Overview of Machine Learning for Science and Engineering**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/biosciences-machine-learning\u0026project=MachineLearningBiosciences.prj\u0026file=Scripts/IntrotoMachineLearning.mlx) \n||||\n| :-- | :-- | :-- |\n| \u003cimg src=\"Images/image_3.png\" width=\"171\" alt=\"image_3.png\"\u003e \u003cbr\u003e  | **In this script, students will...** \u003cbr\u003e $\\bullet$ explain the primary goal of machine learning. \u003cbr\u003e $\\bullet$ distinguish between supervised and unsupervised learning. \u003cbr\u003e $\\bullet$ describe the key steps in a typical machine learning workflow. \u003cbr\u003e  | **Academic disciplines** \u003cbr\u003e $\\bullet$ Biosciences \u003cbr\u003e $\\bullet$ Biology \u003cbr\u003e $\\bullet$ AI | Machine Learning \u003cbr\u003e $\\bullet$ Engineering \u003cbr\u003e   |\n\n\u003ca id=\"TMP_41f4\"\u003e\u003c/a\u003e\n\n## [**Unsupervised Learning**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/biosciences-machine-learning\u0026project=MachineLearningBiosciences.prj\u0026file=Scripts/UnsupervisedLearning.mlx) \n||||\n| :-- | :-- | :-- |\n| \u003cimg src=\"Images/image_4.png\" width=\"141\" alt=\"image_4.png\"\u003e \u003cbr\u003e  | **In this script, students will...** \u003cbr\u003e $\\bullet$ apply Principal Component Analysis (PCA) to reduce dimensions of biosciences data. \u003cbr\u003e $\\bullet$ use k\\-means clustering to identify natural groupings in unlabeled data.  \u003cbr\u003e $\\bullet$ evaluate clustering performance using confusion matrices.  \u003cbr\u003e  | **Academic disciplines** \u003cbr\u003e $\\bullet$ Biosciences \u003cbr\u003e $\\bullet$ Biology \u003cbr\u003e $\\bullet$ AI | Machine Learning \u003cbr\u003e   |\n\n\u003ca id=\"TMP_1fde\"\u003e\u003c/a\u003e\n\n## [**Supervised Learning: Classification**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/biosciences-machine-learning\u0026project=MachineLearningBiosciences.prj\u0026file=Scripts/SupervisedLearningClassification.mlx) \n||||\n| :-- | :-- | :-- |\n| \u003cimg src=\"Images/image_5.png\" width=\"171\" alt=\"image_5.png\"\u003e \u003cbr\u003e  | **In this script, students will...** \u003cbr\u003e $\\bullet$ train and evaluate models to classify disease using supervised learning. \u003cbr\u003e $\\bullet$ assess model performance with accuracy, confusion matrices, and ROC curves. \u003cbr\u003e $\\bullet$ improve accuracy using feature selection, PCA, and cost weighting. \u003cbr\u003e  | **Academic disciplines** \u003cbr\u003e $\\bullet$ Biosciences \u003cbr\u003e $\\bullet$ Biology \u003cbr\u003e $\\bullet$ AI | Machine Learning \u003cbr\u003e   |\n\n\u003ca id=\"TMP_245a\"\u003e\u003c/a\u003e\n\n## [**Supervised Learning: Regression**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/biosciences-machine-learning\u0026project=MachineLearningBiosciences.prj\u0026file=Scripts/SupervisedLearningRegression.mlx) \n||||\n| :-- | :-- | :-- |\n| \u003cimg src=\"Images/image_6.png\" width=\"171\" alt=\"image_6.png\"\u003e \u003cbr\u003e  | **In this script, students will...** \u003cbr\u003e $\\bullet$ use supervised learning to train and evaluate regression models that predict mollusk age. \u003cbr\u003e $\\bullet$ evaluate and compare models using statistical performance metrics such as accuracy, confusion matrices, and RMSE. \u003cbr\u003e $\\bullet$ apply machine learning in biosciences. \u003cbr\u003e  | **Academic disciplines** \u003cbr\u003e $\\bullet$ Biosciences \u003cbr\u003e $\\bullet$ AI | Machine Learning \u003cbr\u003e   |\n\n\u003ca id=\"TMP_18d1\"\u003e\u003c/a\u003e\n\n## [**Unsupervised Learning Problem Set**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/biosciences-machine-learning\u0026project=MachineLearningBiosciences.prj\u0026file=Scripts/UnsupervisedLearningPS.mlx) \n||||\n| :-- | :-- | :-- |\n| \u003cimg src=\"Images/image_7.png\" width=\"171\" alt=\"image_7.png\"\u003e \u003cbr\u003e  | **In this script, students will...** \u003cbr\u003e $\\bullet$ apply unsupervised learning to a cancer cell dataset. \u003cbr\u003e  | **Academic disciplines** \u003cbr\u003e $\\bullet$ Biosciences \u003cbr\u003e $\\bullet$ Biology \u003cbr\u003e $\\bullet$ AI | Machine Learning \u003cbr\u003e   |\n\n\u003ca id=\"H_F61733D7\"\u003e\u003c/a\u003e\n\n# License\n\nThe license for this module is available in the [LICENSE.md](./LICENSE.md).\n\n# Related Courseware Modules\n\u003ca id=\"H_868F5748\"\u003e\u003c/a\u003e\n\n## [Machine Learning Methods: Clustering](https://www.mathworks.com/matlabcentral/fileexchange/135381-machine-learning-methods-clustering) \n|||\n| :-- | :-- |\n| \u003cimg src=\"Images/image_8.png\" width=\"161\" alt=\"image_8.png\"\u003e \u003cbr\u003e  | **Available on:** \u003cbr\u003e [\u003cimg src=\"Images/OpenInFX.png\" width=\"91\" alt=\"OpenInFX.png\"\u003e](https://github.com/MathWorks-Teaching-Resources/Machine-Learning-Methods-Clustering)  \u003cbr\u003e [\u003cimg src=\"Images/OpenInMO.png\" width=\"136\" alt=\"OpenInMO.png\"\u003e](https://matlab.mathworks.com/open/fileexchange/v1?id=135381\u0026project=MLMethodsClustering.prj)  \u003cbr\u003e [GitHub](https://github.com/MathWorks-Teaching-Resources/Machine-Learning-Methods-Clustering)  \u003cbr\u003e   |\n\n\nOr feel free to explore our other [modular courseware content](https://www.mathworks.com/matlabcentral/fileexchange/?q=tag%3A%22courseware+module%22\u0026sort=downloads_desc_30d).\n\n# Educator Resources\n-  [Educator Page](https://www.mathworks.com/academia/educators.html) \n\u003ca id=\"H_0FA5DA18\"\u003e\u003c/a\u003e\n\n# Contribute \n\nLooking for more? Find an issue? Have a suggestion? Please contact the [MathWorks teaching resources team](mailto:%20onlineteaching@mathworks.com). If you want to contribute directly to this project, you can find information about how to do so in the [CONTRIBUTING.md](./CONTRIBUTING.md) page on GitHub.\n\n\n *©* Copyright 2025 The MathWorks, Inc\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathworks-teaching-resources%2Fbiosciences-machine-learning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathworks-teaching-resources%2Fbiosciences-machine-learning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathworks-teaching-resources%2Fbiosciences-machine-learning/lists"}