diff --git a/next-env.d.ts b/next-env.d.ts index c4b7818..9edff1c 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,6 +1,6 @@ /// /// -import "./.next/dev/types/routes.d.ts"; +import "./.next/types/routes.d.ts"; // NOTE: This file should not be edited // see https://nextjs.org/docs/app/api-reference/config/typescript for more information. diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/artifacts/classification_report.txt b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/artifacts/classification_report.txt new file mode 100644 index 0000000..fc5a394 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/artifacts/classification_report.txt @@ -0,0 +1,8 @@ + precision recall f1-score support + +Bearish Engulfing 0.8065 1.0000 0.8929 25 +Bullish Engulfing 1.0000 0.8125 0.8966 32 + + accuracy 0.8947 57 + macro avg 0.9032 0.9062 0.8947 57 + weighted avg 0.9151 0.8947 0.8949 57 diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/artifacts/confusion_matrix.png/tmpnpcgx3y_.png b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/artifacts/confusion_matrix.png/tmpnpcgx3y_.png new file mode 100644 index 0000000..b5e98f3 Binary files /dev/null and b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/artifacts/confusion_matrix.png/tmpnpcgx3y_.png differ diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/artifacts/feature_importance.png/tmpbdk5av3h.png b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/artifacts/feature_importance.png/tmpbdk5av3h.png new file mode 100644 index 0000000..7340814 Binary files /dev/null and b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/artifacts/feature_importance.png/tmpbdk5av3h.png differ diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/artifacts/pipeline_config.yaml b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/artifacts/pipeline_config.yaml new file mode 100644 index 0000000..3575af3 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/artifacts/pipeline_config.yaml @@ -0,0 +1,97 @@ +data: + annotations_path: data/annotations/export.json + enriched_path: data/enriched/features.csv + labeled_path: data/labeled/dataset.csv + raw_path: data/raw/OHLCV.csv +stages: + annotation_ingestion: + context_padding: 20 + enabled: true + label_encoding: window + merge_strategy: human_priority + min_confidence: 1 + programmatic_labels: + enabled: true + talib_patterns: + - CDLENGULFING + - CDLHAMMER + - CDLINVERTEDHAMMER + - CDLSHOOTINGSTAR + - CDLDOJI + - CDLDOJISTAR + - CDLMORNINGSTAR + - CDLEVENINGSTAR + - CDLHARAMI + - CDLPIERCING + - CDLDARKCLOUDCOVER + - CDL3WHITESOLDIERS + - CDL3BLACKCROWS + window_size: 30 + feature_engineering: + candle_features: true + custom_features: [] + enabled: true + talib_indicators: + - name: RSI + params: + timeperiod: 14 + - name: EMA + params: + timeperiod: 20 + - name: EMA + params: + timeperiod: 50 + - name: MACD + params: + fastperiod: 12 + signalperiod: 9 + slowperiod: 26 + - name: BBANDS + params: + nbdevdn: 2 + nbdevup: 2 + timeperiod: 20 + - name: ATR + params: + timeperiod: 14 + - name: ADX + params: + timeperiod: 14 + - name: CCI + params: + timeperiod: 14 + - name: MFI + params: + timeperiod: 14 + - name: STOCH + params: + fastk_period: 14 + slowd_period: 3 + slowk_period: 3 + inference: + batch_size: 1000 + enabled: true + local_model_path: models/best_model.pkl + mlflow_model_name: candlestick_pattern_v1 + mlflow_model_stage: Production + model_source: local + use_training_config: true + training: + class_weights: balanced + enabled: true + hyperparameters: + max_depth: 15 + min_samples_leaf: 2 + min_samples_split: 5 + n_estimators: 200 + n_jobs: -1 + random_state: 42 + mlflow: + experiment_name: candlestick_patterns + log_artifacts: true + register_model: false + tracking_uri: http://localhost:5000 + model_type: random_forest + split_method: temporal + test_split: 0.2 + validation_split: 0.1 diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/meta.yaml b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/meta.yaml new file mode 100644 index 0000000..fb6697d --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/meta.yaml @@ -0,0 +1,14 @@ +artifact_uri: file:///home/homoludens/projekti/bitcon/candle_annotator/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/artifacts +end_time: 1771187605319 +entry_point_name: '' +experiment_id: '358560345319124639' +lifecycle_stage: active +run_id: 509970efc3e0494ba3c2fbd7dd24d438 +run_name: painted-doe-188 +source_name: '' +source_type: 4 +source_version: '' +start_time: 1771187595858 +status: 3 +tags: [] +user_id: homoludens diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_accuracy b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_accuracy new file mode 100644 index 0000000..3a414b8 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_accuracy @@ -0,0 +1,2 @@ +1771187597069 0.8947368421052632 0 +1771187597069 0.8947368421052632 0 diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_f1_Bearish Engulfing b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_f1_Bearish Engulfing new file mode 100644 index 0000000..75072d8 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_f1_Bearish Engulfing @@ -0,0 +1,2 @@ +1771187597121 0.8928571428571429 0 +1771187597121 0.8928571428571429 0 diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_f1_Bullish Engulfing b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_f1_Bullish Engulfing new file mode 100644 index 0000000..b57258a --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_f1_Bullish Engulfing @@ -0,0 +1,2 @@ +1771187597155 0.896551724137931 0 +1771187597155 0.896551724137931 0 diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_f1_macro b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_f1_macro new file mode 100644 index 0000000..8dea00f --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_f1_macro @@ -0,0 +1,2 @@ +1771187597081 0.8947044334975369 0 +1771187597081 0.8947044334975369 0 diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_f1_wedge_up b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_f1_wedge_up new file mode 100644 index 0000000..ba55eb6 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_f1_wedge_up @@ -0,0 +1,2 @@ +1771187597191 0.0 0 +1771187597191 0.0 0 diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_f1_weighted b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_f1_weighted new file mode 100644 index 0000000..46033e8 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_f1_weighted @@ -0,0 +1,2 @@ +1771187597090 0.8949312937516204 0 +1771187597090 0.8949312937516204 0 diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_precision_Bearish Engulfing b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_precision_Bearish Engulfing new file mode 100644 index 0000000..32229c6 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_precision_Bearish Engulfing @@ -0,0 +1,2 @@ +1771187597104 0.8064516129032258 0 +1771187597104 0.8064516129032258 0 diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_precision_Bullish Engulfing b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_precision_Bullish Engulfing new file mode 100644 index 0000000..8e3a821 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_precision_Bullish Engulfing @@ -0,0 +1,2 @@ +1771187597133 1.0 0 +1771187597133 1.0 0 diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_precision_wedge_up b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_precision_wedge_up new file mode 100644 index 0000000..34cd07a --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_precision_wedge_up @@ -0,0 +1,2 @@ +1771187597166 0.0 0 +1771187597166 0.0 0 diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_recall_Bearish Engulfing b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_recall_Bearish Engulfing new file mode 100644 index 0000000..f5cf405 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_recall_Bearish Engulfing @@ -0,0 +1,2 @@ +1771187597113 1.0 0 +1771187597113 1.0 0 diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_recall_Bullish Engulfing b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_recall_Bullish Engulfing new file mode 100644 index 0000000..e15d4ec --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_recall_Bullish Engulfing @@ -0,0 +1,2 @@ +1771187597145 0.8125 0 +1771187597145 0.8125 0 diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_recall_wedge_up b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_recall_wedge_up new file mode 100644 index 0000000..8898264 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/test_recall_wedge_up @@ -0,0 +1,2 @@ +1771187597176 0.0 0 +1771187597176 0.0 0 diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/val_accuracy b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/val_accuracy new file mode 100644 index 0000000..448554e --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/val_accuracy @@ -0,0 +1,2 @@ +1771187596947 1.0 0 +1771187596947 1.0 0 diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/val_f1_macro b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/val_f1_macro new file mode 100644 index 0000000..a76353d --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/val_f1_macro @@ -0,0 +1,2 @@ +1771187596958 1.0 0 +1771187596958 1.0 0 diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/val_f1_weighted b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/val_f1_weighted new file mode 100644 index 0000000..4244000 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/metrics/val_f1_weighted @@ -0,0 +1,2 @@ +1771187596967 1.0 0 +1771187596967 1.0 0 diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/outputs/m-cf12ffc008e047e1a37f58efe209422c/meta.yaml b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/outputs/m-cf12ffc008e047e1a37f58efe209422c/meta.yaml new file mode 100644 index 0000000..91da5f1 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/outputs/m-cf12ffc008e047e1a37f58efe209422c/meta.yaml @@ -0,0 +1,6 @@ +destination_id: m-cf12ffc008e047e1a37f58efe209422c +destination_type: MODEL_OUTPUT +source_id: m-cf12ffc008e047e1a37f58efe209422c +source_type: RUN_OUTPUT +step: 0 +tags: {} diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/class_weights b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/class_weights new file mode 100644 index 0000000..8ad57f6 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/class_weights @@ -0,0 +1 @@ +balanced \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/max_depth b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/max_depth new file mode 100644 index 0000000..3f10ffe --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/max_depth @@ -0,0 +1 @@ +15 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/min_samples_leaf b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/min_samples_leaf new file mode 100644 index 0000000..d8263ee --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/min_samples_leaf @@ -0,0 +1 @@ +2 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/min_samples_split b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/min_samples_split new file mode 100644 index 0000000..7813681 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/min_samples_split @@ -0,0 +1 @@ +5 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/model_type b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/model_type new file mode 100644 index 0000000..7cd13db --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/model_type @@ -0,0 +1 @@ +random_forest \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/n_classes b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/n_classes new file mode 100644 index 0000000..e440e5c --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/n_classes @@ -0,0 +1 @@ +3 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/n_estimators b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/n_estimators new file mode 100644 index 0000000..ae4ee13 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/n_estimators @@ -0,0 +1 @@ +200 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/n_features b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/n_features new file mode 100644 index 0000000..c940de6 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/n_features @@ -0,0 +1 @@ +2820 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/n_jobs b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/n_jobs new file mode 100644 index 0000000..d7d17fc --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/n_jobs @@ -0,0 +1 @@ +-1 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/n_test_samples b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/n_test_samples new file mode 100644 index 0000000..f0b5c72 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/n_test_samples @@ -0,0 +1 @@ +57 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/n_train_samples b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/n_train_samples new file mode 100644 index 0000000..bea0d09 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/n_train_samples @@ -0,0 +1 @@ +207 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/n_val_samples b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/n_val_samples new file mode 100644 index 0000000..8fdd954 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/n_val_samples @@ -0,0 +1 @@ +22 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/random_state b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/random_state new file mode 100644 index 0000000..f70d7bb --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/random_state @@ -0,0 +1 @@ +42 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/split_method b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/split_method new file mode 100644 index 0000000..c229744 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/split_method @@ -0,0 +1 @@ +temporal \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/test_split b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/test_split new file mode 100644 index 0000000..2f45361 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/test_split @@ -0,0 +1 @@ +0.2 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/train_samples_Bearish Engulfing b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/train_samples_Bearish Engulfing new file mode 100644 index 0000000..5a396e2 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/train_samples_Bearish Engulfing @@ -0,0 +1 @@ +121 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/train_samples_Bullish Engulfing b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/train_samples_Bullish Engulfing new file mode 100644 index 0000000..3ca9062 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/train_samples_Bullish Engulfing @@ -0,0 +1 @@ +84 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/train_samples_wedge_up b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/train_samples_wedge_up new file mode 100644 index 0000000..d8263ee --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/train_samples_wedge_up @@ -0,0 +1 @@ +2 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/validation_split b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/validation_split new file mode 100644 index 0000000..ceab6e1 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/params/validation_split @@ -0,0 +1 @@ +0.1 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/tags/mlflow.runName b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/tags/mlflow.runName new file mode 100644 index 0000000..b92d2f4 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/tags/mlflow.runName @@ -0,0 +1 @@ +painted-doe-188 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/tags/mlflow.source.git.commit b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/tags/mlflow.source.git.commit new file mode 100644 index 0000000..85ee62b --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/tags/mlflow.source.git.commit @@ -0,0 +1 @@ +aa81d4f3d0dcb9c58799d7bf63fd8fe61006bdce \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/tags/mlflow.source.name b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/tags/mlflow.source.name new file mode 100644 index 0000000..f63f773 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/tags/mlflow.source.name @@ -0,0 +1 @@ +pipeline.py \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/tags/mlflow.source.type b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/tags/mlflow.source.type new file mode 100644 index 0000000..0c2c1fe --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/tags/mlflow.source.type @@ -0,0 +1 @@ +LOCAL \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/tags/mlflow.user b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/tags/mlflow.user new file mode 100644 index 0000000..caf9b0f --- /dev/null +++ b/services/ml/mlruns/358560345319124639/509970efc3e0494ba3c2fbd7dd24d438/tags/mlflow.user @@ -0,0 +1 @@ +homoludens \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/artifacts/MLmodel b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/artifacts/MLmodel new file mode 100644 index 0000000..07e28e8 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/artifacts/MLmodel @@ -0,0 +1,23 @@ +artifact_path: file:///home/homoludens/projekti/bitcon/candle_annotator/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/artifacts +flavors: + python_function: + env: + conda: conda.yaml + virtualenv: python_env.yaml + loader_module: mlflow.sklearn + model_path: model.pkl + predict_fn: predict + python_version: 3.13.5 + sklearn: + code: null + pickled_model: model.pkl + serialization_format: cloudpickle + sklearn_version: 1.8.0 + skops_trusted_types: null +mlflow_version: 3.9.0 +model_id: m-cf12ffc008e047e1a37f58efe209422c +model_size_bytes: 793682 +model_uuid: m-cf12ffc008e047e1a37f58efe209422c +prompts: null +run_id: 509970efc3e0494ba3c2fbd7dd24d438 +utc_time_created: '2026-02-15 20:33:18.754593' diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/artifacts/conda.yaml b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/artifacts/conda.yaml new file mode 100644 index 0000000..0f2b0be --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/artifacts/conda.yaml @@ -0,0 +1,15 @@ +channels: +- conda-forge +dependencies: +- python=3.13.5 +- pip +- pip: + - mlflow==3.9.0 + - cloudpickle==3.1.2 + - numpy==2.4.2 + - pandas==2.3.3 + - psutil==7.2.2 + - pyarrow==22.0.0 + - scikit-learn==1.8.0 + - scipy==1.17.0 +name: mlflow-env diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/artifacts/model.pkl b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/artifacts/model.pkl new file mode 100644 index 0000000..0ad92cb Binary files /dev/null and b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/artifacts/model.pkl differ diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/artifacts/python_env.yaml b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/artifacts/python_env.yaml new file mode 100644 index 0000000..2633ab0 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/artifacts/python_env.yaml @@ -0,0 +1,7 @@ +python: 3.13.5 +build_dependencies: +- pip +- setuptools==82.0.0 +- wheel +dependencies: +- -r requirements.txt diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/artifacts/requirements.txt b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/artifacts/requirements.txt new file mode 100644 index 0000000..b781713 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/artifacts/requirements.txt @@ -0,0 +1,8 @@ +mlflow==3.9.0 +cloudpickle==3.1.2 +numpy==2.4.2 +pandas==2.3.3 +psutil==7.2.2 +pyarrow==22.0.0 +scikit-learn==1.8.0 +scipy==1.17.0 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/meta.yaml b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/meta.yaml new file mode 100644 index 0000000..ec1c9c7 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/meta.yaml @@ -0,0 +1,10 @@ +artifact_location: file:///home/homoludens/projekti/bitcon/candle_annotator/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/artifacts +creation_timestamp: 1771187598541 +experiment_id: '358560345319124639' +last_updated_timestamp: 1771187605161 +model_id: m-cf12ffc008e047e1a37f58efe209422c +model_type: '' +name: model +source_run_id: 509970efc3e0494ba3c2fbd7dd24d438 +status: 2 +status_message: null diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_accuracy b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_accuracy new file mode 100644 index 0000000..d5d17cc --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_accuracy @@ -0,0 +1 @@ +1771187597069 0.8947368421052632 0 509970efc3e0494ba3c2fbd7dd24d438 diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_f1_Bearish Engulfing b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_f1_Bearish Engulfing new file mode 100644 index 0000000..cd87718 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_f1_Bearish Engulfing @@ -0,0 +1 @@ +1771187597121 0.8928571428571429 0 509970efc3e0494ba3c2fbd7dd24d438 diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_f1_Bullish Engulfing b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_f1_Bullish Engulfing new file mode 100644 index 0000000..35b9764 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_f1_Bullish Engulfing @@ -0,0 +1 @@ +1771187597155 0.896551724137931 0 509970efc3e0494ba3c2fbd7dd24d438 diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_f1_macro b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_f1_macro new file mode 100644 index 0000000..5e1a606 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_f1_macro @@ -0,0 +1 @@ +1771187597081 0.8947044334975369 0 509970efc3e0494ba3c2fbd7dd24d438 diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_f1_wedge_up b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_f1_wedge_up new file mode 100644 index 0000000..0a93eb1 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_f1_wedge_up @@ -0,0 +1 @@ +1771187597191 0.0 0 509970efc3e0494ba3c2fbd7dd24d438 diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_f1_weighted b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_f1_weighted new file mode 100644 index 0000000..c1bf267 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_f1_weighted @@ -0,0 +1 @@ +1771187597090 0.8949312937516204 0 509970efc3e0494ba3c2fbd7dd24d438 diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_precision_Bearish Engulfing b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_precision_Bearish Engulfing new file mode 100644 index 0000000..c7a74bb --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_precision_Bearish Engulfing @@ -0,0 +1 @@ +1771187597104 0.8064516129032258 0 509970efc3e0494ba3c2fbd7dd24d438 diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_precision_Bullish Engulfing b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_precision_Bullish Engulfing new file mode 100644 index 0000000..496172f --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_precision_Bullish Engulfing @@ -0,0 +1 @@ +1771187597133 1.0 0 509970efc3e0494ba3c2fbd7dd24d438 diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_precision_wedge_up b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_precision_wedge_up new file mode 100644 index 0000000..f43bc4e --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_precision_wedge_up @@ -0,0 +1 @@ +1771187597166 0.0 0 509970efc3e0494ba3c2fbd7dd24d438 diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_recall_Bearish Engulfing b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_recall_Bearish Engulfing new file mode 100644 index 0000000..40518ff --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_recall_Bearish Engulfing @@ -0,0 +1 @@ +1771187597113 1.0 0 509970efc3e0494ba3c2fbd7dd24d438 diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_recall_Bullish Engulfing b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_recall_Bullish Engulfing new file mode 100644 index 0000000..842c600 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_recall_Bullish Engulfing @@ -0,0 +1 @@ +1771187597145 0.8125 0 509970efc3e0494ba3c2fbd7dd24d438 diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_recall_wedge_up b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_recall_wedge_up new file mode 100644 index 0000000..357a41e --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/test_recall_wedge_up @@ -0,0 +1 @@ +1771187597176 0.0 0 509970efc3e0494ba3c2fbd7dd24d438 diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/val_accuracy b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/val_accuracy new file mode 100644 index 0000000..22bc910 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/val_accuracy @@ -0,0 +1 @@ +1771187596947 1.0 0 509970efc3e0494ba3c2fbd7dd24d438 diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/val_f1_macro b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/val_f1_macro new file mode 100644 index 0000000..57e57c9 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/val_f1_macro @@ -0,0 +1 @@ +1771187596958 1.0 0 509970efc3e0494ba3c2fbd7dd24d438 diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/val_f1_weighted b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/val_f1_weighted new file mode 100644 index 0000000..17ccfb9 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/metrics/val_f1_weighted @@ -0,0 +1 @@ +1771187596967 1.0 0 509970efc3e0494ba3c2fbd7dd24d438 diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/class_weights b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/class_weights new file mode 100644 index 0000000..8ad57f6 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/class_weights @@ -0,0 +1 @@ +balanced \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/max_depth b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/max_depth new file mode 100644 index 0000000..3f10ffe --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/max_depth @@ -0,0 +1 @@ +15 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/min_samples_leaf b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/min_samples_leaf new file mode 100644 index 0000000..d8263ee --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/min_samples_leaf @@ -0,0 +1 @@ +2 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/min_samples_split b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/min_samples_split new file mode 100644 index 0000000..7813681 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/min_samples_split @@ -0,0 +1 @@ +5 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/model_type b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/model_type new file mode 100644 index 0000000..7cd13db --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/model_type @@ -0,0 +1 @@ +random_forest \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/n_classes b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/n_classes new file mode 100644 index 0000000..e440e5c --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/n_classes @@ -0,0 +1 @@ +3 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/n_estimators b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/n_estimators new file mode 100644 index 0000000..ae4ee13 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/n_estimators @@ -0,0 +1 @@ +200 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/n_features b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/n_features new file mode 100644 index 0000000..c940de6 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/n_features @@ -0,0 +1 @@ +2820 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/n_jobs b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/n_jobs new file mode 100644 index 0000000..d7d17fc --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/n_jobs @@ -0,0 +1 @@ +-1 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/n_test_samples b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/n_test_samples new file mode 100644 index 0000000..f0b5c72 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/n_test_samples @@ -0,0 +1 @@ +57 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/n_train_samples b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/n_train_samples new file mode 100644 index 0000000..bea0d09 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/n_train_samples @@ -0,0 +1 @@ +207 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/n_val_samples b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/n_val_samples new file mode 100644 index 0000000..8fdd954 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/n_val_samples @@ -0,0 +1 @@ +22 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/random_state b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/random_state new file mode 100644 index 0000000..f70d7bb --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/random_state @@ -0,0 +1 @@ +42 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/split_method b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/split_method new file mode 100644 index 0000000..c229744 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/split_method @@ -0,0 +1 @@ +temporal \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/test_split b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/test_split new file mode 100644 index 0000000..2f45361 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/test_split @@ -0,0 +1 @@ +0.2 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/train_samples_Bearish Engulfing b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/train_samples_Bearish Engulfing new file mode 100644 index 0000000..5a396e2 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/train_samples_Bearish Engulfing @@ -0,0 +1 @@ +121 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/train_samples_Bullish Engulfing b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/train_samples_Bullish Engulfing new file mode 100644 index 0000000..3ca9062 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/train_samples_Bullish Engulfing @@ -0,0 +1 @@ +84 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/train_samples_wedge_up b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/train_samples_wedge_up new file mode 100644 index 0000000..d8263ee --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/train_samples_wedge_up @@ -0,0 +1 @@ +2 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/validation_split b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/validation_split new file mode 100644 index 0000000..ceab6e1 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/params/validation_split @@ -0,0 +1 @@ +0.1 \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/tags/mlflow.source.git.commit b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/tags/mlflow.source.git.commit new file mode 100644 index 0000000..85ee62b --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/tags/mlflow.source.git.commit @@ -0,0 +1 @@ +aa81d4f3d0dcb9c58799d7bf63fd8fe61006bdce \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/tags/mlflow.source.name b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/tags/mlflow.source.name new file mode 100644 index 0000000..f63f773 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/tags/mlflow.source.name @@ -0,0 +1 @@ +pipeline.py \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/tags/mlflow.source.type b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/tags/mlflow.source.type new file mode 100644 index 0000000..0c2c1fe --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/tags/mlflow.source.type @@ -0,0 +1 @@ +LOCAL \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/tags/mlflow.user b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/tags/mlflow.user new file mode 100644 index 0000000..caf9b0f --- /dev/null +++ b/services/ml/mlruns/358560345319124639/models/m-cf12ffc008e047e1a37f58efe209422c/tags/mlflow.user @@ -0,0 +1 @@ +homoludens \ No newline at end of file diff --git a/services/ml/mlruns/358560345319124639/tags/mlflow.experimentKind b/services/ml/mlruns/358560345319124639/tags/mlflow.experimentKind new file mode 100644 index 0000000..bee2484 --- /dev/null +++ b/services/ml/mlruns/358560345319124639/tags/mlflow.experimentKind @@ -0,0 +1 @@ +custom_model_development \ No newline at end of file diff --git a/src/app/page.tsx b/src/app/page.tsx index 1baa035..edf9531 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -365,7 +365,7 @@ export default function Home() { setPredictionState((prev) => ({ ...prev, modelInfo: data, - selectedLabels: new Set(data.label_config.map((l) => l.name)), + selectedLabels: new Set(data.labels), error: null, })); return data; @@ -382,9 +382,9 @@ export default function Home() { }, []); // Generate cache key from chart, timerange, and model version - const generateCacheKey = useCallback((chartId: number | null, modelVersion?: string) => { + const generateCacheKey = useCallback((chartId: number | null, modelVersion?: string | null) => { if (!chartId) return null; - const version = modelVersion || predictionState.modelInfo?.model_info.model_version || 'unknown'; + const version = modelVersion || predictionState.modelInfo?.model_version || 'unknown'; return `${chartId}_${version}`; }, [predictionState.modelInfo]); @@ -392,12 +392,12 @@ export default function Home() { const fetchPredictions = useCallback(async (candles: any[]) => { if (!activeChartId || candles.length === 0) return; - const cacheKey = generateCacheKey(activeChartId, predictionState.modelInfo?.model_info.model_version); + const cacheKey = generateCacheKey(activeChartId, predictionState.modelInfo?.model_version); // Check cache first if (cacheKey && predictionCacheRef.current.has(cacheKey)) { const cached = predictionCacheRef.current.get(cacheKey)!; - if (cached.modelVersion === predictionState.modelInfo?.model_info.model_version) { + if (cached.modelVersion === predictionState.modelInfo?.model_version) { setPredictionState((prev) => ({ ...prev, spans: cached.spans, @@ -562,7 +562,7 @@ export default function Home() { // Clear prediction cache when model version changes useEffect(() => { if (predictionState.modelInfo) { - const currentVersion = predictionState.modelInfo.model_info.model_version; + const currentVersion = predictionState.modelInfo.model_version; // Clear cache entries with different model versions const newCache = new Map(); for (const [key, value] of predictionCacheRef.current.entries()) { @@ -572,7 +572,7 @@ export default function Home() { } predictionCacheRef.current = newCache; } - }, [predictionState.modelInfo?.model_info.model_version]); + }, [predictionState.modelInfo?.model_version]); // Health polling - check model status every 30 seconds when offline useEffect(() => { diff --git a/src/components/CandleChart.tsx b/src/components/CandleChart.tsx index 8e07588..5e9621b 100644 --- a/src/components/CandleChart.tsx +++ b/src/components/CandleChart.tsx @@ -374,10 +374,21 @@ const CandleChart = forwardRef( } // Build a label-to-color map from modelInfo + // Generate colors for labels since backend no longer provides them const labelColorMap: Record = {}; - if (modelInfo?.label_config) { - modelInfo.label_config.forEach((lc) => { - labelColorMap[lc.name] = lc.color; + if (modelInfo?.labels) { + const predefinedColors = [ + '#3b82f6', // blue + '#ef4444', // red + '#10b981', // green + '#f59e0b', // amber + '#8b5cf6', // violet + '#ec4899', // pink + '#06b6d4', // cyan + '#f97316', // orange + ]; + modelInfo.labels.forEach((label, index) => { + labelColorMap[label] = predefinedColors[index % predefinedColors.length]; }); } diff --git a/src/components/PredictionPanel.tsx b/src/components/PredictionPanel.tsx index 5f032c1..92aab19 100644 --- a/src/components/PredictionPanel.tsx +++ b/src/components/PredictionPanel.tsx @@ -9,7 +9,7 @@ interface PredictionPanelProps { onFetchBatchPredictions: () => void; onConfidenceChange: (threshold: number) => void; onToggleLabelSelection: (label: string) => void; - predictionSummary?: PredictionSummary; + predictionSummary: PredictionSummary | null; isModelOnline: boolean; showOnlyDisagreements?: boolean; onToggleShowOnlyDisagreements?: () => void; @@ -77,23 +77,15 @@ export default function PredictionPanel({
Model: - {modelInfo.model_info.model_name} + {modelInfo.model_name}
Version: - {modelInfo.model_info.model_version} + {modelInfo.model_version || 'N/A'}
Type: - {modelInfo.model_info.model_type} -
-
- Accuracy: - {(modelInfo.metrics.accuracy * 100).toFixed(1)}% -
-
- F1 (macro): - {(modelInfo.metrics.f1_macro * 100).toFixed(1)}% + {modelInfo.model_type}
)} @@ -144,26 +136,22 @@ export default function PredictionPanel({
- {modelInfo.label_config.map((labelConfig) => { - const metrics = modelInfo.metrics.per_class[labelConfig.name]; - const isSelected = selectedLabels.has(labelConfig.name); + {modelInfo.labels.map((label) => { + const metrics = modelInfo.per_class_metrics.find((m) => m.label === label); + const isSelected = selectedLabels.has(label); return (