Simple Java Example

Java is a popular, general-purpose programming language for a range of tasks including web applications, games development and data analysis. Part of the appeal of Java is that it compiles to java byte code which can be run on any machine with the Java runtime environment installed. This means that developers only need to write… Read More »

Save and Load Sci-kit Learn Models

Once you have trained a sci-kit learn model it is not obvious how you can deploy it and use it to score unseen data. This post shows you how to save and learn sci-kit learn models so you can execute it against unseen data. Train Your Model The first step is to train the model… Read More »

Use Tox With Anaconda

Tox is a tool for building and running a matrix of test environments. This is useful when, for example, you need to support several different versions of python. You don’t want to have to manually run tests againsts each of your supported versions. This post shows you how you can use tox with anaconda. If,… Read More »

Writing a Vagrantfile

Vagrantfiles are used to configure vagrant virtual machines. This post goes a little beyond the basics of creating a Vagrantfile, and looks at some of the more advanced topics for writing a vagrantfile to make a more polished machine. I have posted before about how you can provision your virtual machine via the vagrantfile –… Read More »