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

SegmentedRegressionModel #32

Merged
merged 6 commits into from
Jun 5, 2014
Merged

SegmentedRegressionModel #32

merged 6 commits into from
Jun 5, 2014

Commits on May 28, 2014

  1. Allow non-Series for current_choice in LCM fit method

    If not a Series it should refer to a column in the choosers table.
    We're usually passing in a column from the choosers table anyway,
    so it makes sense to allow it to be specified this way.
    jiffyclub committed May 28, 2014
    Configuration menu
    Copy the full SHA
    dee0355 View commit details
    Browse the repository at this point in the history
  2. Add basics of a SegmentedRegressionModel

    This is somewhere between a RegressionModel and the
    RegressionModelGroup. Unlike the group the individual models are not
    fully configurable: only the model expression and ytransform can be
    customized. Fit and predict filters are global across all segments.
    
    YAML interface is still to be done.
    jiffyclub committed May 28, 2014
    Configuration menu
    Copy the full SHA
    f83f376 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8e0ddb8 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2014

  1. Configuration menu
    Copy the full SHA
    7f7b16d View commit details
    Browse the repository at this point in the history
  2. segmented regression estimation is now working

    This appears to be working with my workflow where I edit the yaml directly.  The biggest issue was when using numpy types as the segmented keys (when building_type_ids are ints).  Also edited the yamlmodelrunner to peek into the config file and choose the segmented or non-segmented model based on the model_type.  I will definitely be making these segmented models most of the time so I'm not sure if the forking strategy is really necessary.
    fscottfoti committed Jun 5, 2014
    Configuration menu
    Copy the full SHA
    30538de View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bcbc5f0 View commit details
    Browse the repository at this point in the history