Tag Archives: JSL

Performance Trap

I was recently processing a number of files using pattern matching. During the processing I was storing information in lists which were subsequently used to populate new JMP data tables.

hit computerEverything worked fine until I increased the number of files by a factor of 10.

After some time I started hitting ‘escape’ and ‘CTRL-Z’ in a frenetic effort to seize control of my laptop.

(more…)

Validating Modal Windows

A modal window forces a user to respond to a prompt before continuing execution of a script.  The JMP user interface rarely uses modal windows and as programmers we should respect this principle and use modal windows sparingly.  If a task is important enough to warrant a modal window it’s probably important enough to demand some level of validation of user inputs.  Here’s how:  (more…)

Visualising Machine Learning Pt. 2

Where is the “learning” in machine learning?  The problem with machine learning algorithms is that they yield a final solution without giving you a sense of the learning process.  So I’ve implemented an interactive version of a perceptron learning algorithm.  To run the algorithm I need lenearly separable data – hence the posts from the previous weeks.  Now I can use that as the basis for visualising the machine learning steps.  (more…)

Visualising Machine Learning pt.1

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…)