{"id":21169754,"url":"https://github.com/andreasgrv/mlconf","last_synced_at":"2025-10-04T07:44:12.390Z","repository":{"id":52443019,"uuid":"103463193","full_name":"andreasgrv/mlconf","owner":"andreasgrv","description":"A config module with machine learning in mind","archived":false,"fork":false,"pushed_at":"2024-12-16T14:34:11.000Z","size":38,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T15:04:22.349Z","etag":null,"topics":["argparse","config","machine-learning","reflection","yaml"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andreasgrv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-13T23:49:12.000Z","updated_at":"2024-12-16T14:34:38.000Z","dependencies_parsed_at":"2022-09-26T17:21:03.926Z","dependency_job_id":null,"html_url":"https://github.com/andreasgrv/mlconf","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasgrv%2Fmlconf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasgrv%2Fmlconf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasgrv%2Fmlconf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasgrv%2Fmlconf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreasgrv","download_url":"https://codeload.github.com/andreasgrv/mlconf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248732483,"owners_count":21152852,"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":["argparse","config","machine-learning","reflection","yaml"],"created_at":"2024-11-20T15:53:37.029Z","updated_at":"2025-10-04T07:44:07.359Z","avatar_url":"https://github.com/andreasgrv.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## [![Build Status](https://api.travis-ci.org/andreasgrv/mlconf.svg?branch=master)](https://travis-ci.org/andreasgrv/mlconf) mlconf \n\nBecause in machine learning, sensible defaults don't last long. Especially when choosing hyperparameters:\n\n![Image of scrat holding up finger to sense the direction of the wind](http://grv.unargmaxable.ai/static/images/scrat-air.jpg)\n\u003c!-- scrat loves acorns --\u003e\n\nWhat's more, there are so many hyperparameters that quickly become\nunmanageable as command line options. If you move them all to a config file,\nit's frustrating to have to change the file each time you try something different.\nSo why not enjoy the best of both worlds?\n\n**Dynamic argparse arguments with sensible defaults from a yaml file\nthat can be modified on the fly from the command line.**\n\n### mlconf in a nutshell\n\n* Dynamically set a lot of sane defaults from a [YAML](http://yaml.org) file.\n* Be able to override any number of the defaults from the command line.\n* Make the returned object easily accessible using . notation.\n* Allows for instantiation of classes with reflection using the $classname\nand $module parameters at a later time by using the blueprint's *build()* command.\n\u003c!-- scrat lived in a tree during the ice age --\u003e\n\n### Installation\n\u003e\n\tpip install mlconf\n\n### Example\n\nFor example usage see [my post](https://grv.unargmaxable.ai/posts/mlconf).\n\n### Tests\n\nTests are run using tox. Versions of python tested are Python 3.6+\nTo run the tests, run the following:\n\n\u003e   \n\tgit clone https://github.com/andreasgrv/mlconf\n\tcd mlconf\n\tpip install -r requirements.txt\n\tpip install .\n\ttox\n\n### License\n\n3 clause BSD, see LICENSE.txt file\n\n### Credits\n\nImage is a [neural styled](https://tenso.rs/demos/fast-neural-style)\nportrait of Ice Age celebrity sabre-tooth squirrel, scrat.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreasgrv%2Fmlconf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreasgrv%2Fmlconf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreasgrv%2Fmlconf/lists"}