Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DataFrameMapper feature metadata and y-value support. #54

Closed
wants to merge 5 commits into from

Commits on Mar 1, 2016

  1. Add initial support for y_feature extraction to DataFrameMapper.

    Adds optional 'y_feature' to DataFrameMapper and 'extract_y' method,
    equivalent to 'transform', to extract y value arrays from input
    dataframe. Updates 'fit' method to accept optional 'y' values.
    asford committed Mar 1, 2016
    Configuration menu
    Copy the full SHA
    eee470d View commit details
    Browse the repository at this point in the history
  2. Add extract_X and extract_Xy methods to DataFrameMapper.

    Adding extract_* interfaces to DataFrameMapper to support extraction of
    X and y ndarrays for downstream sklearn components.
    asford committed Mar 1, 2016
    Configuration menu
    Copy the full SHA
    c268bc4 View commit details
    Browse the repository at this point in the history
  3. Add DataFrameMapper.feature_indices_ and update class docstring.

    Add 'feature_indices_' to DataFrameMapper, tracking indicies of features
    in output feature array. Update class docstring to sklearn standard
    format.
    asford committed Mar 1, 2016
    Configuration menu
    Copy the full SHA
    c888f73 View commit details
    Browse the repository at this point in the history
  4. Add DataFramePipeline Pipeline subclass supporting DataFrame input.

    Adding DataFramePipeline to support extraction of fitting targets via
    input DataFrameMapper. 'fit', 'fit_predict', 'fit_transform', and
    'score' updated to extract fitting targets from input DataFrame via
    DataFrameMapper 'extract_y' interface. Pipeline requires first step in
    pipeline to be a DataFrameMapper instance.
    asford committed Mar 1, 2016
    Configuration menu
    Copy the full SHA
    361fd87 View commit details
    Browse the repository at this point in the history
  5. Add DataFrameMapper column metadata properies.

    Add 'X_*' properties to DataFrameMapper, allowing association of source
    column metadata with output feature indicies. Fix 'feature_indicies_'
    property definition.
    
    Add initial example of DataFrameMapper and DateFramePipeline.
    asford committed Mar 1, 2016
    Configuration menu
    Copy the full SHA
    6f47800 View commit details
    Browse the repository at this point in the history