rajistics commited on
Commit
f7e35c8
1 Parent(s): d426f8f

pushing files to the repo from the example!

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. churn.pkl +2 -2
README.md CHANGED
@@ -160,7 +160,7 @@ The model is trained with below hyperparameters.
160
 
161
  The model plot is below.
162
 
163
- <style>#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b {color: black;background-color: white;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b pre{padding: 0;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b div.sk-toggleable {background-color: white;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b label.sk-toggleable__label {cursor: pointer;display: block;width: 100%;margin-bottom: 0;padding: 0.3em;box-sizing: border-box;text-align: center;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b label.sk-toggleable__label-arrow:before {content: "▸";float: left;margin-right: 0.25em;color: #696969;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b label.sk-toggleable__label-arrow:hover:before {color: black;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b div.sk-estimator:hover label.sk-toggleable__label-arrow:before {color: black;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b div.sk-toggleable__content {max-height: 0;max-width: 0;overflow: hidden;text-align: left;background-color: #f0f8ff;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b div.sk-toggleable__content pre {margin: 0.2em;color: black;border-radius: 0.25em;background-color: #f0f8ff;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b input.sk-toggleable__control:checked~div.sk-toggleable__content {max-height: 200px;max-width: 100%;overflow: auto;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b input.sk-toggleable__control:checked~label.sk-toggleable__label-arrow:before {content: "▾";}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b div.sk-estimator input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b div.sk-label input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b 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;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b div.sk-estimator {font-family: monospace;background-color: #f0f8ff;border: 1px dotted black;border-radius: 0.25em;box-sizing: border-box;margin-bottom: 0.5em;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b div.sk-estimator:hover {background-color: #d4ebff;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b div.sk-parallel-item::after {content: "";width: 100%;border-bottom: 1px solid gray;flex-grow: 1;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b div.sk-label:hover label.sk-toggleable__label {background-color: #d4ebff;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b div.sk-serial::before {content: "";position: absolute;border-left: 1px solid gray;box-sizing: border-box;top: 2em;bottom: 0;left: 50%;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b div.sk-serial {display: flex;flex-direction: column;align-items: center;background-color: white;padding-right: 0.2em;padding-left: 0.2em;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b div.sk-item {z-index: 1;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b div.sk-parallel {display: flex;align-items: stretch;justify-content: center;background-color: white;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b div.sk-parallel::before {content: "";position: absolute;border-left: 1px solid gray;box-sizing: border-box;top: 2em;bottom: 0;left: 50%;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b div.sk-parallel-item {display: flex;flex-direction: column;position: relative;background-color: white;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b div.sk-parallel-item:first-child::after {align-self: flex-end;width: 50%;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b div.sk-parallel-item:last-child::after {align-self: flex-start;width: 50%;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b div.sk-parallel-item:only-child::after {width: 0;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b div.sk-dashed-wrapped {border: 1px dashed gray;margin: 0 0.4em 0.5em 0.4em;box-sizing: border-box;padding-bottom: 0.4em;background-color: white;position: relative;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b div.sk-label label {font-family: monospace;font-weight: bold;background-color: white;display: inline-block;line-height: 1.2em;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b div.sk-label-container {position: relative;z-index: 2;text-align: center;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b 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 the default 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;}#sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b div.sk-text-repr-fallback {display: none;}</style><div id="sk-2f8511ba-a0db-44ab-9923-e3dacad6ed8b" class="sk-top-container" style="overflow: auto;"><div class="sk-text-repr-fallback"><pre>Pipeline(steps=[(&#x27;preprocessor&#x27;,ColumnTransformer(transformers=[(&#x27;num&#x27;,Pipeline(steps=[(&#x27;imputer&#x27;,SimpleImputer(strategy=&#x27;median&#x27;)),(&#x27;std_scaler&#x27;,StandardScaler())]),[&#x27;MonthlyCharges&#x27;,&#x27;TotalCharges&#x27;, &#x27;tenure&#x27;]),(&#x27;cat&#x27;,OneHotEncoder(handle_unknown=&#x27;ignore&#x27;),[&#x27;SeniorCitizen&#x27;, &#x27;gender&#x27;,&#x27;Partner&#x27;, &#x27;Dependents&#x27;,&#x27;PhoneService&#x27;,&#x27;MultipleLines&#x27;,&#x27;InternetService&#x27;,&#x27;OnlineSecurity&#x27;,&#x27;OnlineBackup&#x27;,&#x27;DeviceProtection&#x27;,&#x27;TechSupport&#x27;, &#x27;StreamingTV&#x27;,&#x27;StreamingMovies&#x27;,&#x27;Contract&#x27;,&#x27;PaperlessBilling&#x27;,&#x27;PaymentMethod&#x27;])])),(&#x27;classifier&#x27;,LogisticRegression(class_weight=&#x27;balanced&#x27;, max_iter=300))])</pre><b>Please rerun this cell to show the HTML repr or trust the notebook.</b></div><div class="sk-container" hidden><div class="sk-item sk-dashed-wrapped"><div class="sk-label-container"><div class="sk-label sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="e40df1ca-7c12-4af8-9eab-78b223be6031" type="checkbox" ><label for="e40df1ca-7c12-4af8-9eab-78b223be6031" class="sk-toggleable__label sk-toggleable__label-arrow">Pipeline</label><div class="sk-toggleable__content"><pre>Pipeline(steps=[(&#x27;preprocessor&#x27;,ColumnTransformer(transformers=[(&#x27;num&#x27;,Pipeline(steps=[(&#x27;imputer&#x27;,SimpleImputer(strategy=&#x27;median&#x27;)),(&#x27;std_scaler&#x27;,StandardScaler())]),[&#x27;MonthlyCharges&#x27;,&#x27;TotalCharges&#x27;, &#x27;tenure&#x27;]),(&#x27;cat&#x27;,OneHotEncoder(handle_unknown=&#x27;ignore&#x27;),[&#x27;SeniorCitizen&#x27;, &#x27;gender&#x27;,&#x27;Partner&#x27;, &#x27;Dependents&#x27;,&#x27;PhoneService&#x27;,&#x27;MultipleLines&#x27;,&#x27;InternetService&#x27;,&#x27;OnlineSecurity&#x27;,&#x27;OnlineBackup&#x27;,&#x27;DeviceProtection&#x27;,&#x27;TechSupport&#x27;, &#x27;StreamingTV&#x27;,&#x27;StreamingMovies&#x27;,&#x27;Contract&#x27;,&#x27;PaperlessBilling&#x27;,&#x27;PaymentMethod&#x27;])])),(&#x27;classifier&#x27;,LogisticRegression(class_weight=&#x27;balanced&#x27;, max_iter=300))])</pre></div></div></div><div class="sk-serial"><div class="sk-item sk-dashed-wrapped"><div class="sk-label-container"><div class="sk-label sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="5ab95faf-6b5c-4c92-b62a-e6e89ff34e98" type="checkbox" ><label for="5ab95faf-6b5c-4c92-b62a-e6e89ff34e98" class="sk-toggleable__label sk-toggleable__label-arrow">preprocessor: ColumnTransformer</label><div class="sk-toggleable__content"><pre>ColumnTransformer(transformers=[(&#x27;num&#x27;,Pipeline(steps=[(&#x27;imputer&#x27;,SimpleImputer(strategy=&#x27;median&#x27;)),(&#x27;std_scaler&#x27;,StandardScaler())]),[&#x27;MonthlyCharges&#x27;, &#x27;TotalCharges&#x27;, &#x27;tenure&#x27;]),(&#x27;cat&#x27;, OneHotEncoder(handle_unknown=&#x27;ignore&#x27;),[&#x27;SeniorCitizen&#x27;, &#x27;gender&#x27;, &#x27;Partner&#x27;,&#x27;Dependents&#x27;, &#x27;PhoneService&#x27;, &#x27;MultipleLines&#x27;,&#x27;InternetService&#x27;, &#x27;OnlineSecurity&#x27;,&#x27;OnlineBackup&#x27;, &#x27;DeviceProtection&#x27;,&#x27;TechSupport&#x27;, &#x27;StreamingTV&#x27;,&#x27;StreamingMovies&#x27;, &#x27;Contract&#x27;,&#x27;PaperlessBilling&#x27;, &#x27;PaymentMethod&#x27;])])</pre></div></div></div><div class="sk-parallel"><div class="sk-parallel-item"><div class="sk-item"><div class="sk-label-container"><div class="sk-label sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="b35864d8-108a-401d-b798-3252dc36fd13" type="checkbox" ><label for="b35864d8-108a-401d-b798-3252dc36fd13" class="sk-toggleable__label sk-toggleable__label-arrow">num</label><div class="sk-toggleable__content"><pre>[&#x27;MonthlyCharges&#x27;, &#x27;TotalCharges&#x27;, &#x27;tenure&#x27;]</pre></div></div></div><div class="sk-serial"><div class="sk-item"><div class="sk-serial"><div class="sk-item"><div class="sk-estimator sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="7dbe5c20-0699-4796-abea-d65898c34ddb" type="checkbox" ><label for="7dbe5c20-0699-4796-abea-d65898c34ddb" class="sk-toggleable__label sk-toggleable__label-arrow">SimpleImputer</label><div class="sk-toggleable__content"><pre>SimpleImputer(strategy=&#x27;median&#x27;)</pre></div></div></div><div class="sk-item"><div class="sk-estimator sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="92bcdb13-bd97-41ad-bb4e-069d6ca8dabc" type="checkbox" ><label for="92bcdb13-bd97-41ad-bb4e-069d6ca8dabc" class="sk-toggleable__label sk-toggleable__label-arrow">StandardScaler</label><div class="sk-toggleable__content"><pre>StandardScaler()</pre></div></div></div></div></div></div></div></div><div class="sk-parallel-item"><div class="sk-item"><div class="sk-label-container"><div class="sk-label sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="56fad41f-b37e-4d4b-a3fa-ae0d495ae27c" type="checkbox" ><label for="56fad41f-b37e-4d4b-a3fa-ae0d495ae27c" class="sk-toggleable__label sk-toggleable__label-arrow">cat</label><div class="sk-toggleable__content"><pre>[&#x27;SeniorCitizen&#x27;, &#x27;gender&#x27;, &#x27;Partner&#x27;, &#x27;Dependents&#x27;, &#x27;PhoneService&#x27;, &#x27;MultipleLines&#x27;, &#x27;InternetService&#x27;, &#x27;OnlineSecurity&#x27;, &#x27;OnlineBackup&#x27;, &#x27;DeviceProtection&#x27;, &#x27;TechSupport&#x27;, &#x27;StreamingTV&#x27;, &#x27;StreamingMovies&#x27;, &#x27;Contract&#x27;, &#x27;PaperlessBilling&#x27;, &#x27;PaymentMethod&#x27;]</pre></div></div></div><div class="sk-serial"><div class="sk-item"><div class="sk-estimator sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="3365f471-1565-4f85-bac0-7c318e8bf004" type="checkbox" ><label for="3365f471-1565-4f85-bac0-7c318e8bf004" class="sk-toggleable__label sk-toggleable__label-arrow">OneHotEncoder</label><div class="sk-toggleable__content"><pre>OneHotEncoder(handle_unknown=&#x27;ignore&#x27;)</pre></div></div></div></div></div></div></div></div><div class="sk-item"><div class="sk-estimator sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="d1307b74-3b6c-4b20-9be7-bc8da9a06cea" type="checkbox" ><label for="d1307b74-3b6c-4b20-9be7-bc8da9a06cea" class="sk-toggleable__label sk-toggleable__label-arrow">LogisticRegression</label><div class="sk-toggleable__content"><pre>LogisticRegression(class_weight=&#x27;balanced&#x27;, max_iter=300)</pre></div></div></div></div></div></div></div>
164
 
165
  ## Evaluation Results
166
 
 
160
 
161
  The model plot is below.
162
 
163
+ <style>#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 {color: black;background-color: white;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 pre{padding: 0;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 div.sk-toggleable {background-color: white;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 label.sk-toggleable__label {cursor: pointer;display: block;width: 100%;margin-bottom: 0;padding: 0.3em;box-sizing: border-box;text-align: center;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 label.sk-toggleable__label-arrow:before {content: "▸";float: left;margin-right: 0.25em;color: #696969;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 label.sk-toggleable__label-arrow:hover:before {color: black;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 div.sk-estimator:hover label.sk-toggleable__label-arrow:before {color: black;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 div.sk-toggleable__content {max-height: 0;max-width: 0;overflow: hidden;text-align: left;background-color: #f0f8ff;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 div.sk-toggleable__content pre {margin: 0.2em;color: black;border-radius: 0.25em;background-color: #f0f8ff;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 input.sk-toggleable__control:checked~div.sk-toggleable__content {max-height: 200px;max-width: 100%;overflow: auto;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 input.sk-toggleable__control:checked~label.sk-toggleable__label-arrow:before {content: "▾";}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 div.sk-estimator input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 div.sk-label input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 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;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 div.sk-estimator {font-family: monospace;background-color: #f0f8ff;border: 1px dotted black;border-radius: 0.25em;box-sizing: border-box;margin-bottom: 0.5em;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 div.sk-estimator:hover {background-color: #d4ebff;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 div.sk-parallel-item::after {content: "";width: 100%;border-bottom: 1px solid gray;flex-grow: 1;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 div.sk-label:hover label.sk-toggleable__label {background-color: #d4ebff;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 div.sk-serial::before {content: "";position: absolute;border-left: 1px solid gray;box-sizing: border-box;top: 2em;bottom: 0;left: 50%;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 div.sk-serial {display: flex;flex-direction: column;align-items: center;background-color: white;padding-right: 0.2em;padding-left: 0.2em;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 div.sk-item {z-index: 1;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 div.sk-parallel {display: flex;align-items: stretch;justify-content: center;background-color: white;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 div.sk-parallel::before {content: "";position: absolute;border-left: 1px solid gray;box-sizing: border-box;top: 2em;bottom: 0;left: 50%;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 div.sk-parallel-item {display: flex;flex-direction: column;position: relative;background-color: white;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 div.sk-parallel-item:first-child::after {align-self: flex-end;width: 50%;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 div.sk-parallel-item:last-child::after {align-self: flex-start;width: 50%;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 div.sk-parallel-item:only-child::after {width: 0;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 div.sk-dashed-wrapped {border: 1px dashed gray;margin: 0 0.4em 0.5em 0.4em;box-sizing: border-box;padding-bottom: 0.4em;background-color: white;position: relative;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 div.sk-label label {font-family: monospace;font-weight: bold;background-color: white;display: inline-block;line-height: 1.2em;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 div.sk-label-container {position: relative;z-index: 2;text-align: center;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 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 the default 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;}#sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8 div.sk-text-repr-fallback {display: none;}</style><div id="sk-c1c26ac2-f1f3-4e8a-9ed7-42c6aa341ad8" class="sk-top-container" style="overflow: auto;"><div class="sk-text-repr-fallback"><pre>Pipeline(steps=[(&#x27;preprocessor&#x27;,ColumnTransformer(transformers=[(&#x27;num&#x27;,Pipeline(steps=[(&#x27;imputer&#x27;,SimpleImputer(strategy=&#x27;median&#x27;)),(&#x27;std_scaler&#x27;,StandardScaler())]),[&#x27;MonthlyCharges&#x27;,&#x27;TotalCharges&#x27;, &#x27;tenure&#x27;]),(&#x27;cat&#x27;,OneHotEncoder(handle_unknown=&#x27;ignore&#x27;),[&#x27;SeniorCitizen&#x27;, &#x27;gender&#x27;,&#x27;Partner&#x27;, &#x27;Dependents&#x27;,&#x27;PhoneService&#x27;,&#x27;MultipleLines&#x27;,&#x27;InternetService&#x27;,&#x27;OnlineSecurity&#x27;,&#x27;OnlineBackup&#x27;,&#x27;DeviceProtection&#x27;,&#x27;TechSupport&#x27;, &#x27;StreamingTV&#x27;,&#x27;StreamingMovies&#x27;,&#x27;Contract&#x27;,&#x27;PaperlessBilling&#x27;,&#x27;PaymentMethod&#x27;])])),(&#x27;classifier&#x27;,LogisticRegression(class_weight=&#x27;balanced&#x27;, max_iter=300))])</pre><b>Please rerun this cell to show the HTML repr or trust the notebook.</b></div><div class="sk-container" hidden><div class="sk-item sk-dashed-wrapped"><div class="sk-label-container"><div class="sk-label sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="93f46565-5158-493c-8f34-2dc2d417e37f" type="checkbox" ><label for="93f46565-5158-493c-8f34-2dc2d417e37f" class="sk-toggleable__label sk-toggleable__label-arrow">Pipeline</label><div class="sk-toggleable__content"><pre>Pipeline(steps=[(&#x27;preprocessor&#x27;,ColumnTransformer(transformers=[(&#x27;num&#x27;,Pipeline(steps=[(&#x27;imputer&#x27;,SimpleImputer(strategy=&#x27;median&#x27;)),(&#x27;std_scaler&#x27;,StandardScaler())]),[&#x27;MonthlyCharges&#x27;,&#x27;TotalCharges&#x27;, &#x27;tenure&#x27;]),(&#x27;cat&#x27;,OneHotEncoder(handle_unknown=&#x27;ignore&#x27;),[&#x27;SeniorCitizen&#x27;, &#x27;gender&#x27;,&#x27;Partner&#x27;, &#x27;Dependents&#x27;,&#x27;PhoneService&#x27;,&#x27;MultipleLines&#x27;,&#x27;InternetService&#x27;,&#x27;OnlineSecurity&#x27;,&#x27;OnlineBackup&#x27;,&#x27;DeviceProtection&#x27;,&#x27;TechSupport&#x27;, &#x27;StreamingTV&#x27;,&#x27;StreamingMovies&#x27;,&#x27;Contract&#x27;,&#x27;PaperlessBilling&#x27;,&#x27;PaymentMethod&#x27;])])),(&#x27;classifier&#x27;,LogisticRegression(class_weight=&#x27;balanced&#x27;, max_iter=300))])</pre></div></div></div><div class="sk-serial"><div class="sk-item sk-dashed-wrapped"><div class="sk-label-container"><div class="sk-label sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="a2ddaa6d-5b0c-43dd-90f7-1db684f11570" type="checkbox" ><label for="a2ddaa6d-5b0c-43dd-90f7-1db684f11570" class="sk-toggleable__label sk-toggleable__label-arrow">preprocessor: ColumnTransformer</label><div class="sk-toggleable__content"><pre>ColumnTransformer(transformers=[(&#x27;num&#x27;,Pipeline(steps=[(&#x27;imputer&#x27;,SimpleImputer(strategy=&#x27;median&#x27;)),(&#x27;std_scaler&#x27;,StandardScaler())]),[&#x27;MonthlyCharges&#x27;, &#x27;TotalCharges&#x27;, &#x27;tenure&#x27;]),(&#x27;cat&#x27;, OneHotEncoder(handle_unknown=&#x27;ignore&#x27;),[&#x27;SeniorCitizen&#x27;, &#x27;gender&#x27;, &#x27;Partner&#x27;,&#x27;Dependents&#x27;, &#x27;PhoneService&#x27;, &#x27;MultipleLines&#x27;,&#x27;InternetService&#x27;, &#x27;OnlineSecurity&#x27;,&#x27;OnlineBackup&#x27;, &#x27;DeviceProtection&#x27;,&#x27;TechSupport&#x27;, &#x27;StreamingTV&#x27;,&#x27;StreamingMovies&#x27;, &#x27;Contract&#x27;,&#x27;PaperlessBilling&#x27;, &#x27;PaymentMethod&#x27;])])</pre></div></div></div><div class="sk-parallel"><div class="sk-parallel-item"><div class="sk-item"><div class="sk-label-container"><div class="sk-label sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="ddfb7a55-351c-43c0-b8f2-5cb33b0d1501" type="checkbox" ><label for="ddfb7a55-351c-43c0-b8f2-5cb33b0d1501" class="sk-toggleable__label sk-toggleable__label-arrow">num</label><div class="sk-toggleable__content"><pre>[&#x27;MonthlyCharges&#x27;, &#x27;TotalCharges&#x27;, &#x27;tenure&#x27;]</pre></div></div></div><div class="sk-serial"><div class="sk-item"><div class="sk-serial"><div class="sk-item"><div class="sk-estimator sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="0989d790-04ab-4fe3-a51a-080e9c8c8f24" type="checkbox" ><label for="0989d790-04ab-4fe3-a51a-080e9c8c8f24" class="sk-toggleable__label sk-toggleable__label-arrow">SimpleImputer</label><div class="sk-toggleable__content"><pre>SimpleImputer(strategy=&#x27;median&#x27;)</pre></div></div></div><div class="sk-item"><div class="sk-estimator sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="4020d998-8431-401f-8b22-247f725ca262" type="checkbox" ><label for="4020d998-8431-401f-8b22-247f725ca262" class="sk-toggleable__label sk-toggleable__label-arrow">StandardScaler</label><div class="sk-toggleable__content"><pre>StandardScaler()</pre></div></div></div></div></div></div></div></div><div class="sk-parallel-item"><div class="sk-item"><div class="sk-label-container"><div class="sk-label sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="6cb0bc33-dace-45f6-b877-d135763cea7d" type="checkbox" ><label for="6cb0bc33-dace-45f6-b877-d135763cea7d" class="sk-toggleable__label sk-toggleable__label-arrow">cat</label><div class="sk-toggleable__content"><pre>[&#x27;SeniorCitizen&#x27;, &#x27;gender&#x27;, &#x27;Partner&#x27;, &#x27;Dependents&#x27;, &#x27;PhoneService&#x27;, &#x27;MultipleLines&#x27;, &#x27;InternetService&#x27;, &#x27;OnlineSecurity&#x27;, &#x27;OnlineBackup&#x27;, &#x27;DeviceProtection&#x27;, &#x27;TechSupport&#x27;, &#x27;StreamingTV&#x27;, &#x27;StreamingMovies&#x27;, &#x27;Contract&#x27;, &#x27;PaperlessBilling&#x27;, &#x27;PaymentMethod&#x27;]</pre></div></div></div><div class="sk-serial"><div class="sk-item"><div class="sk-estimator sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="7bdf37e2-a500-42a1-a3f9-afd7a5fd9b94" type="checkbox" ><label for="7bdf37e2-a500-42a1-a3f9-afd7a5fd9b94" class="sk-toggleable__label sk-toggleable__label-arrow">OneHotEncoder</label><div class="sk-toggleable__content"><pre>OneHotEncoder(handle_unknown=&#x27;ignore&#x27;)</pre></div></div></div></div></div></div></div></div><div class="sk-item"><div class="sk-estimator sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="4a2f97f4-e9c2-4f42-9c46-c6b6f049eab4" type="checkbox" ><label for="4a2f97f4-e9c2-4f42-9c46-c6b6f049eab4" class="sk-toggleable__label sk-toggleable__label-arrow">LogisticRegression</label><div class="sk-toggleable__content"><pre>LogisticRegression(class_weight=&#x27;balanced&#x27;, max_iter=300)</pre></div></div></div></div></div></div></div>
164
 
165
  ## Evaluation Results
166
 
churn.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:91d55154bc5efbad522284cc8aca6fd455155b5b909f0d2c57486246bfc58db5
3
- size 5574
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:131633dd2ffe0fad6097a327285ee513302748e9b3f5b9960f68fdca2e3cb6c9
3
+ size 4309