Coder Social home page Coder Social logo

aitk's People

Contributors

dsblank avatar jmarshallgit avatar lmeeden1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

aitk's Issues

Issues with XOR notebook

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.

world.watch() fails to render (sometimes)

In a notebook cell, I ran

world.watch()

When I ran this on my macbook, the cell outputted this text:

Image(value=b'\xff\xd8\xff\xe0\x00\x10JFIF\x00\x01\x01\x00\x00\x01\x00\x01\x00\x00\xff\xdb\x00C\x00\x08\x06\x0โ€ฆ

When I run this in CoLab, the image of the world renders, and updates, correctly. However, when I press "Mirror output in tab" to show that cell in a side window (so that it keeps showing as I scroll through the notebook), the cell in that side window also outputs the above text.

I expected the image to render in all three contexts.

New notebook to simulate a simple neuron

A single neuron with at least 3 inputs and a bias. The user should be able to specify the inputs, the weights, and the activation function. Once these are specified the activation value of the neuron is displayed.
IMG_1351

Issues with Subsumption notebook

The install must be added:

%pip install aitk --quiet

In addition to the problem with the install, the LightEnclosed world is once again not able to load, so the rest of the notebook breaks. This occurs in line 9.

world = aitk.robots.load_world("LightEnclosed")

For more comments see: Google Colab Subsumption notebook.

Create a data manipulation notebook!

In this notebook, we will provide an accessible example to biased datasets in neural networks. This smaller example will provide a conduit to explaining larger issues with bias in the training of neural networks.

Issues with ClassifyDigitsWithPCA notebook

Once again having an issues with the input dataset as in the ClassifyingDigits notebook.

In line 3:
Code:

inputs = get_digit_inputs()

Throws this error:

FileNotFoundError                         Traceback (most recent call last)

<ipython-input-3-73e7cc90aa80> in <cell line: 1>()
----> 1 inputs = get_digit_inputs()
      2 inputs.shape

<ipython-input-2-cdd8a157308e> in get_digit_inputs()
      1 def get_digit_inputs():
      2     """Each digit is represented by a 6x6 grid of 1's and 0's separated by blank lines."""
----> 3     fp = open("digits.data", "r")
      4     data = []
      5     while True:

FileNotFoundError: [Errno 2] No such file or directory: 'digits.data'

This then breaks the code further down when trying to access the input dataset. Further, an install statement must be added before neural networks are used.

For more comments regarding this notebook see: Google Colab ClassifyDigitsWithPCA notebook

Issues with ClassifyingDigits notebook

Having an error in line 3:

Code:

inputs = get_digit_inputs()

Error:

---------------------------------------------------------------------------

FileNotFoundError                         Traceback (most recent call last)

[<ipython-input-4-73e7cc90aa80>](https://localhost:8080/#) in <cell line: 1>()
----> 1 inputs = get_digit_inputs()
      2 inputs.shape

[<ipython-input-1-cdd8a157308e>](https://localhost:8080/#) in get_digit_inputs()
      1 def get_digit_inputs():
      2     """Each digit is represented by a 6x6 grid of 1's and 0's separated by blank lines."""
----> 3     fp = open("digits.data", "r")
      4     data = []
      5     while True:

FileNotFoundError: [Errno 2] No such file or directory: 'digits.data'

After adding import statement, some of the code begins to work. However, since the inputs has not been given a dataset, the network is not able to be trained, and this breaks the rest of the notebook.

For more comments on this notebook see: Google Colab ClassifyingDigits.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.