From 525496418f6d6767804437d5780818fc340d1a65 Mon Sep 17 00:00:00 2001 From: junos Date: Wed, 7 Dec 2022 16:22:41 +0100 Subject: [PATCH] Configure jupytext. --- .jupytext.toml.py | 2 ++ exploration/ml_pipeline_stress_event_cleaned.py | 1 + 2 files changed, 3 insertions(+) create mode 100644 .jupytext.toml.py diff --git a/.jupytext.toml.py b/.jupytext.toml.py new file mode 100644 index 0000000..68e44d9 --- /dev/null +++ b/.jupytext.toml.py @@ -0,0 +1,2 @@ +# Always pair ipynb notebooks to py:percent files +formats = ["ipynb", "py:percent"] \ No newline at end of file diff --git a/exploration/ml_pipeline_stress_event_cleaned.py b/exploration/ml_pipeline_stress_event_cleaned.py index 9bef7f9..0c79b8f 100644 --- a/exploration/ml_pipeline_stress_event_cleaned.py +++ b/exploration/ml_pipeline_stress_event_cleaned.py @@ -120,6 +120,7 @@ sum(data_y.isna()) # %% [markdown] # ### Baseline: Dummy Regression (mean) +# %% dummy_regr = DummyRegressor(strategy="mean") # %% jupyter={"source_hidden": true}