Dr. James McCaffrey of Microsoft Research explains how to train a network, compute its accuracy, use it to make predictions and save it for use by other programs.
- By James McCaffrey
- 10/14/2022
Because machine learning with deep neural techniques has advanced quickly, our resident data scientist updates binary classification techniques and best practices based on experience over the past two years.
- By James McCaffrey
- 10/05/2022
Following new best practices, Dr. James McCaffrey of Microsoft Research revisits multi-class classification for when the variable to predict has three or more possible values.
- By James McCaffrey
- 09/12/2022
Dr. James McCaffrey of Microsoft Research updates previous tutorials with new, cutting-edge deep neural machine learning techniques.
- By James McCaffrey
- 09/06/2022
One use case for the analysis of variance statistics technique is asking if student performances are the same in three classrooms taught by the same teacher but with different textbooks, says Dr. James McCaffrey of Microsoft Research.
- By James McCaffrey
- 08/17/2022
After previously discussing permutations, Dr. James McCaffrey of Microsoft Research uses step-by-step examples and full code presentations to explore combinations.
- By James McCaffrey
- 07/20/2022
My Copilot does a lot of cool things, but sometimes it repeats itself and doesn't seem to want to compute the value of pi.
Get ready to use the BigInteger data type as Dr. James McCaffrey of Microsoft Research demonstrates zero-based mathematical permutations with C#.
- By James McCaffrey
- 07/05/2022
Dr. James McCaffrey of Microsoft Research uses a full code program for a step-by-step explanation of this machine learning technique that indicates if patterns are random.
- By James McCaffrey
- 06/17/2022
Dr. James McCaffrey of Microsoft Research explains the classical machine learning technique typically used for binary classification -- predicting an outcome that can only be one of two discrete values.
- By James McCaffrey
- 06/01/2022
Dr. James McCaffrey of Microsoft Research explains the machine learning technique, which can be used to predict a person's happiness score from their income and education, for example.
- By James McCaffrey
- 05/19/2022
Microsoft recommends replacing relic from old .NET Framework with Blazor, but you can still do ASP.NET Web Forms apps in Visual Studio 2022 if you want to, with a couple tweaks.
Dr. James McCaffrey of Microsoft Research presents a full step-by-step example with all code to predict a person's optimism score from their occupation, eye color and country.
- By James McCaffrey
- 05/02/2022
CIFAR-10 problems analyze crude 32 x 32 color images to predict which of 10 classes the image is. Here, Dr. James McCaffrey of Microsoft Research shows how to create a PyTorch image classification system for the CIFAR-10 dataset.
- By James McCaffrey
- 04/11/2022
CIFAR-10 problems analyze crude 32 x 32 color images to predict which of 10 classes the image is. Here, Dr. James McCaffrey of Microsoft Research explains how to get the raw source CIFAR-10 data, convert it from binary to text and save it as a text file that can be used to train a PyTorch neural network classifier.
- By James McCaffrey
- 04/01/2022
This demo from Dr. James McCaffrey of Microsoft Research of creating a prediction system for IMDB data using an LSTM network can be a guide to create a classification system for most types of text data.
- By James McCaffrey
- 03/21/2022
Dr. James McCaffrey of Microsoft Research shows how to get the raw source IMDB data, read the movie reviews into memory, parse and tokenize the reviews, create a vocabulary dictionary and convert the reviews to a numeric form.
- By James McCaffrey
- 03/03/2022
Dr. James McCaffrey of Microsoft Research details the "Hello World" of image classification: a convolutional neural network (CNN) applied to the MNIST digits dataset.
- By James McCaffrey
- 02/15/2022
Dr. James McCaffrey of Microsoft Research demonstrates how to fetch and prepare MNIST data for image recognition machine learning problems.
- By James McCaffrey
- 02/01/2022
Dr. James McCaffrey of Microsoft Research explains a new idea that slightly modifies standard simulated annealing by borrowing ideas from quantum mechanics.
- By James McCaffrey
- 01/20/2022
With .NET 6 and the latest Visual Studio 2022 preview, developers can create a hybrid Blazor/.NET MAUI app that can work with local machine resources in ways that ordinary Blazor (web) apps can't.
A chi-square (also called chi-squared) test is a classical statistics technique that can be used to determine if observed-count data matches expected-count data.
- By James McCaffrey
- 01/03/2022
Dr. James McCaffrey of Microsoft Research uses the Hugging Face library to simplify the implementation of NLP systems using Transformer Architecture (TA) models.
- By James McCaffrey
- 12/07/2021
Dr. James McCaffrey of Microsoft Research shows how to implement simulated annealing for the Traveling Salesman Problem (find the best ordering of a set of discrete items).
- By James McCaffrey
- 12/01/2021
The goal is sentiment analysis -- accept the text of a movie review (such as, "This movie was a great waste of my time.") and output class 0 (negative review) or class 1 (positive review).
- By James McCaffrey
- 11/16/2021