{"id":15723170,"url":"https://github.com/robmarkcole/classificationbox_python","last_synced_at":"2025-05-13T03:59:24.603Z","repository":{"id":85843933,"uuid":"135152749","full_name":"robmarkcole/classificationbox_python","owner":"robmarkcole","description":"Python script for teaching Classificationbox image classes","archived":false,"fork":false,"pushed_at":"2019-04-01T16:15:59.000Z","size":1141,"stargazers_count":2,"open_issues_count":4,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-13T03:59:21.268Z","etag":null,"topics":["machinebox"],"latest_commit_sha":null,"homepage":"https://blog.machinebox.io/how-anyone-can-build-a-machine-learning-image-classifier-from-photos-on-your-hard-drive-very-5c20c6f2764f","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robmarkcole.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":"2018-05-28T11:36:54.000Z","updated_at":"2019-04-01T16:13:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"cbe2cc40-1117-4818-823d-c03d775414ca","html_url":"https://github.com/robmarkcole/classificationbox_python","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/robmarkcole%2Fclassificationbox_python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Fclassificationbox_python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Fclassificationbox_python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Fclassificationbox_python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robmarkcole","download_url":"https://codeload.github.com/robmarkcole/classificationbox_python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253870859,"owners_count":21976612,"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":["machinebox"],"created_at":"2024-10-03T22:10:32.954Z","updated_at":"2025-05-13T03:59:24.581Z","avatar_url":"https://github.com/robmarkcole.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"Script to teach classificationbox image classes as described in\nhttps://blog.machinebox.io/how-anyone-can-build-a-machine-learning-image-classifier-from-photos-on-your-hard-drive-very-5c20c6f2764f\n\nThis script is therefore a python implementation of\nhttps://github.com/machinebox/toys/blob/master/imgclass/main.go\n\nFirst create a model using CURL:\n```CURL\n$ curl -XPOST --header \"Content-Type: application/json\" --header \"Accept: application/json\"  http://localhost:8080/classificationbox/models --data '{\n    \"id\": \"sentiment1\",\n    \"name\": \"sentimentModel\",\n    \"options\": {\n        \"ngrams\": 1,\n        \"skipgrams\": 1\n    },\n    \"classes\": [\n        \"class1\",\n        \"class2\",\n        \"class3\"\n    ]\n}\n```\nYou can check what models you have available:\n```CURL\ncurl -XPOST --header \"Content-Type: application/json\" --header \"Accept: application/json\"  http://localhost:8080/classificationbox/models\n```\n\nThen run the script `teach_classificationbox.py` from within the root folder containing the folders of images.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobmarkcole%2Fclassificationbox_python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobmarkcole%2Fclassificationbox_python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobmarkcole%2Fclassificationbox_python/lists"}