Skip to content

Integrating the neural network in bagofwords.py #32

Description

I wrote code containing a neural network that runs through (part1.py in johanna_NN), but I'm not getting to work as a class (see bagofwords.py in johanna_NN).

My understanding of the problem is that I'm creating an instance of the DNNClassifier class within the NeuralNetworkClassifier class, and apply a NeuralNetworkClassifier method to this instance of DNNClassifier.

I've also described the problem on StackOverflow but did not get any reactions yet (https://stackoverflow.com/questions/49206732/python-using-one-class-inside-another?noredirect=1#comment85418468_49206732).

Any insights?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions