AI and Machine Learning

  • Clustering Non-Numeric Data Using C#

    Clustering non-numeric -- or categorial -- data is surprisingly difficult, but it's explained here by resident data scientist Dr. James McCaffrey of Microsoft Research, who provides all the code you need for a complete system using an algorithm based on a metric called category utility (CU), a measure how much information you gain by clustering. 06/03/2020

  • How to Do Kernel Logistic Regression Using C#

    Dr. James McCaffrey of Microsoft Research uses code samples, a full C# program and screenshots to detail the ins and outs of kernal logistic regression, a machine learning technique that extends regular logistic regression -- used for binary classification -- to deal with data that is not linearly separable. 04/29/2020

  • How to Invert a Machine Learning Matrix Using C#

    VSM Senior Technical Editor Dr. James McCaffrey, of Microsoft Research, explains why inverting a matrix -- one of the more common tasks in data science and machine learning -- is difficult and presents code that you can use as-is, or as a starting point for custom matrix inversion scenarios. 04/07/2020

  • How to Train a Machine Learning Radial Basis Function Network Using C#

    A radial basis function network (RBF network) is a software system that's similar to a single hidden layer neural network, explains Dr. James McCaffrey of Microsoft Research, who uses a full C# code sample and screenshots to show how to train an RBF network classifier. 03/24/2020

  • How to Create a Radial Basis Function Network Using C#

    Dr. James McCaffrey of Microsoft Research explains how to design a radial basis function (RBF) network -- a software system similar to a single hidden layer neural network -- and describes how an RBF network computes its output. 03/13/2020

  • Red Yellow Brick

    ML.NET Model Builder for Machine Learning Adds Recommendations

    Microsoft's latest update of ML.NET Model Builder adds a recommendation scenario to the machine learning (ML) framework, along with image classification model training functionality. 03/04/2020

  • How to Do Machine Learning Evolutionary Optimization Using C#

    Resident data scientist Dr. James McCaffrey of Microsoft Research turns his attention to evolutionary optimization, using a full code download, screenshots and graphics to explain this machine learning technique used to train many types of models by modeling the biological processes of natural selection, evolution, and mutation. 02/21/2020

  • Floating White Boxes Graphic

    How to Do Multi-Class Logistic Regression Using C#

    Dr. James McCaffrey of Microsoft Research uses a full code program, examples and graphics to explain multi-class logistic regression, an extension technique that allows you to predict a class that can be one of three or more possible values, such as predicting the political leaning of a person (conservative, moderate, liberal) based on age, sex, annual income and so on. 02/11/2020

  • How to Create a Machine Learning Decision Tree Classifier Using C#

    After earlier explaining how to compute disorder and split data in his exploration of machine learning decision tree classifiers, resident data scientist Dr. James McCaffrey of Microsoft Research now shows how to use the splitting and disorder code to create a working decision tree classifier. 01/22/2020

  • Purple Blue Nebula Graphic

    How to Compute Disorder for Machine Learning Decision Trees Using C#

    Using a decision tree classifier from a machine learning library is often awkward because it usually must be customized and library decision trees have many complex supporting functions, says resident data scientist Dr. James McCaffrey, so when he needs a decision tree classifier, he always creates one from scratch. Here's how. 01/21/2020

  • Blue Speed Lines Blurred Graphic

    How to Do Machine Learning Perceptron Classification Using C#

    Dr. James McCaffrey of Microsoft Research uses code samples and screen shots to explain perceptron classification, a machine learning technique that can be used for predicting if a person is male or female based on numeric predictors such as age, height, weight, and so on. It's mostly useful to provide a baseline result for comparison with more powerful ML techniques such as logistic regression and k-nearest neighbors. 01/07/2020

  • ML.NET Model Builder Update Boosts Image Classification

    Microsoft announced an update to the Model Builder component of its ML.NET machine learning framework, boosting image classification and adding "try your model" functionality for predictions with sample input. 11/13/2019

  • How to Do Naive Bayes with Numeric Data Using C#

    Dr. James McCaffrey of Microsoft Research uses a full code sample and screenshots to demonstrate how to create a naive Bayes classification system when the predictor values are numeric, using the C# language without any special code libraries. 11/12/2019

  • How to Work with C# Vectors and Matrices for Machine Learning

    Here's a hands-on tutorial from bona-fide data scientist Dr. James McCaffrey of Microsoft Research to get you up to speed with machine learning development using C#, complete with code listings and graphics. 11/07/2019

  • Microsoft Boosts AI-Assisted Developer Productivity

    While the question of artificial intelligence someday replacing computer programmers is still being debated, Microsoft is steadily using AI advances to boost their productivity, this week announcing whole line completions and refactoring. 11/05/2019

  • Green Spiral Graphic

    How to Do Logistic Regression Using ML.NET

    Microsoft Research's Dr. James McCaffrey show how to perform binary classification with logistic regression using the Microsoft ML.NET code library. The goal of binary classification is to predict a value that can be one of just two discrete possibilities, for example, predicting if a person is male or female 10/18/2019

  • City Lights Illustration

    Getting Started with AutoML for ML.NET

    Dr. James McCaffrey provides hands-on examples in introducing ML.NET, for machine learning prediction models, and AutoML, which automatically examines different ML algorithms, finds the best one, and creates a Visual Studio project with the C# code backing the best model, along with C# code that shows how to use the trained model to make a prediction. 09/30/2019

  • Matrix

    How to Do Neural Network Glorot Initialization Using Python

    Microsoft Research data scientist Dr. James McCaffrey explains what neural network Glorot initialization is and why it's the default technique for weight initialization. 09/05/2019

  • Q&A with AI Developer Henk Boelman: Hands-On with Microsoft's New AI and IoT Technologies

    We caught up with Henk Boelman, Microsoft AI MVP and Cloud AI Architect, to learn more about what's exciting in AI, his favorite features in Microsoft Cognitive Services and Windows IoT and the latest updates on his upcoming day-long hands-on lab for Live! 360, "Build Your Own A.I. Powered Robot." 08/16/2019

  • Microsoft Research Launches Blockchain AI Project

    Microsoft Research is unveiling its latest AI initiative, one that aims to help "democratize AI" with a new open-source framework that will leverage blockchain technology. 07/31/2019

  • How To Code Modern Neural Networks Using Python and NumPy

    Data scientist Dr. James McCaffrey begins a series on presenting and explaining the most common modern techniques used for neural networks, for which over the past couple of years there have been many small but significant changes in the default techniques used. 07/29/2019

  • Microsoft Bot Framework Boosts Python SDK for Conversational AI Apps

    Updated Python functionality heads a list of enhancements to Microsoft's Bot Framework SDK, facilitating conversational artificial intelligence development for a number of application channels, such as Skype, Teams, Slack and so on. 07/23/2019

  • Microsoft, OpenAI Enter $1 Billion AI Partnership Pact

    Microsoft's investment will turbocharge OpenAI's efforts toward artificial general intelligence (AGI) and drive development of next-generation solutions and platforms. 07/23/2019

  • ML.NET Machine Learning Framework Updated

    Microsoft's open source machine learning framework, ML.NET, has been updated to version 1.2, continuing to add features to help .NET developers use their familiar tools and languages to infuse ML functionality into their applications. 07/17/2019

  • AI Debugging Tool TensorWatch Open Sourced by Microsoft Research

    TensorWatch, a new AI debugging and visualization tool from Microsoft Research, is now available as an open source offering on GitHub, where it's "under heavy development with a goal of providing a platform for debugging machine learning in one easy to use, extensible, and hackable package." 06/27/2019

.NET Insight

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.

Upcoming Events