F# Bloggers

Blog articles of F# Bloggers

0
comment
on 3/31/2015 5:00 PM
5 years ago today, I sent the following bug report to the Powershell team. From: Lincoln Atkinson Sent: Thursday, April 01, 2010 10:33 PM To: PowerShell Discussions Subject: Problem with get-date Hey experts, maybe you can help me with this issue. Get-Date seems totally broken for me. I've tried it multiple times with all different parameters, but it's just not working in my environment. I'm still single and I haven't gotten a date in months :-( Get-Help really wasn't useful this time. Funny, since [...]
>> Read the full article
.
0
comment
on 3/30/2015 10:34 PM
In our previous post, we looked at James McCaffrey’s code, “Gradient Descent Training Using C#” from MSDN magazine, and took a stab at rewriting the first part in F#, to clarify a bit the way the dataset was created. Today, we’ll dive in the second block, which implements the logistic regression using gradient descent. Again, we won’t discuss why the algorithm works – the article does a pretty good job at that – and focus instead purely on the F# / C# conversion part. Let’s begin by taking a look at the c[...]
>> Read the full article
.
0
comment
on 3/22/2015 11:27 PM
I will admit it, I got a bit upset by James McCaffrey’s column in MSDN magazine this month, “Gradient Descent Training Using C#”. While the algorithm explanations are quite good, I was disappointed by the C# sample code, and kept thinking to myself “why oh why isn’t this written in F#”. This is by no means intended as a criticism of C#; it’s a great language, but some problems are just better suited for different languages, and in this case, I couldn’t fathom why F# wasn’t used. Long story short, I just co[...]
>> Read the full article
.
0
comment
on 3/21/2015 9:29 AM
This blog post explains five F#-specific features who simplify and stabilize the implementation of vector algebra: Custom operators Inlining Units of Measure Type inference Automatic generalization We will use these features to define an infix dot product operator who is compile-time type-safe and generic.   Dot Product Operator Implementation let inline (.*) xs ys = Seq.map2 (*) xs ys |> Seq.sum The above line of code does not contain any type annotations. However, thanks to the F# compiler's built-in [...]
>> Read the full article
.
0
comment
on 3/21/2015 9:29 AM
This blog post explains five F#-specific features who simplify and stabilize the implementation of vector algebra: Custom operators Inlining Units of Measure Type inference Automatic generalization We will use these features to define an infix dot product operator who is compile-time type-safe and generic.   Dot Product Operator Implementation let inline (.*) xs ys = Seq.map2 (*) xs ys |> Seq.sum The above line of code does not contain any type annotations. However, thanks to the F# compiler's built-in [...]
>> Read the full article
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper