PowerBI is a the new Microsoft product for the reports design and deployment, composed by a server part that can be on cloud or On-Premise and PowerBI Desktop that is the client used to design the reports. The Report Server (On-Premise) consists in web based interface to access and visualize the reports, protected by an... Continue Reading →
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 →
Writing a SCOM Monitor with Powershell and C#
Often we are in situations where we try to solve some automation problems, like copy a package from a physical path to another, execute a build of a project, restore packages; in my case I faced problems like these in tools like Bamboo (the CI tool of Atlassian) where the build process is composed of... 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 →