Improving ML.NET model accurancy

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 →

Configuring TLS support on RabbitMQ

One year ago I wrote a series of posts about RabbitMQ and how to implement a publisher and a consumer. Now we'll see how to enable the TLS protocol on RabbitMQ, that is high recommended when the server is published on internet and the communication between the server and the clients must be encrypted. The... 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 →

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 →

Create a website or blog at

Up ↑