Skip to main content

Posts

Showing posts from March, 2015

Microsoft Azure Notebooks - Live code - F#, R, and Python

I was exploring Jupyter notebooks , that combines live code, markdown and data, through Microsoft's implementation, known as MS Azure Notebooks , putting together a small library of R and F# notebooks . As Microsoft's FAQ for the service describes it as : ...a multi-lingual REPL on steroids. This is a free service that provides Jupyter notebooks along with supporting packages for R, Python and F# as a service. This means you can just login and get going since no installation/setup is necessary. Typical usage includes schools/instruction, giving webinars, learning languages, sharing ideas, etc. Feel free to clone and comment... In R Azure Workbook for R - Memoisation and Vectorization Charting Correlation Matrices in R In F# Charnownes Constant in FSharp.ipynb Project Euler - Problems 18 and 67 - FSharp using Dynamic Programming

Greetings

For Visitors I have not worked on this site for over two (2) years, but it covers many of the basics of F#, while trying to be idiomatically-correct and algorithmically efficient, solving mathematical problems functionally: Functions (non-state, no side effects) Tail recursion Non-mutable variables Currying Lambda notation Pattern matching Sequences, arrays, lists, and tuples Array slicing Additionally, some solutions are improved upon using .NET components to speed the process, e.g., parallel processing. Also, you might find these interesting, additional work done in F#: Basic Statistical Functions ,   a very basic F# class for performing standard deviation and variance calculations. Various Number Functions , a collection of basic mathematical functions written in F# as part of my learning via Project Euler. This module has functions for creating arrays or calculating values for the following: Primes Factorials Narcissism Collatz Sequence Terra