{"id":23293059,"url":"https://github.com/wwtg99/predict_height","last_synced_at":"2026-04-29T10:06:05.222Z","repository":{"id":152679139,"uuid":"112178498","full_name":"wwtg99/predict_height","owner":"wwtg99","description":"Predict height by gender and genotypes using machine learning.","archived":false,"fork":false,"pushed_at":"2017-12-04T08:37:25.000Z","size":72,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-10T07:07:06.682Z","etag":null,"topics":["genotype","height","machine-learning","scikit-learn"],"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/wwtg99.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-11-27T09:54:56.000Z","updated_at":"2021-09-25T11:35:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"9f993933-47ca-4ad5-b79f-00a2865a09ca","html_url":"https://github.com/wwtg99/predict_height","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wwtg99/predict_height","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwtg99%2Fpredict_height","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwtg99%2Fpredict_height/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwtg99%2Fpredict_height/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwtg99%2Fpredict_height/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wwtg99","download_url":"https://codeload.github.com/wwtg99/predict_height/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwtg99%2Fpredict_height/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32420399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["genotype","height","machine-learning","scikit-learn"],"created_at":"2024-12-20T06:13:38.670Z","updated_at":"2026-04-29T10:06:05.216Z","avatar_url":"https://github.com/wwtg99.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Predict Height\n==============\n\nPredict height by gender and genotypes.\n\n# Usage\n\n### Prepare data\n\n#### Training datasets\n\nSpecimen file as below: 5 columns (label, name, gender, height, date of birth, age)\n```\nGW7S0140C01\t张三\tmale\t176\t1954-03-05\t\nGW7S0140C02\t李四\tfemale\t170\t1992-12-28\t26\nGW7S0140C03\t王五\tmale\t175\t1957-10-01\t\n```\n\nGenotype file as below: 4 columns (label, rs, allele1, allele2)\n```\nGW7S0140C01\trs12688220\tT\tT\nGW7S0140C01\trs5912838\tA\tC\nGW7S0140C01\trs137852591\tC\tC\nGW7S0140C01\trs267606617\tA\tA\nGW7S0140C01\trs267606619\tC\tC\n```\n\nParse files\n```\npython parse_inputs.py -s \u003cspecimen_file\u003e -g \u003cgenotype_file\u003e -o \u003coutput_file\u003e -l\n```\n\n#### Predict datasets\n\nGenotype file as below: 3 columns (rs, allele1, allele2)\n```\nrs12688220\tT\tT\nrs5912838\tA\tC\nrs137852591\tC\tC\nrs267606617\tA\tA\nrs267606619\tC\tC\n```\n\nParse file\n```\npython parse_inputs.py -g \u003cgenotype_file\u003e -o \u003coutput_file\u003e --gender=\u003cgender\u003e\n```\n\n### Train and save models\n\nUse train datasets from parsed train datasets above, will train models and save model to models(default) directory.\n```\npython train.py \u003ctain_datesets\u003e\n```\n\n### Predict\n\nUse target datasets from parsed predict datasets above, will output predicted height by model.\n```\npython predict.py \u003ctarget_datasets\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwwtg99%2Fpredict_height","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwwtg99%2Fpredict_height","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwwtg99%2Fpredict_height/lists"}