ruthril 0.1.2

A powerful AI/ML framework is under development
Documentation
# Ruthril Framework(BETA)

A powerful AI/ML framework for Rust is under development...

## 🚀 Features

- 📊 **Statistical Analysis** - Mean, variance, standard deviation calculations
- 🛠️ **CLI Tools** - Project scaffolding and management


## 📦 Installation

Add to your `Cargo.toml`:

```toml
[dependencies]
ruthril = "0.1.1"
```

## 🏃‍♂️ Quick Start

### Using Statistics

```rust
use ruthril::Statistics;

fn main() {
    let data = vec![1.0, 2.0, 3.0, 4.0, 5.0];
    
    // Calculate mean
    if let Some(mean) = Statistics::mean(&data) {
        println!("Mean: {}", mean);  // Output: Mean: 3
    }
    
    // Calculate standard deviation
    if let Some(std_dev) = Statistics::std_deviation(&data) {
        println!("Standard Deviation: {}", std_dev);
    }
    
    // Calculate variance
    if let Some(variance) = Statistics::variance(&data) {
        println!("Variance: {}", variance);
    }
}
```

### Creating New Projects

Install the CLI tool:

```bash
cargo install ruthril
```

Create a new AI project:

```bash
ruthril new-project my_ai_project
cd my_ai_project
cargo run
```

## 📚 API Reference

### Statistics Module

- `Statistics::mean(&[f64]) -> Option<f64>` - Calculate arithmetic mean
- `Statistics::variance(&[f64]) -> Option<f64>` - Calculate sample variance  
- `Statistics::std_deviation(&[f64]) -> Option<f64>` - Calculate standard deviation

## 🛠️ Development

```bash
git clone https://github.com/Ruthril/ruthril.git
cd ruthril
cargo build
cargo test
```


## 📄 License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.