Metadata-Version: 2.1
Name: woeBinningPandas
Version: 1.4
Summary: My package from github repo
Home-page: https://github.com/V1ad98/woeBinningPandas.git
Author: V1ad98
Author-email: 47775603+V1ad98@users.noreply.github.com
License: MIT
Keywords: Package from github repo
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Text Processing :: Linguistic
Description-Content-Type: text/markdown
Requires-Dist: markdown
Requires-Dist: pandas
Requires-Dist: numpy

# woeBinningPandas
The basis of this code was taken woeBinning code (https://github.com/cran/woeBinning/blob/master/R/woe.binning.R) and changed from R to Python.
# Used programs versions
Spyder (Python 3.7)

Pandas 0.23.4
# Used Python libraries
import pandas as pd

import numpy as np

import math

import warnings

import copy
# Using
#### Set your variable CSV file
> yourvariable = pd.read_csv('Yourfile.csv')
#### Set the df variable and specify the column names from your CSV file, which you want to use.
> df = yourvariable[['columnnames1', 'columnnames2','columnnames3']]
#### At the end of the code in the function call woe_binning set the values of the arguments
> #woe_binning (df, target_var, pred_var, min_perc_total, min_perc_class, stop_limit, abbrev_fact_levels, event_class)        
> woe_binning(df, 'column_names_with_0_or_1', 'column_names_with_numbers_or_factors', 0.05, 0, 0.1, 50, 'bad') 


