A new, blazing-fast learning engine for Continuous Time Bayesian Networks. Written in pure Rust. 🦀
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
<div align="center">
|
|
|
|
|
|
|
|
|
|
# rustyCTBN
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
## Library
|
|
|
|
|
|
|
|
|
|
> **Note:** At the moment it's in pre-alpha state.
|
|
|
|
|
|
|
|
|
|
A Continuous Time Bayesian Networks Library written in Rust. 🦀
|
|
|
|
|
|
|
|
|
|
### From Source
|
|
|
|
|
|
|
|
|
|
**Prerequisites:**
|
|
|
|
|
|
|
|
|
|
+ `rust`
|
|
|
|
|
|
|
|
|
|
**Install:**
|
|
|
|
|
|
|
|
|
|
At the _root_ of the project's folder launch:
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
cargo install --locked --path .
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Uninstall:**
|
|
|
|
|
|
|
|
|
|
Anywhere in the system launch:
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
cargo uninstall rustyCTBN
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**Upgrade:**
|
|
|
|
|
|
|
|
|
|
At the _root_ of the project's folder launch:
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
cargo install --force --locked --path .
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Develop
|
|
|
|
|
|
|
|
|
|
**Prerequisites:**
|
|
|
|
|
|
|
|
|
|
+ `rust`
|
|
|
|
|
|
|
|
|
|
_Prepare_ the development environment:
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
cargo build
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
That's all! ☕️
|
|
|
|
|
|
|
|
|
|
## Testing & Linting
|
|
|
|
|
|
|
|
|
|
To launch **tests**:
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
cargo test --locked
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
To **lint**:
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
cargo check --locked
|
|
|
|
|
```
|