Skip to content

Issues in structure.py and FTDRF_test.py? #6

Description

@EcoSimIBM

Hey there,

I tried running the Deep RF and DNN code. I got the DNN code working no problem, but the Deep RF code apparently has a couple issues. In FTDRF_test.py ("y_sp = y_sp.astype('uint8')") seems to fail as y_sp was not yet initialized. After commenting that out (it doesn't appear to be used at all), it then fails in structure.py at the line "for tree in models[count].estimators_: # make half of the trees completely random Decision Trees" - similar issue (I think) - to me it appears as though the trees have not been generated yet and thus the forest has no attribute "estimators_" (the error generated is an AttributeError when trying to iterator over the "esimators_" attribute in the RandomForestClassifier).

Is there something I'm missing here?

Thanks,

Ryan

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