{"id":25229080,"url":"https://github.com/ajthinking/learning-ai-examples","last_synced_at":"2025-04-05T14:12:44.693Z","repository":{"id":95889651,"uuid":"160350019","full_name":"ajthinking/learning-ai-examples","owner":"ajthinking","description":null,"archived":false,"fork":false,"pushed_at":"2018-12-19T05:11:10.000Z","size":62,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-11T10:47:27.324Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ajthinking.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-12-04T11:54:13.000Z","updated_at":"2018-12-19T07:47:50.000Z","dependencies_parsed_at":"2023-03-13T16:43:37.929Z","dependency_job_id":null,"html_url":"https://github.com/ajthinking/learning-ai-examples","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/ajthinking%2Flearning-ai-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajthinking%2Flearning-ai-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajthinking%2Flearning-ai-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajthinking%2Flearning-ai-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ajthinking","download_url":"https://codeload.github.com/ajthinking/learning-ai-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247345844,"owners_count":20924102,"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":[],"created_at":"2025-02-11T10:47:04.469Z","updated_at":"2025-04-05T14:12:44.687Z","avatar_url":"https://github.com/ajthinking.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :stars: Artificial inteligence with pytorch examples\nThis is my collection of examples. The examples are located in independent folders under ```/src```, and they can be excecuted like this ```python /src/*/main.py```\n\n## :white_check_mark: predict age in days from how many years old\nSuddenly the unknown sibling Jerry (age x) joins your family. What are his number of survived days (y)?\n\n```python /src/age/main.py```\n\n## :white_check_mark: predict pimpmydrawing downloads\nEstimate number of downloads based on publication date and keywords.\n\n```python /src/pimp/main.py```\n\n\n### data\nDrawings extracted from Laravel with the following query\n\n```\ncollect(\n    App\\File::all()-\u003eunique('name')-\u003emap(\n        function($file) {\n            $file = $file-\u003eonly(['name', 'updated_at', 'downloads']);\n            $file[\"updated_at\"] = $file[\"updated_at\"]-\u003etimestamp;\n            return $file;\n        })-\u003eunique('name')-\u003evalues()-\u003eall()\n)-\u003eshuffle()-\u003etoJSON()\n```\nAlso delete id=1 (it got 500K downloads spike.)\n\n#### questions\n* Why does SGD work? The data is not convex, but the algorithm adds stocastic global minimum search?\n* How to properly normalize/unnormalize data?\n* How to setup databases as input source?\n* How swap this example to working on the GPU?\n* General improvements\n\n\n#\n\n* Search terms extracted from google search console\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajthinking%2Flearning-ai-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajthinking%2Flearning-ai-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajthinking%2Flearning-ai-examples/lists"}