My last two posts have been talking creating linearly separable data. Hopefully you found some of the features interesting – for example, the idea of creating interactivity using grab handles. But I never really gave a purpose to what I was doing: I wanted to write some machine learning code – specifically a perceptron learning algorithm – and to test the code I needed to create some data on which it could act. (more…)
Monthly Archives: October 2015
Grab Those Handles!
I have a graph with a line drawn on it. I want to user to be able to change the orientation of the line by “clicking and dragging”. To do this need to implement drag-handles. Here’s how … (more…)
Linearly Separable Data
In my last post I outlined some “homework” that I had set myself – to write a script that would create linearly separable data. I want the ability to create it in an interactive environment. (more…)
Some Homework
Don’t worry. The homework is for me, not you. But feel free to have a go yourself also! I want to create a set of data which contains a binary response that is linearly separable within a plane defined by two input variables. (more…)
Finding That Line Of Code
Here’s the problem. I have a line of code that I want to locate containing the words: