Meoinfo
Install
pip install meoinfo
How to use
from meoinfo.core import Meoinfo
import pandas as pd
from pathlib import Path
p = Path('..')
df_train = pd.read_csv(p/'datasets/churn_train.csv')
df_test = pd.read_csv(p/'datasets/churn_test.csv')
df_oot = pd.read_csv(p/'datasets/churn_oot.csv')
experiment = Meoinfo(
train_data=df_train,
test_data=df_test,
oot_data=df_oot,
baseline_y_true_name='Churn',
baseline_y_prob_name='y_prob',
features=df_train.drop('Churn', axis=1).columns.tolist()
)
experiment.train_data.head()
<style scoped>
.dataframe tbody tr th:only-of-type {
vertical-align: middle;
}
.dataframe tbody tr th {
vertical-align: top;
}
.dataframe thead th {
text-align: right;
}
</style>
| gender | SeniorCitizen | Partner | Dependents | tenure | PhoneService | MultipleLines | InternetService | OnlineSecurity | OnlineBackup | DeviceProtection | TechSupport | StreamingTV | StreamingMovies | Contract | PaperlessBilling | PaymentMethod | MonthlyCharges | TotalCharges | Churn | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | Male | 1 | Yes | No | 72 | Yes | Yes | DSL | No | No | Yes | No | Yes | Yes | Two year | Yes | Credit card (automatic) | 73.45 | 5329 | No |
| 1 | Male | 0 | No | No | 9 | Yes | No | No | No internet service | No internet service | No internet service | No internet service | No internet service | No internet service | Month-to-month | No | Mailed check | 20.25 | 178.5 | Yes |
| 2 | Male | 0 | No | No | 69 | Yes | Yes | DSL | Yes | Yes | Yes | Yes | Yes | Yes | Two year | No | Mailed check | 90.65 | 6322.1 | No |
| 3 | Male | 0 | No | No | 2 | Yes | No | DSL | No | Yes | No | No | No | No | Month-to-month | Yes | Mailed check | 50.30 | 92.75 | No |
| 4 | Male | 0 | No | No | 7 | Yes | No | DSL | No | No | No | No | Yes | No | Month-to-month | No | Mailed check | 54.85 | 370.4 | No |
experiment.algorithm
'catboost'
Metadata
Release files for meoinfo 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| meoinfo-0.0.4.tar.gz | 8.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| meoinfo-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.0 kB
Release files / meoinfo-0.0.4.tar.gz
| Download URL | meoinfo-0.0.4.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be252d9a41a191c6f28eb8cad6aa300f8807f722fb5a6fdbc9279c43c27cbfbd
|
|
BLAKE2b-256 checksum How to use checksums |
00da6e3653f743e4c158a578bcdc88d3fb17f2588b62ab5c7dc3b1d60d6b4852
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.13
|
Release files / meoinfo-0.0.4-py3-none-any.whl
| Download URL | meoinfo-0.0.4-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b076b89098cb7dc2bdbff668d3967cb2c92ce5c23161eaf9b731510ee15ce82
|
|
BLAKE2b-256 checksum How to use checksums |
5a903d294c2b57dddb1419dca32f2751e9633d53f04f20c6119cf64323886654
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.13
|