Thursday, 2 April 2015

Optimising a simple machine learning algorithm

The F# Journal just published an article about GUI programming:
"Phil Tomson has been collating implementations of a simple kth-nearest neighbor classifier based upon an optical character recognition challenge by Kaggle. There is some scope for optimising the current F# implementation. This article takes a look at the idioms and particularly the performance characteristics of the current code (comparing it to other solutions) and how it might be improved. We also take the opportunity to look at performance profiling that is now freely available in Visual Studio Community 2013..."
To read this article and more, subscribe to The F# Journal today!

Sunday, 29 March 2015

Math testing program for kids

The F# Journal just published an article about GUI programming:
"This article describes the design and implementation of a simple program that can be used to hone a child's mathematical skills. The program poses a simple arithmetic problem involving addition, subtraction, multiplication or division. Answers are either quickly responded to when correct or slowly when the given answer was wrong and the correct calculation is displayed..."
To read this article and more, subscribe to The F# Journal today!

Saturday, 28 March 2015

FemtoML with FParsec

The F# Journal just published an article about parsing:
"The parser combinator library FParsec is one of the foremost parsing tools available for the F# programming language and is now easier to use than ever thanks to Microsoft's Nuget package system. This article walks through a tiny term-level interpreter capable of running the Fibonacci function written in a minimal subset of the ML language..."
To read this article and more, subscribe to The F# Journal today!

Friday, 27 March 2015

Analyzing the world's largest Mathematica code base using F#

The F# Journal just published an article about metaprogramming:
"We were once faced with the challenge of pricing up a project to translate the world's largest Mathematica code base into F#. This project had a multitude of unknowns any one of which could end up being a show stopper. In order to price this work properly we had to quantify many different aspects of the Mathematica code base. This article describes the approach we took, using F# to parse the entire Mathematica code base and analyze it in order to determine the complexity of the challenge we faced..."
To read this article and more, subscribe to The F# Journal today!

Monday, 23 March 2015

Streaming aggregated financial data from SQL Server

The F# Journal just published a case study:
"This case study walks through an industrial project that was designed to improve performance and add functionality by providing an indirect service for clients to extract historical financial data. The service is capable of aggregating the data as it is streamed. In particular, our F# solution was co-developed alongside a C# solution that provides the same functionality so we are able to compare code bases and performance results..."
To read this article and more, subscribe to The F# Journal today!

Sunday, 1 February 2015

A WPF-based parallel ray tracer

The F# Journal just published an article about computer graphics:
"This article describes a simple multicore ray tracer written in a very clear style. The ray tracer supports reflections and shadows and uses hierarchical spherical bounding volumes to cull work efficiently in order to render a 1920×1200 image in under one second. WPF is used for visualization..."
To read this article and more, subscribe to The F# Journal today!

Friday, 9 January 2015

Purely functional data structures in practice

The F# Journal just published an article about purely functional data structures:
"Previous articles have covered the specifics of some classic purely functional data structures. This article explains why and when you may or may not want to use a purely functional data structure and when we have found them to be most valuable in practice..." To read this article and more, subscribe to The F# Journal today!