Skip to content

Issues with XOR notebook #24

@morganmcerlean

Description

@morganmcerlean

Install must be added for XOR notebook in order to run on Google Colab.

%pip install aitk --quiet

Change line 2 to :

import aitk.networks 
#aitk.networks.__version__

Additionally the block of code in line 16 has some issues which I was not able to fix:

for epoch, weights in net.get_weights_from_history():
    net.set_weights(weights)
    net.predict_pca(inputs, scale=.5, colors=["r", "b", "b", "r"], sizes=300)
    input("Epoch %s" % epoch)

For more comments see Google Colab XOR Notebook.

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