Skip to main content

Posts

Gradient: Full TensorFlow binding for Asp.Net C#

I know there's a rule against self-promotion, but I am hoping my work will actually be very useful for C# and .NET lovers, who also want to get into machine learning. TL;DR; Over the past 2 years I've made a .NET binding to the full TensorFlow Python API, including Keras, tf.contrib, and, basically, everything else. It's called Gradient, its on NuGet, and you can read the guide here:  https://github.com/losttech/Gradient/#getting-started It started with the desire to explore deep learning, where I quickly discovered you basically have to use Python for the "latest and greatest" frameworks and SotA. And I don't like dynamic languages, and love C#. There was CNTK, which worked nicely, but never gained enough community. It was (and still is) very hard to find advanced sample code for it. It would take enormous effort to manually port TensorFlow in its entirety to .NET. Projects like TensorFlowSharp and TensorFlow.NET are trying to get to that stat...
Recent posts

Best Deep Learning Frameworks

When working on your  AI project , if you have to handle a large collection of rich media, such as images, video or audio, traditional machine learning algorithms are not going to be enough. In this case, you need a deep learning framework. Deep Learning (DL) frameworks are basically  libraries , interfaces, and tools that help you build deep learning  models  more easily. They have pre-built components that are optimized so you don’t have to build underlying algorithms.  However, choosing a deep learning framework is not an easy task. In this article, I’ll provide an overview of the top solutions to help you select a framework for your project.  What is a Deep Learning Framework and how to choose it? To understand this concept, let’s use an example. Consider the images in the picture below. While these are all animals, there are several categories in this image – Owl, Horse, Lion, Giraffe, and so on. If we need to classify these images into their...

Machine Learning with ML.NET 1.0

As a person coming from .NET world, it was quite hard to get into  machine learning  right away. One of the main reasons was the fact that I couldn’t start Visual Studio and  try out  these new things in the technologies I am proficient with. I had to solve another obstacle and learn other  programming languages  more fitting for the job like Python and R. You can imagine my happiness when more than a year ago,  Microsoft  announced that as a part of  .NET Core 3 , a new feature will be available –  ML.NET . In fact it made me so happy that this is the third time I write similar  guide . Basically, I wrote one when ML.NET was a  version 0.2  and one when it was  version 0.10 . Both times, guys from Microsoft decided to modify the  API  and make my articles obsolete. That is why I have to do it once again. But hey, third time is the charm, so hopefully I will not have to do this again until ML.N...