update model
Browse files- README.md +77 -73
- config.json +41 -35
- hw4_baseline_classifier.pkl +2 -2
README.md
CHANGED
|
@@ -9,47 +9,47 @@ model_file: hw4_baseline_classifier.pkl
|
|
| 9 |
widget:
|
| 10 |
- structuredData:
|
| 11 |
Age:
|
| 12 |
-
-
|
| 13 |
-
-
|
| 14 |
-
-
|
| 15 |
Contract Length_Annual:
|
| 16 |
-
- false
|
| 17 |
-
- false
|
| 18 |
- true
|
|
|
|
|
|
|
| 19 |
Contract Length_Monthly:
|
| 20 |
- false
|
| 21 |
- false
|
| 22 |
- false
|
| 23 |
Contract Length_Quarterly:
|
| 24 |
-
- true
|
| 25 |
-
- true
|
| 26 |
- false
|
|
|
|
|
|
|
| 27 |
CustomerID:
|
| 28 |
-
-
|
| 29 |
-
-
|
| 30 |
-
-
|
| 31 |
Gender_Female:
|
| 32 |
-
- true
|
| 33 |
- false
|
| 34 |
- true
|
| 35 |
-
Gender_Male:
|
| 36 |
- false
|
|
|
|
| 37 |
- true
|
| 38 |
- false
|
|
|
|
| 39 |
Last Interaction:
|
| 40 |
-
-
|
|
|
|
| 41 |
- 12.0
|
| 42 |
-
- 26.0
|
| 43 |
Payment Delay:
|
| 44 |
-
-
|
| 45 |
-
-
|
| 46 |
- 24.0
|
| 47 |
Subscription Type_Basic:
|
| 48 |
-
-
|
| 49 |
- true
|
| 50 |
- false
|
| 51 |
Subscription Type_Premium:
|
| 52 |
-
-
|
| 53 |
- false
|
| 54 |
- false
|
| 55 |
Subscription Type_Standard:
|
|
@@ -57,21 +57,25 @@ widget:
|
|
| 57 |
- false
|
| 58 |
- true
|
| 59 |
Support Calls:
|
| 60 |
-
- 8.0
|
| 61 |
- 0.0
|
| 62 |
- 0.0
|
|
|
|
| 63 |
Tenure:
|
| 64 |
-
-
|
| 65 |
-
-
|
| 66 |
-
-
|
| 67 |
Total Spend:
|
| 68 |
-
-
|
| 69 |
-
-
|
| 70 |
-
-
|
| 71 |
Usage Frequency:
|
| 72 |
-
-
|
| 73 |
-
-
|
| 74 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
---
|
| 76 |
|
| 77 |
# Model description
|
|
@@ -117,57 +121,57 @@ widget:
|
|
| 117 |
|
| 118 |
### Model Plot
|
| 119 |
|
| 120 |
-
<style>#sk-container-id-
|
| 121 |
-
}#sk-container-id-
|
| 122 |
-
}#sk-container-id-
|
| 123 |
-
}#sk-container-id-
|
| 124 |
-
}#sk-container-id-
|
| 125 |
-
}#sk-container-id-
|
| 126 |
-
}#sk-container-id-
|
| 127 |
}div.sk-parallel-item,
|
| 128 |
div.sk-serial,
|
| 129 |
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;
|
| 130 |
-
}/* Parallel-specific style estimator block */#sk-container-id-
|
| 131 |
-
}#sk-container-id-
|
| 132 |
-
}#sk-container-id-
|
| 133 |
-
}#sk-container-id-
|
| 134 |
-
}#sk-container-id-
|
| 135 |
-
}#sk-container-id-
|
| 136 |
-
}/* Serial-specific style estimator block */#sk-container-id-
|
| 137 |
}/* Toggleable style: style used for estimator/Pipeline/ColumnTransformer box that is
|
| 138 |
clickable and can be expanded/collapsed.
|
| 139 |
- Pipeline and ColumnTransformer use this feature and define the default style
|
| 140 |
- Estimators will overwrite some part of the style using the `sk-estimator` class
|
| 141 |
-
*//* Pipeline and ColumnTransformer style (default) */#sk-container-id-
|
| 142 |
}/* Toggleable label */
|
| 143 |
-
#sk-container-id-
|
| 144 |
-
}#sk-container-id-
|
| 145 |
-
}#sk-container-id-
|
| 146 |
-
}/* Toggleable content - dropdown */#sk-container-id-
|
| 147 |
-
}#sk-container-id-
|
| 148 |
-
}#sk-container-id-
|
| 149 |
-
}#sk-container-id-
|
| 150 |
-
}#sk-container-id-
|
| 151 |
-
}#sk-container-id-
|
| 152 |
-
}/* Pipeline/ColumnTransformer-specific style */#sk-container-id-
|
| 153 |
-
}#sk-container-id-
|
| 154 |
}/* Estimator-specific style *//* Colorize estimator box */
|
| 155 |
-
#sk-container-id-
|
| 156 |
-
}#sk-container-id-
|
| 157 |
-
}#sk-container-id-
|
| 158 |
-
#sk-container-id-
|
| 159 |
}/* On hover, darken the color of the background */
|
| 160 |
-
#sk-container-id-
|
| 161 |
}/* Label box, darken color on hover, fitted */
|
| 162 |
-
#sk-container-id-
|
| 163 |
-
}/* Estimator label */#sk-container-id-
|
| 164 |
-
}#sk-container-id-
|
| 165 |
}/* Estimator-specific */
|
| 166 |
-
#sk-container-id-
|
| 167 |
-
}#sk-container-id-
|
| 168 |
}/* on hover */
|
| 169 |
-
#sk-container-id-
|
| 170 |
-
}#sk-container-id-
|
| 171 |
}/* Specification for estimator info (e.g. "i" and "?") *//* Common style for "i" and "?" */.sk-estimator-doc-link,
|
| 172 |
a:link.sk-estimator-doc-link,
|
| 173 |
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);
|
|
@@ -187,20 +191,20 @@ div.sk-label-container:hover .sk-estimator-doc-link.fitted:hover,
|
|
| 187 |
.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);
|
| 188 |
}.sk-estimator-doc-link.fitted span {/* fitted */background: var(--sklearn-color-fitted-level-0);border: var(--sklearn-color-fitted-level-3);
|
| 189 |
}.sk-estimator-doc-link:hover span {display: block;
|
| 190 |
-
}/* "?"-specific style due to the `<a>` HTML tag */#sk-container-id-
|
| 191 |
-
}#sk-container-id-
|
| 192 |
}/* On hover */
|
| 193 |
-
#sk-container-id-
|
| 194 |
-
}#sk-container-id-
|
| 195 |
}
|
| 196 |
-
</style><div id="sk-container-id-
|
| 197 |
|
| 198 |
## Evaluation Results
|
| 199 |
|
| 200 |
| Metric | Value |
|
| 201 |
|----------|----------|
|
| 202 |
-
| f1 score | 0.
|
| 203 |
-
| accuracy | 0.
|
| 204 |
|
| 205 |
# How to Get Started with the Model
|
| 206 |
|
|
|
|
| 9 |
widget:
|
| 10 |
- structuredData:
|
| 11 |
Age:
|
| 12 |
+
- 30.0
|
| 13 |
+
- 39.0
|
| 14 |
+
- 34.0
|
| 15 |
Contract Length_Annual:
|
|
|
|
|
|
|
| 16 |
- true
|
| 17 |
+
- true
|
| 18 |
+
- false
|
| 19 |
Contract Length_Monthly:
|
| 20 |
- false
|
| 21 |
- false
|
| 22 |
- false
|
| 23 |
Contract Length_Quarterly:
|
|
|
|
|
|
|
| 24 |
- false
|
| 25 |
+
- false
|
| 26 |
+
- true
|
| 27 |
CustomerID:
|
| 28 |
+
- 385551.0
|
| 29 |
+
- 261335.0
|
| 30 |
+
- 211059.0
|
| 31 |
Gender_Female:
|
|
|
|
| 32 |
- false
|
| 33 |
- true
|
|
|
|
| 34 |
- false
|
| 35 |
+
Gender_Male:
|
| 36 |
- true
|
| 37 |
- false
|
| 38 |
+
- true
|
| 39 |
Last Interaction:
|
| 40 |
+
- 20.0
|
| 41 |
+
- 9.0
|
| 42 |
- 12.0
|
|
|
|
| 43 |
Payment Delay:
|
| 44 |
+
- 19.0
|
| 45 |
+
- 7.0
|
| 46 |
- 24.0
|
| 47 |
Subscription Type_Basic:
|
| 48 |
+
- true
|
| 49 |
- true
|
| 50 |
- false
|
| 51 |
Subscription Type_Premium:
|
| 52 |
+
- false
|
| 53 |
- false
|
| 54 |
- false
|
| 55 |
Subscription Type_Standard:
|
|
|
|
| 57 |
- false
|
| 58 |
- true
|
| 59 |
Support Calls:
|
|
|
|
| 60 |
- 0.0
|
| 61 |
- 0.0
|
| 62 |
+
- 8.0
|
| 63 |
Tenure:
|
| 64 |
+
- 43.0
|
| 65 |
+
- 31.0
|
| 66 |
+
- 17.0
|
| 67 |
Total Spend:
|
| 68 |
+
- 914.15
|
| 69 |
+
- 657.3
|
| 70 |
+
- 511.21
|
| 71 |
Usage Frequency:
|
| 72 |
+
- 23.0
|
| 73 |
+
- 28.0
|
| 74 |
+
- 24.0
|
| 75 |
+
__index_level_0__:
|
| 76 |
+
- 378436
|
| 77 |
+
- 254221
|
| 78 |
+
- 205977
|
| 79 |
---
|
| 80 |
|
| 81 |
# Model description
|
|
|
|
| 121 |
|
| 122 |
### Model Plot
|
| 123 |
|
| 124 |
+
<style>#sk-container-id-1 {/* 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;}
|
| 125 |
+
}#sk-container-id-1 {color: var(--sklearn-color-text);
|
| 126 |
+
}#sk-container-id-1 pre {padding: 0;
|
| 127 |
+
}#sk-container-id-1 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;
|
| 128 |
+
}#sk-container-id-1 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);
|
| 129 |
+
}#sk-container-id-1 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;
|
| 130 |
+
}#sk-container-id-1 div.sk-text-repr-fallback {display: none;
|
| 131 |
}div.sk-parallel-item,
|
| 132 |
div.sk-serial,
|
| 133 |
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;
|
| 134 |
+
}/* Parallel-specific style estimator block */#sk-container-id-1 div.sk-parallel-item::after {content: "";width: 100%;border-bottom: 2px solid var(--sklearn-color-text-on-default-background);flex-grow: 1;
|
| 135 |
+
}#sk-container-id-1 div.sk-parallel {display: flex;align-items: stretch;justify-content: center;background-color: var(--sklearn-color-background);position: relative;
|
| 136 |
+
}#sk-container-id-1 div.sk-parallel-item {display: flex;flex-direction: column;
|
| 137 |
+
}#sk-container-id-1 div.sk-parallel-item:first-child::after {align-self: flex-end;width: 50%;
|
| 138 |
+
}#sk-container-id-1 div.sk-parallel-item:last-child::after {align-self: flex-start;width: 50%;
|
| 139 |
+
}#sk-container-id-1 div.sk-parallel-item:only-child::after {width: 0;
|
| 140 |
+
}/* Serial-specific style estimator block */#sk-container-id-1 div.sk-serial {display: flex;flex-direction: column;align-items: center;background-color: var(--sklearn-color-background);padding-right: 1em;padding-left: 1em;
|
| 141 |
}/* Toggleable style: style used for estimator/Pipeline/ColumnTransformer box that is
|
| 142 |
clickable and can be expanded/collapsed.
|
| 143 |
- Pipeline and ColumnTransformer use this feature and define the default style
|
| 144 |
- Estimators will overwrite some part of the style using the `sk-estimator` class
|
| 145 |
+
*//* Pipeline and ColumnTransformer style (default) */#sk-container-id-1 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);
|
| 146 |
}/* Toggleable label */
|
| 147 |
+
#sk-container-id-1 label.sk-toggleable__label {cursor: pointer;display: block;width: 100%;margin-bottom: 0;padding: 0.5em;box-sizing: border-box;text-align: center;
|
| 148 |
+
}#sk-container-id-1 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);
|
| 149 |
+
}#sk-container-id-1 label.sk-toggleable__label-arrow:hover:before {color: var(--sklearn-color-text);
|
| 150 |
+
}/* Toggleable content - dropdown */#sk-container-id-1 div.sk-toggleable__content {max-height: 0;max-width: 0;overflow: hidden;text-align: left;/* unfitted */background-color: var(--sklearn-color-unfitted-level-0);
|
| 151 |
+
}#sk-container-id-1 div.sk-toggleable__content.fitted {/* fitted */background-color: var(--sklearn-color-fitted-level-0);
|
| 152 |
+
}#sk-container-id-1 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);
|
| 153 |
+
}#sk-container-id-1 div.sk-toggleable__content.fitted pre {/* unfitted */background-color: var(--sklearn-color-fitted-level-0);
|
| 154 |
+
}#sk-container-id-1 input.sk-toggleable__control:checked~div.sk-toggleable__content {/* Expand drop-down */max-height: 200px;max-width: 100%;overflow: auto;
|
| 155 |
+
}#sk-container-id-1 input.sk-toggleable__control:checked~label.sk-toggleable__label-arrow:before {content: "▾";
|
| 156 |
+
}/* Pipeline/ColumnTransformer-specific style */#sk-container-id-1 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);
|
| 157 |
+
}#sk-container-id-1 div.sk-label.fitted input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: var(--sklearn-color-fitted-level-2);
|
| 158 |
}/* Estimator-specific style *//* Colorize estimator box */
|
| 159 |
+
#sk-container-id-1 div.sk-estimator input.sk-toggleable__control:checked~label.sk-toggleable__label {/* unfitted */background-color: var(--sklearn-color-unfitted-level-2);
|
| 160 |
+
}#sk-container-id-1 div.sk-estimator.fitted input.sk-toggleable__control:checked~label.sk-toggleable__label {/* fitted */background-color: var(--sklearn-color-fitted-level-2);
|
| 161 |
+
}#sk-container-id-1 div.sk-label label.sk-toggleable__label,
|
| 162 |
+
#sk-container-id-1 div.sk-label label {/* The background is the default theme color */color: var(--sklearn-color-text-on-default-background);
|
| 163 |
}/* On hover, darken the color of the background */
|
| 164 |
+
#sk-container-id-1 div.sk-label:hover label.sk-toggleable__label {color: var(--sklearn-color-text);background-color: var(--sklearn-color-unfitted-level-2);
|
| 165 |
}/* Label box, darken color on hover, fitted */
|
| 166 |
+
#sk-container-id-1 div.sk-label.fitted:hover label.sk-toggleable__label.fitted {color: var(--sklearn-color-text);background-color: var(--sklearn-color-fitted-level-2);
|
| 167 |
+
}/* Estimator label */#sk-container-id-1 div.sk-label label {font-family: monospace;font-weight: bold;display: inline-block;line-height: 1.2em;
|
| 168 |
+
}#sk-container-id-1 div.sk-label-container {text-align: center;
|
| 169 |
}/* Estimator-specific */
|
| 170 |
+
#sk-container-id-1 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);
|
| 171 |
+
}#sk-container-id-1 div.sk-estimator.fitted {/* fitted */background-color: var(--sklearn-color-fitted-level-0);
|
| 172 |
}/* on hover */
|
| 173 |
+
#sk-container-id-1 div.sk-estimator:hover {/* unfitted */background-color: var(--sklearn-color-unfitted-level-2);
|
| 174 |
+
}#sk-container-id-1 div.sk-estimator.fitted:hover {/* fitted */background-color: var(--sklearn-color-fitted-level-2);
|
| 175 |
}/* Specification for estimator info (e.g. "i" and "?") *//* Common style for "i" and "?" */.sk-estimator-doc-link,
|
| 176 |
a:link.sk-estimator-doc-link,
|
| 177 |
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);
|
|
|
|
| 191 |
.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);
|
| 192 |
}.sk-estimator-doc-link.fitted span {/* fitted */background: var(--sklearn-color-fitted-level-0);border: var(--sklearn-color-fitted-level-3);
|
| 193 |
}.sk-estimator-doc-link:hover span {display: block;
|
| 194 |
+
}/* "?"-specific style due to the `<a>` HTML tag */#sk-container-id-1 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;
|
| 195 |
+
}#sk-container-id-1 a.estimator_doc_link.fitted {/* fitted */border: var(--sklearn-color-fitted-level-1) 1pt solid;color: var(--sklearn-color-fitted-level-1);
|
| 196 |
}/* On hover */
|
| 197 |
+
#sk-container-id-1 a.estimator_doc_link:hover {/* unfitted */background-color: var(--sklearn-color-unfitted-level-3);color: var(--sklearn-color-background);text-decoration: none;
|
| 198 |
+
}#sk-container-id-1 a.estimator_doc_link.fitted:hover {/* fitted */background-color: var(--sklearn-color-fitted-level-3);
|
| 199 |
}
|
| 200 |
+
</style><div id="sk-container-id-1" class="sk-top-container" style="overflow: auto;"><div class="sk-text-repr-fallback"><pre>RandomForestClassifier()</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-1" type="checkbox" checked><label for="sk-estimator-id-1" class="sk-toggleable__label fitted sk-toggleable__label-arrow fitted"> RandomForestClassifier<a class="sk-estimator-doc-link fitted" rel="noreferrer" target="_blank" href="https://scikit-learn.org/1.5/modules/generated/sklearn.ensemble.RandomForestClassifier.html">?<span>Documentation for RandomForestClassifier</span></a><span class="sk-estimator-doc-link fitted">i<span>Fitted</span></span></label><div class="sk-toggleable__content fitted"><pre>RandomForestClassifier()</pre></div> </div></div></div></div>
|
| 201 |
|
| 202 |
## Evaluation Results
|
| 203 |
|
| 204 |
| Metric | Value |
|
| 205 |
|----------|----------|
|
| 206 |
+
| f1 score | 0.999401 |
|
| 207 |
+
| accuracy | 0.999319 |
|
| 208 |
|
| 209 |
# How to Get Started with the Model
|
| 210 |
|
config.json
CHANGED
|
@@ -16,21 +16,22 @@
|
|
| 16 |
"Subscription Type_Standard",
|
| 17 |
"Contract Length_Annual",
|
| 18 |
"Contract Length_Monthly",
|
| 19 |
-
"Contract Length_Quarterly"
|
|
|
|
| 20 |
],
|
| 21 |
"environment": [
|
| 22 |
"scikit-learn=1.5.2"
|
| 23 |
],
|
| 24 |
"example_input": {
|
| 25 |
"Age": [
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
],
|
| 30 |
"Contract Length_Annual": [
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
],
|
| 35 |
"Contract Length_Monthly": [
|
| 36 |
false,
|
|
@@ -38,42 +39,42 @@
|
|
| 38 |
false
|
| 39 |
],
|
| 40 |
"Contract Length_Quarterly": [
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
],
|
| 45 |
"CustomerID": [
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
],
|
| 50 |
"Gender_Female": [
|
| 51 |
-
true,
|
| 52 |
false,
|
| 53 |
-
true
|
|
|
|
| 54 |
],
|
| 55 |
"Gender_Male": [
|
| 56 |
-
false,
|
| 57 |
true,
|
| 58 |
-
false
|
|
|
|
| 59 |
],
|
| 60 |
"Last Interaction": [
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
],
|
| 65 |
"Payment Delay": [
|
| 66 |
-
|
| 67 |
-
|
| 68 |
24.0
|
| 69 |
],
|
| 70 |
"Subscription Type_Basic": [
|
| 71 |
-
|
| 72 |
true,
|
| 73 |
false
|
| 74 |
],
|
| 75 |
"Subscription Type_Premium": [
|
| 76 |
-
|
| 77 |
false,
|
| 78 |
false
|
| 79 |
],
|
|
@@ -83,24 +84,29 @@
|
|
| 83 |
true
|
| 84 |
],
|
| 85 |
"Support Calls": [
|
| 86 |
-
8.0,
|
| 87 |
0.0,
|
| 88 |
-
0.0
|
|
|
|
| 89 |
],
|
| 90 |
"Tenure": [
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
],
|
| 95 |
"Total Spend": [
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
],
|
| 100 |
"Usage Frequency": [
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 104 |
]
|
| 105 |
},
|
| 106 |
"model": {
|
|
|
|
| 16 |
"Subscription Type_Standard",
|
| 17 |
"Contract Length_Annual",
|
| 18 |
"Contract Length_Monthly",
|
| 19 |
+
"Contract Length_Quarterly",
|
| 20 |
+
"__index_level_0__"
|
| 21 |
],
|
| 22 |
"environment": [
|
| 23 |
"scikit-learn=1.5.2"
|
| 24 |
],
|
| 25 |
"example_input": {
|
| 26 |
"Age": [
|
| 27 |
+
30.0,
|
| 28 |
+
39.0,
|
| 29 |
+
34.0
|
| 30 |
],
|
| 31 |
"Contract Length_Annual": [
|
| 32 |
+
true,
|
| 33 |
+
true,
|
| 34 |
+
false
|
| 35 |
],
|
| 36 |
"Contract Length_Monthly": [
|
| 37 |
false,
|
|
|
|
| 39 |
false
|
| 40 |
],
|
| 41 |
"Contract Length_Quarterly": [
|
| 42 |
+
false,
|
| 43 |
+
false,
|
| 44 |
+
true
|
| 45 |
],
|
| 46 |
"CustomerID": [
|
| 47 |
+
385551.0,
|
| 48 |
+
261335.0,
|
| 49 |
+
211059.0
|
| 50 |
],
|
| 51 |
"Gender_Female": [
|
|
|
|
| 52 |
false,
|
| 53 |
+
true,
|
| 54 |
+
false
|
| 55 |
],
|
| 56 |
"Gender_Male": [
|
|
|
|
| 57 |
true,
|
| 58 |
+
false,
|
| 59 |
+
true
|
| 60 |
],
|
| 61 |
"Last Interaction": [
|
| 62 |
+
20.0,
|
| 63 |
+
9.0,
|
| 64 |
+
12.0
|
| 65 |
],
|
| 66 |
"Payment Delay": [
|
| 67 |
+
19.0,
|
| 68 |
+
7.0,
|
| 69 |
24.0
|
| 70 |
],
|
| 71 |
"Subscription Type_Basic": [
|
| 72 |
+
true,
|
| 73 |
true,
|
| 74 |
false
|
| 75 |
],
|
| 76 |
"Subscription Type_Premium": [
|
| 77 |
+
false,
|
| 78 |
false,
|
| 79 |
false
|
| 80 |
],
|
|
|
|
| 84 |
true
|
| 85 |
],
|
| 86 |
"Support Calls": [
|
|
|
|
| 87 |
0.0,
|
| 88 |
+
0.0,
|
| 89 |
+
8.0
|
| 90 |
],
|
| 91 |
"Tenure": [
|
| 92 |
+
43.0,
|
| 93 |
+
31.0,
|
| 94 |
+
17.0
|
| 95 |
],
|
| 96 |
"Total Spend": [
|
| 97 |
+
914.15,
|
| 98 |
+
657.3,
|
| 99 |
+
511.21
|
| 100 |
],
|
| 101 |
"Usage Frequency": [
|
| 102 |
+
23.0,
|
| 103 |
+
28.0,
|
| 104 |
+
24.0
|
| 105 |
+
],
|
| 106 |
+
"__index_level_0__": [
|
| 107 |
+
378436,
|
| 108 |
+
254221,
|
| 109 |
+
205977
|
| 110 |
]
|
| 111 |
},
|
| 112 |
"model": {
|
hw4_baseline_classifier.pkl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:617902326c2dc6d1f779d137e0d5c915f7cff6b7411c4673a1cd0ef4157dcc2f
|
| 3 |
+
size 9988716
|