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

Make CalculatorPipeliner #21

Open
lodurality opened this issue Apr 24, 2017 · 0 comments
Open

Make CalculatorPipeliner #21

lodurality opened this issue Apr 24, 2017 · 0 comments
Assignees

Comments

@lodurality
Copy link
Member

Make CalculatorPipeliner which doesn't use eval_cv and grid_cv and predictive_models. You need only to specify data transforming steps and list of calculating functions (instead of scoring functions) to calculate on data. Example: ICC calculations for MICCAI.

Example:

feature_engineering = [('VT', VarianceThreshold()),
                       ('PCA', PCA())]

# Preprocessing step variants (2nd step)
scalers = [('standard', StandardScaler()),
           ('minmax', MinMaxScaler())]

# Reskit needs to define steps in this manner
steps = [('feature_engineering', feature_engineering),
         ('scaler', scalers)]
calc_pipe = CalculatorPipeliner(steps)

calculators = {'ICC' : ICC_func,
                       'MAX', Max_func}
calc_pipe.get_results(X, y = None, calculators = calculators)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants