{"id":15797521,"url":"https://github.com/pavlovdog/haruspex","last_synced_at":"2026-04-12T07:36:41.175Z","repository":{"id":94100809,"uuid":"57415946","full_name":"pavlovdog/haruspex","owner":"pavlovdog","description":"Describing user by his Instagram's page","archived":false,"fork":false,"pushed_at":"2016-05-30T17:02:55.000Z","size":6202,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-12T00:34:14.368Z","etag":null,"topics":["instagram","instagram-api","machine-learning","predictive-analysis","private-api","python","scipy"],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","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/pavlovdog.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":"2016-04-29T22:13:27.000Z","updated_at":"2022-05-27T20:12:11.000Z","dependencies_parsed_at":"2023-04-04T12:46:45.595Z","dependency_job_id":null,"html_url":"https://github.com/pavlovdog/haruspex","commit_stats":{"total_commits":16,"total_committers":3,"mean_commits":5.333333333333333,"dds":0.375,"last_synced_commit":"897580cc3c5d51332e488083ea41c5252259c757"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pavlovdog/haruspex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavlovdog%2Fharuspex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavlovdog%2Fharuspex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavlovdog%2Fharuspex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavlovdog%2Fharuspex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pavlovdog","download_url":"https://codeload.github.com/pavlovdog/haruspex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavlovdog%2Fharuspex/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265319574,"owners_count":23746364,"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":["instagram","instagram-api","machine-learning","predictive-analysis","private-api","python","scipy"],"created_at":"2024-10-05T00:09:27.981Z","updated_at":"2026-04-12T07:36:36.136Z","avatar_url":"https://github.com/pavlovdog.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"==================================================================\nDescribing user by his Instagram page using machine learning\n==================================================================\n\n### Description of repo\n- env_data.py (Set of functions for getting labels and features from MongoDB)\n- plot_data.py (Few functions for plotting, using matplotlib)\n- Haruspex_sex_prediction.ipynb (Jupyter notebook with predictions for user's sex, using 5 main algorithms)\n- Haruspex_age_prediction.ipynb (The same, but for user's age)\n- dump/users (1351 users, will be much more soon)\n\n### Installation\n```bash\ngit clone https://github.com/pavlovdog/haruspex.git\ncd haruspex\npip install -r requirements.txt\nmongorestore --db users dump/users\n```\n\n### Algorithmes:\n- SVM\n- Decision trees\n- Naive Bayes\n- Logistic regression\n- K-nearest neighbours\n\n### Labels\n- Age (+)\n- Sex (+)\n- Interests\n- Attitude to alcohol\n- Attitude to smoking\n- Current relationships\n\n### Features\n- Number of followers (+)\n- Number of followings (+)\n- Number of media (+)\n- Average number of likes (+)\n- Average number of comments (+)\n- Average number of medias per week (+)\n- Average number of mentions\n- Average number of tags\n- List of tags\n- List of followings\n- Average number of smileys in caption (+)\n- Average caption's length (+)\n- Correlation between videos \u0026 photos (+)\n- Frequency of new medias (+)\n- List of filteres\n\n## Helpful articles\nhttp://kukuruku.co/hub/python/introduction-to-machine-learning-with-python-andscikit-learn\n\nhttp://bigdataexaminer.com/uncategorized/how-to-run-linear-regression-in-python-scikit-learn/\n\nhttp://blog.gramant.ru/2012/06/06/f1-measure/\n\nhttps://www.creighton.edu/fileadmin/user/HSL/docs/ref/Searching_-_Recall_Precision.pdf\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpavlovdog%2Fharuspex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpavlovdog%2Fharuspex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpavlovdog%2Fharuspex/lists"}