Today I look at leveraging F# to perform text analysis using Microsoft’s Cognitive Services.
Linear Regression and F#
Read Time: 8 minutesToday I look into performing linear regression using F#. The implementations of interest will be the MathNet and Accord.NET libraries. I assume you already know what linear regression is, but in can you need a refresher: Linear Regression. My goal is to provide a simple explanation of how to leverage some existing F# accessible libraries. Once you know some of the basic calling functions, you can go crazy with some of the other options these libraries have to offer.
Site transition complete
Read Time: 1 minutesNo tech talk today. This is a milestone post. After more hiccups than I’d prefer, the site transition is complete. There has been some minor refactoring with more to follow. Happy prime number new year!
F# Morse Coder
Read Time: 3 minutesIn other words: -.– .- -.– / ..-. / … …. .- .-. .–.
As I was explaining Morse Code to a young mind, I started thinking. It is fine to explain the encoding and uses, but experiencing the audial component makes the lessons stick better. Enter F#. Yes, I know I could use any of a hundred phone apps or websites that produce sound, but what’s the fun in that? For me, this is the perfect opportunity to hack out a quick text to morse code translator.
Dynamic Time Warping, an F# Implementation
Read Time: 12 minutesMy recent post about Dynamic Time Warping used an external library. It inspired me to implement the algorithm in F#. This is mostly just to see it in F#. My last implementation was in Racket, and I’m interested in the different language implementations. I use a pretty basic Algorithm, nothing fancy. As part of this process I’ll be doing comparisons between NDtw and my code. To be upfront, its not a perfect comparison. NDtw has additional options and tracking that will reduce it’s max performance capabilities. But for hacking around, the implementations will be close enough for alittle fun. For anyone interested, unless otherwise specified, all of my results will be from the REPL in VS Code + Ionide using Mono version 4.6.2.