{"id":19874128,"url":"https://github.com/pythoninthegrass/wine_quality","last_synced_at":"2025-03-01T01:22:50.354Z","repository":{"id":85073823,"uuid":"539774637","full_name":"pythoninthegrass/wine_quality","owner":"pythoninthegrass","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-11T16:59:27.000Z","size":3083,"stargazers_count":0,"open_issues_count":5,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-11T16:50:24.134Z","etag":null,"topics":[],"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/pythoninthegrass.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["pythoninthegrass"]}},"created_at":"2022-09-22T03:02:25.000Z","updated_at":"2022-09-22T05:44:55.000Z","dependencies_parsed_at":"2023-03-08T20:00:50.282Z","dependency_job_id":null,"html_url":"https://github.com/pythoninthegrass/wine_quality","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"pythoninthegrass/python_template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythoninthegrass%2Fwine_quality","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythoninthegrass%2Fwine_quality/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythoninthegrass%2Fwine_quality/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythoninthegrass%2Fwine_quality/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pythoninthegrass","download_url":"https://codeload.github.com/pythoninthegrass/wine_quality/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241301727,"owners_count":19940696,"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":[],"created_at":"2024-11-12T16:21:54.965Z","updated_at":"2025-03-01T01:22:50.338Z","avatar_url":"https://github.com/pythoninthegrass.png","language":"Jupyter Notebook","readme":"# wine_quality\n\n![JupyterLab](img/jupyterlab.png)\n\n## Summary\nUdacity course on data science.\n\n**Table of Contents**\n* [wine_quality](#wine_quality)\n  * [Summary](#summary)\n  * [Setup](#setup)\n  * [Usage](#usage)\n    * [Poetry](#poetry)\n    * [Docker](#docker)\n    * [Both](#both)\n  * [TODO](#todo)\n  * [Further Reading](#further-reading)\n\n## Setup\n* Install\n    * [editorconfig](https://editorconfig.org/)\n    * [asdf](https://asdf-vm.com/guide/getting-started.html#_2-download-asdf)\n    * [poetry](https://python-poetry.org/docs/)\n    * [docker](https://docs.docker.com/compose/install/)\n* Download CSVs from [here](https://archive.ics.uci.edu/ml/machine-learning-databases/wine-quality/)\n  * Move to `csv` directory\n\n## Usage\n### Poetry\n* Install requirements via Poetry: \n    ```bash\n    poetry install\n    poetry run ipython kernel install --name \"python3.10.7\" --user\n    ```\n* Run Jupyter Lab\n    ```bash\n    poetry shell\n    jupyter lab --ip=0.0.0.0 --port=8888 --no-browser\n    ```\n* Quit the server via `ctrl-c` in the terminal\n* Enter `deactivate` to exit the Poetry virtual environment\n\n### Docker\n* Customize the `.env.example` and rename to `.env`\n* General commands\n    ```bash\n    # build image locally\n    docker-compose build --pull --no-cache\n\n    # start container\n    docker-compose up -d\n\n    # stop container\n    docker-compose stop\n\n    # remove container and network\n    docker-compose down\n    ```\n\n### Both\n* Open a browser and navigate to `http://127.0.0.1:8888`\n  * Docker uses the token specified in `.env`\n* Select the \"python3.10.7\" kernel if asked\n* Open `refactor-wine-quality.ipynb` from the left-hand column\n* Run cells by selecting them and pressing `shift-enter`\n\n## TODO\n* Get Jupyter working in [VSCode](https://github.com/microsoft/vscode-jupyter)\n* `Makefile`\n\n## Further Reading\n[Starting JupyterLab](https://jupyterlab.readthedocs.io/en/stable/getting_started/starting.html)\n\n[Jupyter Docker Stacks — Docker Stacks documentation](https://jupyter-docker-stacks.readthedocs.io/en/latest/index.html)\n\n[Dockerizing Jupyter Projects](https://towardsdatascience.com/dockerizing-jupyter-projects-39aad547484a)\n","funding_links":["https://github.com/sponsors/pythoninthegrass"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythoninthegrass%2Fwine_quality","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpythoninthegrass%2Fwine_quality","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythoninthegrass%2Fwine_quality/lists"}