Add example demos to README.md

This commit is contained in:
Palash Tyagi 2025-07-26 18:38:53 +01:00
parent d0f9e80dfc
commit 1192a78955

View File

@ -192,6 +192,24 @@ E.g. to run the `game_of_life` example:
cargo run --example game_of_life cargo run --example game_of_life
``` ```
More demos:
```bash
cargo run --example linear_regression
cargo run --example logistic_regression
cargo run --example k_means
cargo run --example pca
```
To simply list all available examples, you can run:
```bash
# this technically raises an error, but it will list all examples
cargo run --example
```
Each demo runs a couple of mini-scenarios showcasing the APIs.
### Running benchmarks ### Running benchmarks
To run the benchmarks, use: To run the benchmarks, use: