Spaces:
Sleeping
Sleeping
Update core/model_runner.py
Browse files- 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
|
| 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,
|