{"id":17976480,"url":"https://github.com/rupav/fitbit","last_synced_at":"2026-04-29T14:37:08.814Z","repository":{"id":252335092,"uuid":"94435922","full_name":"rupav/FITBIT","owner":"rupav","description":"My Machine Learning First Project on Github","archived":false,"fork":false,"pushed_at":"2017-06-15T12:32:27.000Z","size":2971,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-01T00:03:44.378Z","etag":null,"topics":["beginner","decision-tree-classifier","random-forest-classifier","sklearn"],"latest_commit_sha":null,"homepage":"","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/rupav.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-06-15T12:10:43.000Z","updated_at":"2017-07-27T03:57:31.000Z","dependencies_parsed_at":"2024-08-09T04:35:02.208Z","dependency_job_id":"8249e338-4378-4604-954c-4dfcff2e9f1a","html_url":"https://github.com/rupav/FITBIT","commit_stats":null,"previous_names":["rupav/fitbit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rupav/FITBIT","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rupav%2FFITBIT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rupav%2FFITBIT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rupav%2FFITBIT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rupav%2FFITBIT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rupav","download_url":"https://codeload.github.com/rupav/FITBIT/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rupav%2FFITBIT/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32429342,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["beginner","decision-tree-classifier","random-forest-classifier","sklearn"],"created_at":"2024-10-29T17:24:01.012Z","updated_at":"2026-04-29T14:37:08.798Z","avatar_url":"https://github.com/rupav.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FITBIT\nThe goal of this project is to use data from various accelerometers to tell if they perform barbell lifts correctly or incorrectly (5 different ways).\n\n\ngiven dataset is in a csv file, so made into a data frame using pandas.read_csv(' ')\ndf.shape is found to be (19622,159)\nout of 100 features have araound 19000 values missing i.e. nan, so they are dropped using df.dropna(axis = 1,inplace = True)\n'username' and 'unnamed: 0' columns too were dropped because of their insignificance in testing data\nnext we have used df.describe(include=['O']) for object type data only 3 columns came out of object type, 'classe','new_window' and 'cvtd_timestamp' .\nclasse is mapped to int type using preprocessing.LabelEncode().fit_transform \nfinal shape after cleaning data is (19622, 53)\nRandomForestClassifier under sklearn.ensemble and DecisionTreeClassifier under sklearn.tree were imported for tranforming dataa into a graph\nfor score, k-fold cross-validation is udes, with k/cv = 10 for both classifiers\n\n\nConclusion: RandomForestClassifier was found better than DecisionTreeClassifier.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frupav%2Ffitbit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frupav%2Ffitbit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frupav%2Ffitbit/lists"}