Skip to main content

No project description provided

Project description

Meoinfo

PyPI package

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'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meoinfo-0.0.4.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

meoinfo-0.0.4-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file meoinfo-0.0.4.tar.gz.

File metadata

  • Download URL: meoinfo-0.0.4.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for meoinfo-0.0.4.tar.gz
Algorithm Hash digest
SHA256 be252d9a41a191c6f28eb8cad6aa300f8807f722fb5a6fdbc9279c43c27cbfbd
MD5 9b8ca374b2539384d13845e16a9d91a9
BLAKE2b-256 00da6e3653f743e4c158a578bcdc88d3fb17f2588b62ab5c7dc3b1d60d6b4852

See more details on using hashes here.

File details

Details for the file meoinfo-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: meoinfo-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for meoinfo-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5b076b89098cb7dc2bdbff668d3967cb2c92ce5c23161eaf9b731510ee15ce82
MD5 26da22e2f509233f08138a9e4edd339d
BLAKE2b-256 5a903d294c2b57dddb1419dca32f2751e9633d53f04f20c6119cf64323886654

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page