Giter VIP home page Giter VIP logo

5602-finalproject-abigailzimmermannniefield's Introduction

Using Visualizations to Support Machine Learning Education for Young People Without Programming Experience

Abigail Zimmermann-Niefield

Contents

Videos

You will not be able to run the code without an iPhone, an Apple ID and a BBC Micro:Bit. If you have all these things and want to actually run the app, you can reach out to me and I can get you set up ASAP. I suspect you probably don't have all these things, so I created 2 videos to demonstrate use of AlpacaML:

  1. The first video is just the UI. I trained a model of my my hand moving the micro:bit right, left, up and down. It worked pretty well, except sometimes my right and left motions were classified as both because of overcorrection movement. You can see and hear the app classify my movements, and the accompanying example. You can't actually see my movemets.
  2. To actually showcase how the app works, I took a video of me using it to identify boxing movements- Jab and Upper Cut. As you can see in the video, the motions are similar enough that the model works fine, but not great. The visualization I added adds extra information as to why this might be. It is included as a youtube link above because it was too large to put on github.

Code

The actual code to run AlpacaML is obviously much larger than just a single file. I included this file in the submission because it was the only one I changed, and you don't actually need to run my code because I included videos. The parts I changed were:

  1. Added a new Chart View to the Storyboard (not included in this repository).
  2. Added and populated a dictionary to hold Colors from Charts API "Joyful" scheme so I could group examples by color for each label.
  3. In classifyChunk, call setBarChart(points) function when AlpacaML makes a classification that is not "None"
  4. Added setBarChart(data, values). Renders a bar chart that represents the inverse cost of each example. I.e. the highest bar should be the best match.
  5. Added BarChartFormatter. For some reason, the creators of Charts removed String labels in their latest version. I used this as a workaround to replace it, as described in https://stackoverflow.com/questions/39049188/how-to-add-strings-on-x-axis-in-ios-charts as I cited in the code.

5602-finalproject-abigailzimmermannniefield's People

Contributors

abbierose avatar

Watchers

James Cloos avatar  avatar  avatar

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.