pip install poetry
poetry shell
poetry install --no-root
For example, running
poetry run python3 some_code_1.py
will print some metrics describing models learned on avito estate dataset (file aparts.csv).
You can use linting and formatting tools to check and improve your code.
For example, black --check --diff file_name.py
will show you the difference between your code and the code that black formatter would produce.
You can also use black file_name.py
to format your code. The same applies to isort
formatter.