{"id":19006177,"url":"https://github.com/atothey/mltutorial","last_synced_at":"2025-04-22T19:05:49.967Z","repository":{"id":124236155,"uuid":"84278730","full_name":"AtotheY/MLTutorial","owner":"AtotheY","description":"Made for the IEEE Ryerson Machine Learning Tutorial for Beginners ","archived":false,"fork":false,"pushed_at":"2017-03-08T23:34:15.000Z","size":337,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-17T11:58:47.936Z","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/AtotheY.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":"2017-03-08T04:35:30.000Z","updated_at":"2024-05-14T19:12:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3600f4d-42e6-4df1-95ab-c2e3ea487637","html_url":"https://github.com/AtotheY/MLTutorial","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/AtotheY%2FMLTutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AtotheY%2FMLTutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AtotheY%2FMLTutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AtotheY%2FMLTutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AtotheY","download_url":"https://codeload.github.com/AtotheY/MLTutorial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250306632,"owners_count":21408926,"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":"2024-11-08T18:30:54.347Z","updated_at":"2025-04-22T19:05:49.939Z","avatar_url":"https://github.com/AtotheY.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MLTutorial\nMade for the IEEE Ryerson Machine Learning Tutorial for Beginners \nhttps://docs.google.com/presentation/d/1QcgoomUi-vGVbkRTQncp55VtrM-YBvYZFHgQ1XZk76I/edit?usp=sharing\n\n\n\n\n\n```\nimport matplotlib.pyplot as plt\nimport pandas as pd\nimport numpy as np\nfrom sklearn import datasets, linear_model\nheight = pd.read_csv('data.csv', usecols = [0])\nweight = pd.read_csv('data.csv', usecols = [1])\nx = np.squeeze(np.array(height))\ny = np.squeeze(np.array(weight))\nx_training_data = x[:-200].reshape(1800,1)\nx_test_data = x[-200:].reshape(200,1)\ny_training_data = y[:-200]\ny_test_data = y[-200:]\nregr = linear_model.LinearRegression()\nregr.fit(x_training_data, y_training_data)\nplt.scatter(x_test_data, y_test_data,  color='black')\nplt.plot(x_test_data, regr.predict(x_test_data), color='red',\n         linewidth=3)\nplt.xticks(())\nplt.yticks(())\nplt.show()\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatothey%2Fmltutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatothey%2Fmltutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatothey%2Fmltutorial/lists"}