Skip to content

Unable to reproduce Tutorial3 #8

Description

@rcrehuet

I am trying to reproduce Tutorial 3 and I get different results. When I evaluate the cell in Grid Search from:
http://nbviewer.ipython.org/github/kyleabeauchamp/FitEnsemble/blob/master/tutorial/Tutorial3.ipynb
I get a different output. Could it be a different pymc version? I am using version 2.3.2.
My sampling seems to include the burnin process (20000 iterations instead of 25000) and it runs 2 runs for each value of regularization_strength:

Building model for 0 round of cross validation.
 [-----------------100%-----------------] 20000 of 20000 complete in 455.7 secBuilding model for 1 round of cross validation.
[-----------------100%-----------------] 20000 of 20000 complete in 453.8 secBuilding model for 0 round of cross validation.
[-----------------100%-----------------] 20000 of 20000 complete in 458.1 secBuilding model for 1 round of cross validation.
[-----------------100%-----------------] 20000 of 20000 complete in 459.4 secBuilding model for 0 round of cross validation.
[-----------------100%-----------------] 20000 of 20000 complete in 463.2 secBuilding model for 1 round of cross validation.
[-----------------100%-----------------] 20000 of 20000 complete in 454.4 sec

But the problem is the results are also different and result in a different interpretation: the chi^2 doesn't have a minimum at 3.0:

       1.0         3.0         5.0
χ2     1.054075    1.03282     0.981851

I cannot find which version of fitensemble I'm running, but I guess there is only one public release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions