aromidvar1355 commited on
Commit
06da974
·
verified ·
1 Parent(s): a114d65

Update core/model_runner.py

Browse files
Files changed (1) hide show
  1. core/model_runner.py +1 -1
core/model_runner.py CHANGED
@@ -1,7 +1,7 @@
1
  from .models import LSTMModel, GRUModel, BiLSTMModel, CNNModel, TransformerModel, HybridModel
2
  from .train_eval import train_and_evaluate
3
 
4
- def run_model(df, model_name, horizon, units, layers, epochs, lr, window_size, test_split):
5
  model_class = {
6
  "LSTM": LSTMModel,
7
  "GRU": GRUModel,
 
1
  from .models import LSTMModel, GRUModel, BiLSTMModel, CNNModel, TransformerModel, HybridModel
2
  from .train_eval import train_and_evaluate
3
 
4
+ def get_model(df, model_name, horizon, units, layers, epochs, lr, window_size, test_split):
5
  model_class = {
6
  "LSTM": LSTMModel,
7
  "GRU": GRUModel,