Skip to content

yhlhhhhh/predict_y_haplogroup

Repository files navigation

predict_y_haplogroup

English

introduction


train.py is a script, which can train model. predict.py is a script, which can predict your Y haplogroup. database.csv is a csv file where you can add Y STR data. predict_y_haplogroup is a folder, which contains models and the model prediction reports.

Tips


modules: sklearn joblib pandas Please enter this command:

pip install module name

Predict your Y haplogroup


Openpredict.py. Enter your Y STR data into cmd. ATTENTION: Please enter them in order.

Provide your data for this project


Use pull request to fill in the data according to locus names on the database header.

Model training


In principle, model training is done by me. If you really want to, please use database.csv to train model.

Provide better algorithms or fix bugs


ATTENTION: Make sure the code follows the style of the original code and that you have debugged it.

Thank you for your support !

中文

介绍


train.py是一个脚本,它可以训练模型。 predict.py是一个脚本,它可以预测你的Y单倍群。 database.csv是一个csv文件,您可以在其中添加Y STR数据。 predict_y_haplogroup是一个文件夹,其中包含模型和模型预测报告。

Tips:


用到的模块:sklearn joblib pandas 使用这个命令以下载以上模块:

pip install 模块名

预测你的Y单倍群


打开predict.py. 在终端或cmd中输入你的Y STR数据。 ATTENTION: 请按顺序输入

提供你的数据


根据数据库表头的基因座名称,使用pull request来将你的数据填入。

模型训练


原则上,模型的训练由我进行。如果真的想要训练的话请使用database.csv的数据进行训练。

提供更好的算法或修bug


ATTENTION: 确保你的代码follow原来代码的风格并且已经debug过。

感谢大家的支持!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published