Skip to content

Commit

Permalink
chore: reorganize ai module
Browse files Browse the repository at this point in the history
  • Loading branch information
dancixx committed Oct 1, 2024
1 parent cb8a1c6 commit 5c851ed
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ approx = "0.5.1"
candle-core = "0.7.2"
candle-datasets = "0.7.2"
candle-nn = "0.7.2"
candle-transformers = "0.7.2"
chrono = "0.4.38"
indicatif = "0.17.8"
levenberg-marquardt = "0.14.0"
Expand Down Expand Up @@ -45,6 +46,7 @@ time = { version = "0.3.36", features = [
"parsing",
], optional = true }
tokio-test = "0.4.4"
tracing = "0.1.40"
yahoo_finance_api = { version = "*", git = "https://github.com/dancixx/yahoo_finance_api.git", rev = "476ebdc", optional = true }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/ai.rs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pub mod fou_lstm;
pub mod fou;
4 changes: 4 additions & 0 deletions src/ai/fou.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pub mod fou_lstm_datasets;
pub mod fou_lstm_model_1_d;
pub mod fou_lstm_model_2_d;
pub mod fou_vae;
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use candle_nn::{
};
use polars::prelude::*;

use super::datasets::test_vasicek_1_d;
use super::fou_lstm_datasets::test_vasicek_1_d;

pub struct Model {
is_train: bool,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use candle_nn::{
};
use polars::prelude::*;

use super::datasets::test_vasicek_2_d;
use super::fou_lstm_datasets::test_vasicek_2_d;

pub struct Model {
is_train: bool,
Expand Down
3 changes: 0 additions & 3 deletions src/ai/fou_lstm.rs

This file was deleted.

0 comments on commit 5c851ed

Please sign in to comment.