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

Issues with XOR notebook #24

Open
morganmcerlean opened this issue Jun 3, 2024 · 0 comments
Open

Issues with XOR notebook #24

morganmcerlean opened this issue Jun 3, 2024 · 0 comments

Comments

@morganmcerlean
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant