From the version 0.8 it's possible with ML.NET to evaluate features importance and so understand what are the columns that are more important to predict the final value. Permutation Feature Importance has this phurpose, highlight the most important features in order to understand what features has to be included or not; excluding some features from... Continue Reading →
Using ML.NET 1.0
The version 1.0 ML.NET introduces some broken changes about the syntax used for the configuration and the learning phase; so if we had some test projects that we have used to do practice with the library, we have to upgrade that (and I'm one of these). There are new classes, interfaces and methods, a new... Continue Reading →
Implement a WCF custom authentication
Configuring a WCF service is sometime a complex operation, expecially when we need to define the security of the service. On the Microsoft web site we have some detailed articles about the different configurations, what I discuss in this post is enable a custom authentication where, based on a username and password a custom code... Continue Reading →
Local functions in C# 7
The release of C# 7 brought a lot of useful features and constructors and one of that are the local functions. Before of these, when we had to provide a functionality to a class method we had to use a private class method and than call it. This is a common approach but in some... Continue Reading →
Logging Entity Framework SQL queries
Often, when we write complex entity framework queries we would want to check how the translated query looks like or simply we would want to monitor the efficiency of it. If we have SQL Server Management Studio, we can leverage SQL Profiler to track all the queries on a specific database: This is not very... Continue Reading →
Exposing ML.NET features with a typed C# service
As we have seen in the previous post, in order to use ML.NET we have to configure the pipeline with all the operations that we need to do to transform our dataset and the algorithm that we want to use. In my opinion this syntax is rather verbose and of course has to be repeated... Continue Reading →
Training, prediction and evaluation with ML.NET
Train a ML.NET algorithm is the activity that we need to do when we want to prepare and algorithm to predict some values. As we'll see we have to prepare the pipeline with some operations that will be propedeutic to the training, like load the dataset, convert alphanumeric colums and so on. Now that we... Continue Reading →
Choosing an ML.NET algorithm
A tipical question when we approach a machine learning problem is: what is the algorithm that fits better in my dataset? In the previous post we have seen the possible classifications for the ML.NET algorithms and this is the first step to restrict the possible choices. Now we can make considerations about what are our... Continue Reading →
Machine Learning algorithms tipologies in ML.NET
ML.NET is a new open source project released by Microsoft few months ago implemented for .NET applications and available as a NuGet package. Now in version 0.4 is growing rapidly but it already has a significative number of algorithms that show the power of the framework. It's a group of libraries used internally by microsoft... Continue Reading →