Giter Site home page Giter Site logo

automunge / automunge Goto Github PK

View Code? Open in Web Editor NEW
163.0 5.0 22.0 13.71 MB

Tabular feature encoding pipelines for machine learning with options for string parsing, missing data infill, and stochastic perturbations.

Home Page: https://www.automunge.com

License: BSD 3-Clause "New" or "Revised" License

Python 32.32% Jupyter Notebook 67.68%
machine-learning data-science

automunge's People

Contributors

automunge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

automunge's Issues

Possible date-time encoding feature?

AutoMunge is a great idea! I love it!

Did you think about adding some more interesting encoding for time based features?
Something like here

I think it would make sense in time series cases!

What's your take?

Onehot encoding enhancement

In some cases, onehot encoding categorical variables may hurt performance in tree based models. For some alternatives see
here here and here

Maybe it would be worth incorporating them.
What is your opinion?

Thanks!

[Question] Source Organisation

I saw a talk about the Automunge on Data Centric AI workshop in NIPS. Just taking a peek at the code.
I was going through the code and I noticed that the source is just a single file. Any specific reason for this?

pandas depreciating .mad

appears that pandas will be depreciating .mad (median absolute deviation) starting with 1.5.0
pandas.Series.mad

see e.g.
pandas-dev/pandas#28995
pandas-dev/pandas#11787

We currently collect mad in some of our drift stats as well as the transform built off of _process_MADn / _postprocess_MADn / _inverseprocess_MADn

this will need update when pandas rolls out 1.5.0, I think expectewd in September 2022

Non apply numeric standard transform

Any changes that could allow us to apply transformations solely to categorical data while preserving the original format of numeric data upon inputting the data source?

TypeError: invalid type promotion

Hi,

I am getting an error with a column data type timestamp:

_______________
Begin Automunge processing
evaluating column:  index
Traceback (most recent call last):
  File "D:\Anaconda3\envs\tipjar\lib\site-packages\IPython\core\interactiveshell.py", line 3417, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-2-24482f45187e>", line 18, in <module>
    featureimportance, postprocess_dict = am.automunge(X_train_events)
  File "D:\Anaconda3\envs\tipjar\lib\site-packages\Automunge\Automunger.py", line 30278, in automunge
    df_train = self.convert_inf_to_nan(df_train, column, category, postprocess_dict)
  File "D:\Anaconda3\envs\tipjar\lib\site-packages\Automunge\Automunger.py", line 29484, in convert_inf_to_nan
    df[column] = np.where(df[column] == np.inf, np.nan, df[column])
  File "<__array_function__ internals>", line 6, in where
TypeError: invalid type promotion

The dataframe has datatype:

X_train_events.dtypes
Out[4]: 
index     datetime64[ns]
open             float64
high             float64
low              float64
close            float64
volume             int64
dtype: object

Also, the index column all have proper date/time stamps ie no NANs, or inf etc..

I am new to automunge so still trying to understand the package. Thanks for any help

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.