- Made `date_column` a required field in `TrainModelParams`, ensuring it must be present in the input data. - Updated related documentation in `input-sample.md`, `README.md`, and various test scenarios to reflect the change in requirement. - Adjusted the handling of `date_format` to default to `yyyy-MM-dd HH:mm:ss` if omitted, enhancing usability. - Refined test scenarios to include new examples and ensure compliance with the updated parameter structure. These changes improve the robustness of the model training workflow and clarify the expectations for input data.
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"_description": "Alternate date column (DATA) and dd/MM/yyyy HH:mm:ss format; uses MinIO object training_data_dd_mm_yyyy.csv from E2E fixtures.",
|
|
"experiment_run_id": 1012,
|
|
"variable_columns": [
|
|
"303-WIT-230(Value)"
|
|
],
|
|
"target_variable": "03CV022/CORRENTE_N_M1_PV(Value)",
|
|
"bucket_name": "model-training",
|
|
"file_name": "training_data_dd_mm_yyyy.csv",
|
|
"line_separator": ",",
|
|
"decimal_separator": ".",
|
|
"date_column": "DATA",
|
|
"date_format": "dd/MM/yyyy HH:mm:ss",
|
|
"train_size": 80,
|
|
"shuffle": true,
|
|
"random_state": 42,
|
|
"model_name": "Linear Regression",
|
|
"model_type": "linear_regression",
|
|
"data_model_kwargs": {
|
|
"lag_train": {
|
|
"303-WIT-230(Value)": 3
|
|
},
|
|
"lag_val": {
|
|
"303-WIT-230(Value)": 0
|
|
},
|
|
"nan_treatment": "drop",
|
|
"rem_static_win": false,
|
|
"static_threshold": null,
|
|
"start_date": "01/05/2022",
|
|
"end_date": "31/07/2022",
|
|
"support_filters": {},
|
|
"removed_intervals": []
|
|
},
|
|
"model_kwargs": {
|
|
"degree": 1,
|
|
"interaction_only": false,
|
|
"scaler_name": "None"
|
|
},
|
|
"opt_params": {}
|
|
} |