pppereira3 commited on
Commit
961ff2b
·
verified ·
1 Parent(s): e379f2c

update model

Browse files
Files changed (3) hide show
  1. README.md +66 -78
  2. config.json +1 -7
  3. hw4_baseline_regressor.pkl +2 -2
README.md CHANGED
@@ -8,10 +8,6 @@ model_format: pickle
8
  model_file: hw4_baseline_regressor.pkl
9
  widget:
10
  - structuredData:
11
- __index_level_0__:
12
- - 306
13
- - 12591
14
- - 2702
15
  households:
16
  - 269.0
17
  - 236.0
@@ -83,90 +79,82 @@ widget:
83
  <details>
84
  <summary> Click to expand </summary>
85
 
86
- | Hyperparameter | Value |
87
- |------------------------------|-----------------------------------------------------------------|
88
- | memory | |
89
- | steps | [('scaler', StandardScaler()), ('rf', RandomForestRegressor())] |
90
- | verbose | False |
91
- | scaler | StandardScaler() |
92
- | rf | RandomForestRegressor() |
93
- | scaler__copy | True |
94
- | scaler__with_mean | True |
95
- | scaler__with_std | True |
96
- | rf__bootstrap | True |
97
- | rf__ccp_alpha | 0.0 |
98
- | rf__criterion | squared_error |
99
- | rf__max_depth | |
100
- | rf__max_features | 1.0 |
101
- | rf__max_leaf_nodes | |
102
- | rf__max_samples | |
103
- | rf__min_impurity_decrease | 0.0 |
104
- | rf__min_samples_leaf | 1 |
105
- | rf__min_samples_split | 2 |
106
- | rf__min_weight_fraction_leaf | 0.0 |
107
- | rf__monotonic_cst | |
108
- | rf__n_estimators | 100 |
109
- | rf__n_jobs | |
110
- | rf__oob_score | False |
111
- | rf__random_state | |
112
- | rf__verbose | 0 |
113
- | rf__warm_start | False |
114
 
115
  </details>
116
 
117
  ### Model Plot
118
 
119
- <style>#sk-container-id-2 {/* Definition of color scheme common for light and dark mode */--sklearn-color-text: black;--sklearn-color-line: gray;/* Definition of color scheme for unfitted estimators */--sklearn-color-unfitted-level-0: #fff5e6;--sklearn-color-unfitted-level-1: #f6e4d2;--sklearn-color-unfitted-level-2: #ffe0b3;--sklearn-color-unfitted-level-3: chocolate;/* Definition of color scheme for fitted estimators */--sklearn-color-fitted-level-0: #f0f8ff;--sklearn-color-fitted-level-1: #d4ebff;--sklearn-color-fitted-level-2: #b3dbfd;--sklearn-color-fitted-level-3: cornflowerblue;/* Specific color for light theme */--sklearn-color-text-on-default-background: var(--sg-text-color, var(--theme-code-foreground, var(--jp-content-font-color1, black)));--sklearn-color-background: var(--sg-background-color, var(--theme-background, var(--jp-layout-color0, white)));--sklearn-color-border-box: var(--sg-text-color, var(--theme-code-foreground, var(--jp-content-font-color1, black)));--sklearn-color-icon: #696969;@media (prefers-color-scheme: dark) {/* Redefinition of color scheme for dark theme */--sklearn-color-text-on-default-background: var(--sg-text-color, var(--theme-code-foreground, var(--jp-content-font-color1, white)));--sklearn-color-background: var(--sg-background-color, var(--theme-background, var(--jp-layout-color0, #111)));--sklearn-color-border-box: var(--sg-text-color, var(--theme-code-foreground, var(--jp-content-font-color1, white)));--sklearn-color-icon: #878787;}
120
- }#sk-container-id-2 {color: var(--sklearn-color-text);
121
- }#sk-container-id-2 pre {padding: 0;
122
- }#sk-container-id-2 input.sk-hidden--visually {border: 0;clip: rect(1px 1px 1px 1px);clip: rect(1px, 1px, 1px, 1px);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;
123
- }#sk-container-id-2 div.sk-dashed-wrapped {border: 1px dashed var(--sklearn-color-line);margin: 0 0.4em 0.5em 0.4em;box-sizing: border-box;padding-bottom: 0.4em;background-color: var(--sklearn-color-background);
124
- }#sk-container-id-2 div.sk-container {/* jupyter's `normalize.less` sets `[hidden] { display: none; }`but bootstrap.min.css set `[hidden] { display: none !important; }`so we also need the `!important` here to be able to override thedefault hidden behavior on the sphinx rendered scikit-learn.org.See: https://github.com/scikit-learn/scikit-learn/issues/21755 */display: inline-block !important;position: relative;
125
- }#sk-container-id-2 div.sk-text-repr-fallback {display: none;
126
  }div.sk-parallel-item,
127
  div.sk-serial,
128
  div.sk-item {/* draw centered vertical line to link estimators */background-image: linear-gradient(var(--sklearn-color-text-on-default-background), var(--sklearn-color-text-on-default-background));background-size: 2px 100%;background-repeat: no-repeat;background-position: center center;
129
- }/* Parallel-specific style estimator block */#sk-container-id-2 div.sk-parallel-item::after {content: "";width: 100%;border-bottom: 2px solid var(--sklearn-color-text-on-default-background);flex-grow: 1;
130
- }#sk-container-id-2 div.sk-parallel {display: flex;align-items: stretch;justify-content: center;background-color: var(--sklearn-color-background);position: relative;
131
- }#sk-container-id-2 div.sk-parallel-item {display: flex;flex-direction: column;
132
- }#sk-container-id-2 div.sk-parallel-item:first-child::after {align-self: flex-end;width: 50%;
133
- }#sk-container-id-2 div.sk-parallel-item:last-child::after {align-self: flex-start;width: 50%;
134
- }#sk-container-id-2 div.sk-parallel-item:only-child::after {width: 0;
135
- }/* Serial-specific style estimator block */#sk-container-id-2 div.sk-serial {display: flex;flex-direction: column;align-items: center;background-color: var(--sklearn-color-background);padding-right: 1em;padding-left: 1em;
136
  }/* Toggleable style: style used for estimator/Pipeline/ColumnTransformer box that is
137
  clickable and can be expanded/collapsed.
138
  - Pipeline and ColumnTransformer use this feature and define the default style
139
  - Estimators will overwrite some part of the style using the `sk-estimator` class
140
- *//* Pipeline and ColumnTransformer style (default) */#sk-container-id-2 div.sk-toggleable {/* Default theme specific background. It is overwritten whether we have aspecific estimator or a Pipeline/ColumnTransformer */background-color: var(--sklearn-color-background);
141
  }/* Toggleable label */
142
- #sk-container-id-2 label.sk-toggleable__label {cursor: pointer;display: block;width: 100%;margin-bottom: 0;padding: 0.5em;box-sizing: border-box;text-align: center;
143
- }#sk-container-id-2 label.sk-toggleable__label-arrow:before {/* Arrow on the left of the label */content: "▸";float: left;margin-right: 0.25em;color: var(--sklearn-color-icon);
144
- }#sk-container-id-2 label.sk-toggleable__label-arrow:hover:before {color: var(--sklearn-color-text);
145
- }/* Toggleable content - dropdown */#sk-container-id-2 div.sk-toggleable__content {max-height: 0;max-width: 0;overflow: hidden;text-align: left;/* unfitted */background-color: var(--sklearn-color-unfitted-level-0);
146
- }#sk-container-id-2 div.sk-toggleable__content.fitted {/* fitted */background-color: var(--sklearn-color-fitted-level-0);
147
- }#sk-container-id-2 div.sk-toggleable__content pre {margin: 0.2em;border-radius: 0.25em;color: var(--sklearn-color-text);/* unfitted */background-color: var(--sklearn-color-unfitted-level-0);
148
- }#sk-container-id-2 div.sk-toggleable__content.fitted pre {/* unfitted */background-color: var(--sklearn-color-fitted-level-0);
149
- }#sk-container-id-2 input.sk-toggleable__control:checked~div.sk-toggleable__content {/* Expand drop-down */max-height: 200px;max-width: 100%;overflow: auto;
150
- }#sk-container-id-2 input.sk-toggleable__control:checked~label.sk-toggleable__label-arrow:before {content: "▾";
151
- }/* Pipeline/ColumnTransformer-specific style */#sk-container-id-2 div.sk-label input.sk-toggleable__control:checked~label.sk-toggleable__label {color: var(--sklearn-color-text);background-color: var(--sklearn-color-unfitted-level-2);
152
- }#sk-container-id-2 div.sk-label.fitted input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: var(--sklearn-color-fitted-level-2);
153
  }/* Estimator-specific style *//* Colorize estimator box */
154
- #sk-container-id-2 div.sk-estimator input.sk-toggleable__control:checked~label.sk-toggleable__label {/* unfitted */background-color: var(--sklearn-color-unfitted-level-2);
155
- }#sk-container-id-2 div.sk-estimator.fitted input.sk-toggleable__control:checked~label.sk-toggleable__label {/* fitted */background-color: var(--sklearn-color-fitted-level-2);
156
- }#sk-container-id-2 div.sk-label label.sk-toggleable__label,
157
- #sk-container-id-2 div.sk-label label {/* The background is the default theme color */color: var(--sklearn-color-text-on-default-background);
158
  }/* On hover, darken the color of the background */
159
- #sk-container-id-2 div.sk-label:hover label.sk-toggleable__label {color: var(--sklearn-color-text);background-color: var(--sklearn-color-unfitted-level-2);
160
  }/* Label box, darken color on hover, fitted */
161
- #sk-container-id-2 div.sk-label.fitted:hover label.sk-toggleable__label.fitted {color: var(--sklearn-color-text);background-color: var(--sklearn-color-fitted-level-2);
162
- }/* Estimator label */#sk-container-id-2 div.sk-label label {font-family: monospace;font-weight: bold;display: inline-block;line-height: 1.2em;
163
- }#sk-container-id-2 div.sk-label-container {text-align: center;
164
  }/* Estimator-specific */
165
- #sk-container-id-2 div.sk-estimator {font-family: monospace;border: 1px dotted var(--sklearn-color-border-box);border-radius: 0.25em;box-sizing: border-box;margin-bottom: 0.5em;/* unfitted */background-color: var(--sklearn-color-unfitted-level-0);
166
- }#sk-container-id-2 div.sk-estimator.fitted {/* fitted */background-color: var(--sklearn-color-fitted-level-0);
167
  }/* on hover */
168
- #sk-container-id-2 div.sk-estimator:hover {/* unfitted */background-color: var(--sklearn-color-unfitted-level-2);
169
- }#sk-container-id-2 div.sk-estimator.fitted:hover {/* fitted */background-color: var(--sklearn-color-fitted-level-2);
170
  }/* Specification for estimator info (e.g. "i" and "?") *//* Common style for "i" and "?" */.sk-estimator-doc-link,
171
  a:link.sk-estimator-doc-link,
172
  a:visited.sk-estimator-doc-link {float: right;font-size: smaller;line-height: 1em;font-family: monospace;background-color: var(--sklearn-color-background);border-radius: 1em;height: 1em;width: 1em;text-decoration: none !important;margin-left: 1ex;/* unfitted */border: var(--sklearn-color-unfitted-level-1) 1pt solid;color: var(--sklearn-color-unfitted-level-1);
@@ -186,19 +174,19 @@ div.sk-label-container:hover .sk-estimator-doc-link.fitted:hover,
186
  .sk-estimator-doc-link span {display: none;z-index: 9999;position: relative;font-weight: normal;right: .2ex;padding: .5ex;margin: .5ex;width: min-content;min-width: 20ex;max-width: 50ex;color: var(--sklearn-color-text);box-shadow: 2pt 2pt 4pt #999;/* unfitted */background: var(--sklearn-color-unfitted-level-0);border: .5pt solid var(--sklearn-color-unfitted-level-3);
187
  }.sk-estimator-doc-link.fitted span {/* fitted */background: var(--sklearn-color-fitted-level-0);border: var(--sklearn-color-fitted-level-3);
188
  }.sk-estimator-doc-link:hover span {display: block;
189
- }/* "?"-specific style due to the `<a>` HTML tag */#sk-container-id-2 a.estimator_doc_link {float: right;font-size: 1rem;line-height: 1em;font-family: monospace;background-color: var(--sklearn-color-background);border-radius: 1rem;height: 1rem;width: 1rem;text-decoration: none;/* unfitted */color: var(--sklearn-color-unfitted-level-1);border: var(--sklearn-color-unfitted-level-1) 1pt solid;
190
- }#sk-container-id-2 a.estimator_doc_link.fitted {/* fitted */border: var(--sklearn-color-fitted-level-1) 1pt solid;color: var(--sklearn-color-fitted-level-1);
191
  }/* On hover */
192
- #sk-container-id-2 a.estimator_doc_link:hover {/* unfitted */background-color: var(--sklearn-color-unfitted-level-3);color: var(--sklearn-color-background);text-decoration: none;
193
- }#sk-container-id-2 a.estimator_doc_link.fitted:hover {/* fitted */background-color: var(--sklearn-color-fitted-level-3);
194
  }
195
- </style><div id="sk-container-id-2" class="sk-top-container" style="overflow: auto;"><div class="sk-text-repr-fallback"><pre>Pipeline(steps=[(&#x27;scaler&#x27;, StandardScaler()), (&#x27;rf&#x27;, RandomForestRegressor())])</pre><b>In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook. <br />On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.</b></div><div class="sk-container" hidden><div class="sk-item sk-dashed-wrapped"><div class="sk-label-container"><div class="sk-label fitted sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-2" type="checkbox" ><label for="sk-estimator-id-2" class="sk-toggleable__label fitted sk-toggleable__label-arrow fitted">&nbsp;&nbsp;Pipeline<a class="sk-estimator-doc-link fitted" rel="noreferrer" target="_blank" href="https://scikit-learn.org/1.5/modules/generated/sklearn.pipeline.Pipeline.html">?<span>Documentation for Pipeline</span></a><span class="sk-estimator-doc-link fitted">i<span>Fitted</span></span></label><div class="sk-toggleable__content fitted"><pre>Pipeline(steps=[(&#x27;scaler&#x27;, StandardScaler()), (&#x27;rf&#x27;, RandomForestRegressor())])</pre></div> </div></div><div class="sk-serial"><div class="sk-item"><div class="sk-estimator fitted sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-3" type="checkbox" ><label for="sk-estimator-id-3" class="sk-toggleable__label fitted sk-toggleable__label-arrow fitted">&nbsp;StandardScaler<a class="sk-estimator-doc-link fitted" rel="noreferrer" target="_blank" href="https://scikit-learn.org/1.5/modules/generated/sklearn.preprocessing.StandardScaler.html">?<span>Documentation for StandardScaler</span></a></label><div class="sk-toggleable__content fitted"><pre>StandardScaler()</pre></div> </div></div><div class="sk-item"><div class="sk-estimator fitted sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-4" type="checkbox" ><label for="sk-estimator-id-4" class="sk-toggleable__label fitted sk-toggleable__label-arrow fitted">&nbsp;RandomForestRegressor<a class="sk-estimator-doc-link fitted" rel="noreferrer" target="_blank" href="https://scikit-learn.org/1.5/modules/generated/sklearn.ensemble.RandomForestRegressor.html">?<span>Documentation for RandomForestRegressor</span></a></label><div class="sk-toggleable__content fitted"><pre>RandomForestRegressor()</pre></div> </div></div></div></div></div></div>
196
 
197
  ## Evaluation Results
198
 
199
- | Metric | Value |
200
- |----------|-----------|
201
- | rmse | 0.0505465 |
202
 
203
  # How to Get Started with the Model
204
 
 
8
  model_file: hw4_baseline_regressor.pkl
9
  widget:
10
  - structuredData:
 
 
 
 
11
  households:
12
  - 269.0
13
  - 236.0
 
79
  <details>
80
  <summary> Click to expand </summary>
81
 
82
+ | Hyperparameter | Value |
83
+ |--------------------------|---------------|
84
+ | bootstrap | True |
85
+ | ccp_alpha | 0.0 |
86
+ | criterion | squared_error |
87
+ | max_depth | |
88
+ | max_features | 1.0 |
89
+ | max_leaf_nodes | |
90
+ | max_samples | |
91
+ | min_impurity_decrease | 0.0 |
92
+ | min_samples_leaf | 1 |
93
+ | min_samples_split | 2 |
94
+ | min_weight_fraction_leaf | 0.0 |
95
+ | monotonic_cst | |
96
+ | n_estimators | 100 |
97
+ | n_jobs | |
98
+ | oob_score | False |
99
+ | random_state | |
100
+ | verbose | 0 |
101
+ | warm_start | False |
 
 
 
 
 
 
 
 
102
 
103
  </details>
104
 
105
  ### Model Plot
106
 
107
+ <style>#sk-container-id-3 {/* Definition of color scheme common for light and dark mode */--sklearn-color-text: black;--sklearn-color-line: gray;/* Definition of color scheme for unfitted estimators */--sklearn-color-unfitted-level-0: #fff5e6;--sklearn-color-unfitted-level-1: #f6e4d2;--sklearn-color-unfitted-level-2: #ffe0b3;--sklearn-color-unfitted-level-3: chocolate;/* Definition of color scheme for fitted estimators */--sklearn-color-fitted-level-0: #f0f8ff;--sklearn-color-fitted-level-1: #d4ebff;--sklearn-color-fitted-level-2: #b3dbfd;--sklearn-color-fitted-level-3: cornflowerblue;/* Specific color for light theme */--sklearn-color-text-on-default-background: var(--sg-text-color, var(--theme-code-foreground, var(--jp-content-font-color1, black)));--sklearn-color-background: var(--sg-background-color, var(--theme-background, var(--jp-layout-color0, white)));--sklearn-color-border-box: var(--sg-text-color, var(--theme-code-foreground, var(--jp-content-font-color1, black)));--sklearn-color-icon: #696969;@media (prefers-color-scheme: dark) {/* Redefinition of color scheme for dark theme */--sklearn-color-text-on-default-background: var(--sg-text-color, var(--theme-code-foreground, var(--jp-content-font-color1, white)));--sklearn-color-background: var(--sg-background-color, var(--theme-background, var(--jp-layout-color0, #111)));--sklearn-color-border-box: var(--sg-text-color, var(--theme-code-foreground, var(--jp-content-font-color1, white)));--sklearn-color-icon: #878787;}
108
+ }#sk-container-id-3 {color: var(--sklearn-color-text);
109
+ }#sk-container-id-3 pre {padding: 0;
110
+ }#sk-container-id-3 input.sk-hidden--visually {border: 0;clip: rect(1px 1px 1px 1px);clip: rect(1px, 1px, 1px, 1px);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;
111
+ }#sk-container-id-3 div.sk-dashed-wrapped {border: 1px dashed var(--sklearn-color-line);margin: 0 0.4em 0.5em 0.4em;box-sizing: border-box;padding-bottom: 0.4em;background-color: var(--sklearn-color-background);
112
+ }#sk-container-id-3 div.sk-container {/* jupyter's `normalize.less` sets `[hidden] { display: none; }`but bootstrap.min.css set `[hidden] { display: none !important; }`so we also need the `!important` here to be able to override thedefault hidden behavior on the sphinx rendered scikit-learn.org.See: https://github.com/scikit-learn/scikit-learn/issues/21755 */display: inline-block !important;position: relative;
113
+ }#sk-container-id-3 div.sk-text-repr-fallback {display: none;
114
  }div.sk-parallel-item,
115
  div.sk-serial,
116
  div.sk-item {/* draw centered vertical line to link estimators */background-image: linear-gradient(var(--sklearn-color-text-on-default-background), var(--sklearn-color-text-on-default-background));background-size: 2px 100%;background-repeat: no-repeat;background-position: center center;
117
+ }/* Parallel-specific style estimator block */#sk-container-id-3 div.sk-parallel-item::after {content: "";width: 100%;border-bottom: 2px solid var(--sklearn-color-text-on-default-background);flex-grow: 1;
118
+ }#sk-container-id-3 div.sk-parallel {display: flex;align-items: stretch;justify-content: center;background-color: var(--sklearn-color-background);position: relative;
119
+ }#sk-container-id-3 div.sk-parallel-item {display: flex;flex-direction: column;
120
+ }#sk-container-id-3 div.sk-parallel-item:first-child::after {align-self: flex-end;width: 50%;
121
+ }#sk-container-id-3 div.sk-parallel-item:last-child::after {align-self: flex-start;width: 50%;
122
+ }#sk-container-id-3 div.sk-parallel-item:only-child::after {width: 0;
123
+ }/* Serial-specific style estimator block */#sk-container-id-3 div.sk-serial {display: flex;flex-direction: column;align-items: center;background-color: var(--sklearn-color-background);padding-right: 1em;padding-left: 1em;
124
  }/* Toggleable style: style used for estimator/Pipeline/ColumnTransformer box that is
125
  clickable and can be expanded/collapsed.
126
  - Pipeline and ColumnTransformer use this feature and define the default style
127
  - Estimators will overwrite some part of the style using the `sk-estimator` class
128
+ *//* Pipeline and ColumnTransformer style (default) */#sk-container-id-3 div.sk-toggleable {/* Default theme specific background. It is overwritten whether we have aspecific estimator or a Pipeline/ColumnTransformer */background-color: var(--sklearn-color-background);
129
  }/* Toggleable label */
130
+ #sk-container-id-3 label.sk-toggleable__label {cursor: pointer;display: block;width: 100%;margin-bottom: 0;padding: 0.5em;box-sizing: border-box;text-align: center;
131
+ }#sk-container-id-3 label.sk-toggleable__label-arrow:before {/* Arrow on the left of the label */content: "▸";float: left;margin-right: 0.25em;color: var(--sklearn-color-icon);
132
+ }#sk-container-id-3 label.sk-toggleable__label-arrow:hover:before {color: var(--sklearn-color-text);
133
+ }/* Toggleable content - dropdown */#sk-container-id-3 div.sk-toggleable__content {max-height: 0;max-width: 0;overflow: hidden;text-align: left;/* unfitted */background-color: var(--sklearn-color-unfitted-level-0);
134
+ }#sk-container-id-3 div.sk-toggleable__content.fitted {/* fitted */background-color: var(--sklearn-color-fitted-level-0);
135
+ }#sk-container-id-3 div.sk-toggleable__content pre {margin: 0.2em;border-radius: 0.25em;color: var(--sklearn-color-text);/* unfitted */background-color: var(--sklearn-color-unfitted-level-0);
136
+ }#sk-container-id-3 div.sk-toggleable__content.fitted pre {/* unfitted */background-color: var(--sklearn-color-fitted-level-0);
137
+ }#sk-container-id-3 input.sk-toggleable__control:checked~div.sk-toggleable__content {/* Expand drop-down */max-height: 200px;max-width: 100%;overflow: auto;
138
+ }#sk-container-id-3 input.sk-toggleable__control:checked~label.sk-toggleable__label-arrow:before {content: "▾";
139
+ }/* Pipeline/ColumnTransformer-specific style */#sk-container-id-3 div.sk-label input.sk-toggleable__control:checked~label.sk-toggleable__label {color: var(--sklearn-color-text);background-color: var(--sklearn-color-unfitted-level-2);
140
+ }#sk-container-id-3 div.sk-label.fitted input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: var(--sklearn-color-fitted-level-2);
141
  }/* Estimator-specific style *//* Colorize estimator box */
142
+ #sk-container-id-3 div.sk-estimator input.sk-toggleable__control:checked~label.sk-toggleable__label {/* unfitted */background-color: var(--sklearn-color-unfitted-level-2);
143
+ }#sk-container-id-3 div.sk-estimator.fitted input.sk-toggleable__control:checked~label.sk-toggleable__label {/* fitted */background-color: var(--sklearn-color-fitted-level-2);
144
+ }#sk-container-id-3 div.sk-label label.sk-toggleable__label,
145
+ #sk-container-id-3 div.sk-label label {/* The background is the default theme color */color: var(--sklearn-color-text-on-default-background);
146
  }/* On hover, darken the color of the background */
147
+ #sk-container-id-3 div.sk-label:hover label.sk-toggleable__label {color: var(--sklearn-color-text);background-color: var(--sklearn-color-unfitted-level-2);
148
  }/* Label box, darken color on hover, fitted */
149
+ #sk-container-id-3 div.sk-label.fitted:hover label.sk-toggleable__label.fitted {color: var(--sklearn-color-text);background-color: var(--sklearn-color-fitted-level-2);
150
+ }/* Estimator label */#sk-container-id-3 div.sk-label label {font-family: monospace;font-weight: bold;display: inline-block;line-height: 1.2em;
151
+ }#sk-container-id-3 div.sk-label-container {text-align: center;
152
  }/* Estimator-specific */
153
+ #sk-container-id-3 div.sk-estimator {font-family: monospace;border: 1px dotted var(--sklearn-color-border-box);border-radius: 0.25em;box-sizing: border-box;margin-bottom: 0.5em;/* unfitted */background-color: var(--sklearn-color-unfitted-level-0);
154
+ }#sk-container-id-3 div.sk-estimator.fitted {/* fitted */background-color: var(--sklearn-color-fitted-level-0);
155
  }/* on hover */
156
+ #sk-container-id-3 div.sk-estimator:hover {/* unfitted */background-color: var(--sklearn-color-unfitted-level-2);
157
+ }#sk-container-id-3 div.sk-estimator.fitted:hover {/* fitted */background-color: var(--sklearn-color-fitted-level-2);
158
  }/* Specification for estimator info (e.g. "i" and "?") *//* Common style for "i" and "?" */.sk-estimator-doc-link,
159
  a:link.sk-estimator-doc-link,
160
  a:visited.sk-estimator-doc-link {float: right;font-size: smaller;line-height: 1em;font-family: monospace;background-color: var(--sklearn-color-background);border-radius: 1em;height: 1em;width: 1em;text-decoration: none !important;margin-left: 1ex;/* unfitted */border: var(--sklearn-color-unfitted-level-1) 1pt solid;color: var(--sklearn-color-unfitted-level-1);
 
174
  .sk-estimator-doc-link span {display: none;z-index: 9999;position: relative;font-weight: normal;right: .2ex;padding: .5ex;margin: .5ex;width: min-content;min-width: 20ex;max-width: 50ex;color: var(--sklearn-color-text);box-shadow: 2pt 2pt 4pt #999;/* unfitted */background: var(--sklearn-color-unfitted-level-0);border: .5pt solid var(--sklearn-color-unfitted-level-3);
175
  }.sk-estimator-doc-link.fitted span {/* fitted */background: var(--sklearn-color-fitted-level-0);border: var(--sklearn-color-fitted-level-3);
176
  }.sk-estimator-doc-link:hover span {display: block;
177
+ }/* "?"-specific style due to the `<a>` HTML tag */#sk-container-id-3 a.estimator_doc_link {float: right;font-size: 1rem;line-height: 1em;font-family: monospace;background-color: var(--sklearn-color-background);border-radius: 1rem;height: 1rem;width: 1rem;text-decoration: none;/* unfitted */color: var(--sklearn-color-unfitted-level-1);border: var(--sklearn-color-unfitted-level-1) 1pt solid;
178
+ }#sk-container-id-3 a.estimator_doc_link.fitted {/* fitted */border: var(--sklearn-color-fitted-level-1) 1pt solid;color: var(--sklearn-color-fitted-level-1);
179
  }/* On hover */
180
+ #sk-container-id-3 a.estimator_doc_link:hover {/* unfitted */background-color: var(--sklearn-color-unfitted-level-3);color: var(--sklearn-color-background);text-decoration: none;
181
+ }#sk-container-id-3 a.estimator_doc_link.fitted:hover {/* fitted */background-color: var(--sklearn-color-fitted-level-3);
182
  }
183
+ </style><div id="sk-container-id-3" class="sk-top-container" style="overflow: auto;"><div class="sk-text-repr-fallback"><pre>RandomForestRegressor()</pre><b>In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook. <br />On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.</b></div><div class="sk-container" hidden><div class="sk-item"><div class="sk-estimator fitted sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-3" type="checkbox" checked><label for="sk-estimator-id-3" class="sk-toggleable__label fitted sk-toggleable__label-arrow fitted">&nbsp;&nbsp;RandomForestRegressor<a class="sk-estimator-doc-link fitted" rel="noreferrer" target="_blank" href="https://scikit-learn.org/1.5/modules/generated/sklearn.ensemble.RandomForestRegressor.html">?<span>Documentation for RandomForestRegressor</span></a><span class="sk-estimator-doc-link fitted">i<span>Fitted</span></span></label><div class="sk-toggleable__content fitted"><pre>RandomForestRegressor()</pre></div> </div></div></div></div>
184
 
185
  ## Evaluation Results
186
 
187
+ | Metric | Value |
188
+ |----------|----------|
189
+ | rmse | 0.231863 |
190
 
191
  # How to Get Started with the Model
192
 
config.json CHANGED
@@ -13,18 +13,12 @@
13
  "ocean_proximity_INLAND",
14
  "ocean_proximity_ISLAND",
15
  "ocean_proximity_NEAR BAY",
16
- "ocean_proximity_NEAR OCEAN",
17
- "__index_level_0__"
18
  ],
19
  "environment": [
20
  "scikit-learn=1.5.2"
21
  ],
22
  "example_input": {
23
- "__index_level_0__": [
24
- 306,
25
- 12591,
26
- 2702
27
- ],
28
  "households": [
29
  269.0,
30
  236.0,
 
13
  "ocean_proximity_INLAND",
14
  "ocean_proximity_ISLAND",
15
  "ocean_proximity_NEAR BAY",
16
+ "ocean_proximity_NEAR OCEAN"
 
17
  ],
18
  "environment": [
19
  "scikit-learn=1.5.2"
20
  ],
21
  "example_input": {
 
 
 
 
 
22
  "households": [
23
  269.0,
24
  236.0,
hw4_baseline_regressor.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d25071ac95130bdf61a4c3b4383beff2564a03c3719f7228e36a546383d84815
3
- size 125808865
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da5619b095cc2f57e7df2675e716e301aebb39b5c85f459aa7702911ae62049d
3
+ size 125894848