> For the complete documentation index, see [llms.txt](https://devs.novanet.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devs.novanet.xyz/jolt-atlas-zkml/getting-started/examples.md).

# Examples

The `examples/` directory contains practical demonstrations of zkML models:

#### Article Classification

A text classification model that categorizes articles into business, tech, sport, entertainment, and politics.

```bash
cargo run --release --example article_classification
```

This example:

* Tests model accuracy on sample texts
* Generates a SNARK proof for one classification
* Verifies the proof cryptographically

#### Transaction Authorization

A financial transaction authorization model that decides whether to approve or deny transactions based on features like budget, trust score, amount, etc.

```bash
cargo run --release --example authorization
```

This example:

* Tests the model on various transaction scenarios
* Shows authorization decisions with confidence scores
* Generates and verifies a SNARK proof for one transaction
