{"id":15700513,"url":"https://github.com/tobybreckon/python-examples-ml","last_synced_at":"2025-05-12T14:13:53.519Z","repository":{"id":152042027,"uuid":"70700060","full_name":"tobybreckon/python-examples-ml","owner":"tobybreckon","description":"Python Machine Learning Examples used for Teaching","archived":false,"fork":false,"pushed_at":"2020-10-22T01:27:06.000Z","size":10801,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-12T14:13:43.164Z","etag":null,"topics":["opencv","python","python-machine-learning"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tobybreckon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-12T12:58:06.000Z","updated_at":"2022-09-22T12:38:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"c749e674-727d-426b-b266-e449c418b87d","html_url":"https://github.com/tobybreckon/python-examples-ml","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobybreckon%2Fpython-examples-ml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobybreckon%2Fpython-examples-ml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobybreckon%2Fpython-examples-ml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobybreckon%2Fpython-examples-ml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tobybreckon","download_url":"https://codeload.github.com/tobybreckon/python-examples-ml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253754220,"owners_count":21958842,"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":["opencv","python","python-machine-learning"],"created_at":"2024-10-03T19:49:17.022Z","updated_at":"2025-05-12T14:13:53.457Z","avatar_url":"https://github.com/tobybreckon.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Machine Learning OpenCV Teaching Examples\n\nOpenCV Python machine learning examples used for teaching within the undergraduate Computer Science programme\nat [Durham University](http://www.durham.ac.uk) (UK) by [Prof. Toby Breckon](https://breckon.org/toby/).\n\nAll tested with [OpenCV](http://www.opencv.org) 3.x and Python 3.x.\n\n---\n\n### Background:\n\nDirectly adapted from the older [C++](https://github.com/tobybreckon/cpp-examples-ml) OpenCV machine learning teaching examples _(that for a long time, due to the absence of other fully worked examples for the OpenCV machine learning components became the de facto reference for the use of these OpenCV routines)_\n\nAll dataset examples are taken and reproduced from the [UCI Machine Learning Repository](http://archive.ics.uci.edu/ml/).\n\nA related set of [Python Image Processing OpenCV Teaching Examples](https://github.com/tobybreckon/python-examples-ip.git) are also available covering basic image processing operations and similarly a set of [Python Computer Vision OpenCV Teaching Examples](https://github.com/tobybreckon/python-examples-cv.git)\n\n---\n\n### How to download and run:\n\nDownload each file as needed or to download the entire repository and run each try:\n\n```\ngit clone https://github.com/tobybreckon/python-examples-ml.git\ncd python-examples-ml\ncd \u003csub directory of one of the examples\u003e\npython3 ./\u003cinsert file name of one of the examples\u003e.py\n```\n\n-- which _should_ then produce an output of the results on the dataset inside that example directory.\n\nIn each sub-directory:\n\n+ .py file(s) - code for the examples (several examples per directory in many cases)\n+ .name file - an explanation of the data and its source\n+ .data file - the original and complete set of data (CSV file format)\n+ .train file - the data to be used for training (CSV file format)\n+ .test file - the data to be used for testing (CSV file format)\n+ .xml, .yml - if present, example data files for testing some tools\n\nFor some examples you may need to copy/link the .train/.test files from one of the other directories (it seemed silly to archive them multiple times).\n\nDemo source code is provided _\"as is\"_ to aid learning and understanding of topics on the course and beyond.\n\n---\n\nIf referencing these examples in your own work please use:\n```\n@TechReport{breckon2014,\n  author =       {Breckon, T.P.},\n  title =        {Machine Learning - Course Notes and Materials},\n  institution =  {Durham University},\n  year =         {2014},\n  address =      {Durham, UK},\n}\n```\n---\n\nIf you find any bugs raise an issue (or much better still submit a git pull request with a fix) - toby.breckon@durham.ac.uk\n\n_\"may the source be with you\"_ - anon.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobybreckon%2Fpython-examples-ml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftobybreckon%2Fpython-examples-ml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobybreckon%2Fpython-examples-ml/lists"}