Coder Social home page Coder Social logo

nature-of-code / noc-s17-2-intelligence-learning Goto Github PK

View Code? Open in Web Editor NEW
932.0 932.0 342.0 28 MB

Syllabus for Part 2 of Nature of Code: "Intelligence and Learning" at ITP Spring 2017 Edit

HTML 0.04% JavaScript 99.03% Processing 0.01% Python 0.03% Jupyter Notebook 0.89%

noc-s17-2-intelligence-learning's People

Contributors

cvalenzuela avatar deerel avatar dodiku avatar jyopari avatar kwichmann avatar matthewmazurek avatar rhacking avatar shiffman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

noc-s17-2-intelligence-learning's Issues

Should I bother with week 1 graph algorithm stuff?

Should I bother with this or just start the first week with GA or KNN or something like that? The graph stuff is interesting with steering agents probably and also somewhat helps us think about network graph data structures as foundation for neural networks?

What happened

I love When I see YouTubers collaborate on scientific issues to bring the best explanation but what happen that made you remove Siraj's video references.

Genetic image in Processing

You mentioned the genetic image program in the genetic TSP problem, I wrote a Processing.org sketch that does that :) You only need to download the G4P library for the basic GUI. I occasionally improve the code, but it runs fine just as it is.
https://github.com/obackhoff/Genetic_Image

As a suggestion, for genetic algorithms, I would add different levels of mutation that could occur.. sometimes drastic change, sometimes subtle. Also, I would keep the n most fit objects of the population, so the population does not diverge from the current best fit and turns into all random. Cheers for the great content.

Wrong instance of DNA

DNA line 15:
function DNA(total, order) { ... }

Sketch line 30:
population[i] = new DNA(totalCities);

The constructor function has 2 parameters and, when you create the object, only pass one.

14 week version of this course?

  1. Intro and Search
  2. GA 1
  3. GA 2
  4. Classification and Regression w/o ANN
  5. ANN for Classification and Regression
  6. Intro to Python, Keras/Tensorflow
  7. Midterm Project
  8. CNN
  9. RNN
  10. GANs, auto-encoders, and more. . .
  11. Reinforcement Learning
  12. Neuro-Evolution
  13. User Testing
  14. Final Projects

Week 1 To Do

  • Binary Tree Example
  • Breadth-first Search
  • Dijkstra's algorithm
  • More creative versions of above with data / animation
  • A*
  • A* solve maze
  • TSP Brute Force
  • Add steering agents

investigate websockets for week5 examples

would this improve any speed/performance in particular with the RNN example of suggestions while typing?

(Probably just moving to keras.js or other non-webserver based system would be best?)

Data for week 1 examples

  1. Binary Tree is I could just use text and sort alphabetically as a demonstration.
  2. What are some good data sources to build graphs to demonstrate BFS, Dijkstra and/or TSP? Might be more interesting than just random graphs.
  3. A star I have my maze solving example already which will do.

Evolving steering agents

Based on a combination of Coding Challenges, I created the attached sketch with two sets of evolving steering agents: prey that steer towards food and avoid predators, and predators that steer towards prey. It need more tweaking of the parameters to get a stable system though.

PredatorPrey.zip

FDG example

Thank you @rhacking for the new FDG layout for BFS! I'd like to simplify the code a bit to make it more readable for beginners as well as use p5.Vector to tie into other Nature of Code physics examples.

tSNE

Can I fit tSNE into KNN, Regression week?

week 1 to do

  • Add comments to code.
  • Add links to all the code examples running in the browser via github pages to week 1 README
  • Write up week 1 homework wiki

Glossary added to wiki

I've added a glossary list for machine learning and statistics in the wiki. The aim is to make it easier to get an overview than a bunch of wikipedia links. Also, I hope this will inspire others to add similar pages for other topics :-)

Javascript (and GPGPU) implementation of a multi layer perceptron network.

Hi,

Just in case anyone is interested, I have few reference projects which i have slowly been putting together for the past few months that I am using as reference material for myself and anyone else who might find them useful. The projects are written in JavaScript (specifically TypeScript) and are well documented, you can find them here.

  • neuron pure javascript implementation of a multi layer perceptron network small demo
  • tesseract webgl 2.0 GPGPU compute library.
  • neuron-gpgpu neuron ported to the GPU (using tesseract) which looks solving networks using compute parallelism.

This is in reference to video 10.4: Neural Networks: Multilayer Perceptron Part 1 - The Nature of Code. Happy to discuss these implementations in this thread if anyone finds them useful, or has general questions. I hope they serve as a good reference for anyone wanting to learn some of the pure programming aspect of ML.

Thanks again for the videos on machine learning !

Week 2 server-side Recommendation Engine

At some point, I would like to make a version of the recommendation system example using the large MovieLens dataset and pre-computing item relationships for fast recommendations. (See Programming Collective Intelligence). The data is in the week 2 examples, but I didn't have a chance to build it yet.

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.