Simon’s first set of Web Development How To’s: How to make a slideshow

Simon has recorded his first set of web development tutorials, about how to create a slideshow. The original code comes from the w3schools.com website.

 

 

 

Simon got stuck in the previous video, but debugged his code in #1.5:

Update: Simon has recorded the last how to in this Slideshow series, about hoe to make the slideshow automatic:

Simon gets serious with Linear Regression (Machine Learning)

Simon has been working on a very complicated topic for the past couple of days: Linear Regression. In essence, it is the math behind machine learning.

Simon was watching Daniel Shiffman’s tutorials on Linear Regression that form session 3 of his Spring 2017 ITP “Intelligence and Learning” course (ITP stands for Interactive Telecommunications Program and is a graduate programme at NYU’s Tisch School of the Arts).

Daniel Shiffman’s current weekly live streams are also largely devoted to neural networks, so in a way, Simon has been preoccupied with related stuff for weeks now. This time around, however, he decided to make his own versions of Daniel Shiffman’s lectures (a whole Linear Regression playlist), has been busy with in-camera editing, and has written a resume of one of the Linear Regression tutorials (he actually sat there transcribing what Daniel said) in the form of an interactive webpage! This Linear Regression webpage is online at: https://simon-tiger.github.io/linear-regression/ and the Gragient Descent addendum Simon made later is at:  https://simon-tiger.github.io/linear-regression/gradient_descent/interactive/ and https://simon-tiger.github.io/linear-regression/gradient_descent/random/

And here come the videos from Simon’s Liner Regression playlist, the first one being an older video you may have already seen:

Here Simon shows his interactive Linear Regression webpage:

A lecture of Anscombe’s Quartet (something from statistics):

Then comes a lecture on Scatter Plot and Residual Plot, as well as combining Residual Plot with Anscombe’s Quartet, based upon video 3.3 of Intelligence and Learning. Simon made a mistake graphing he residual plot but corrected himself in an addendum (end of the video):

Polynomial Regression:

And finally, Linear Regression with Gradient Descent algorithm and how the learning works. Based upon Daniel Shiffman’s tutorial 3.4 on Intelligence and Learning:

DSC_0557

 

 

PHP

Simon has yet a new craze: PHP. Here he explains what this language is about. This video is made yesterday, on the first day he started learning about PHP:

The same day outside, Simon explaining to me how to insert a PHP document in an HTML one:

img_3018

Variables in PHP are introduced using a dollar sign:

img_3024

Tonight Simon was crying very hard and I had to rock him on my lap to ease down the pain: he couldn’t find any tutorial or any other kind of explanation on the internet about how to make the web browser interpret his PHP file as a PHP file instead of literally displaying the file, like it does now (he used Sublime Text as his text editor):

 

Doesn’t Work

Written a lot of code today. Unfortunately, a project from LearnWebCode didn’t work out with the new text editor, Sublime Text:

I

 

The info about the animals didn’t appear on the webpage after clicking on the button. Simon completed the same project in another editor, the online Codepen.io, last week and then it did work. There has been a lot of frustration about trying out the new text editors lately.

 

dsc_0078

dsc_0079

dsc_0080