Sunday, February 12, 2012

Piglet Update - Standard Deviation And Variance Form

I worked on a form for adding Standard Deviation and Variance columns to data sets today. Since standard deviation is the square root of variance the two made sense to put together. A rough draft of it is below:

Std Deviation Screen
This form has a lot of nice improvements over my first batch of screens.
1) The user has the option of multiple operations from this form.
2) The user can direct these operations on multiple columns using this one screen.
3) The user is allowed to come up with their own name for the resulting column.

One difficult aspect of the form design was the checkboxes inside the TableModel. Shout out to Jay Askren with good advice here on stackoverflow on how to do this.

The pig latin behind this was a little tricky to work but I've liked how its all turning out.

Saturday, February 11, 2012

Today's work on Piglet - Binning

Today I worked on the Binning module of my Piglet program. This module allows you to help bin data. I already had the original bin pane so these last few sessions were clean up and add on sessions.

The work that went in added the following functionality:
1) Allowing the user to smooth the data by adding a smoothing column to the bins
2) Narrowing the columns the user can choose to bin so that only numeric columns are shown
3) Making sure the user has entered column names - integrity checks
4) General code clean up

I'm very pleased with results. This is the kind of thing I was hoping for when I came back to the project. I already had a solid base but it was just a little rough around the edges and each module lacked some functionality that I'm now getting to add.