Skip to content

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

ml-playground

Coverage type: ignore python-v3.10 python-v3.11 python-v3.12 python-v3.13

en: What is this?

This is a repository for machine learning playground and sample codes. I want to organize samples for myself because sample codes for machine learning are often of low quality. The repository tracks Python # type: ignore markers with gh-counter.

By doing so, I will ensure that sample codes always function as samples.

Project health

Usage

Install dependencies

Install dependencies with uv.

uv sync

Additional installation

typos

This project uses typos. Please install it according to https://github.com/crate-ci/typos#install

Run poe tasks

Run tests

uv run poe test

Format

uv run poe format

Lint

uv run poe check

Development

This repository uses lefthook to run the same checks as CI locally, so problems surface before they reach CI.

# Install dependencies
uv sync

# Install the Git hooks (once; requires lefthook on your PATH)
lefthook install

Once installed, the hooks run automatically:

  • pre-commit: uv run poe check
  • pre-push: uv run poe check and uv run poe test

You can also run the checks manually:

uv run poe check
uv run poe test

CI still runs the full matrix (see .github/workflows/); the hooks only bring that feedback earlier on your machine.

LICENSE

MIT License

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages