Machine Learning
From ABCs to PhDs, the Wolfram Language is your tool for machine learning.
Classifiers
Built-in Classifiers
You don't have to be an expert to use machine learning in your project: the Wolfram Language has pre-trained, ready-to-use classifier functions so you can easily perform useful and interesting tasks.
The Wolfram Language includes a wide range of pre-trained classifiers that can be applied to text, images and more.
See a full list of pre-trained classifiers
Building Custom Classifiers
Using the function Classify can save you a lot of time. Classify can learn a classification task from a small set of examples and then automatically figure out the best way to classify your data.
For example, let's say you needed to label 1,000 vacation photos with whether they had people in them or not—a time-consuming task if done by hand. If you labeled just 20 photos, Classify could learn to differentiate between photos with people and without automatically and do the other photos in under a second:
Let's test our new ClassifierFunction we created against new images it hasn't seen before:
Neural Networks
Pre-Built Neural Networks
For many common tasks, you'll find that the Wolfram Neural Net Repository contains exactly the neural network you are trying to implement, free and ready for immediate use in your project. As a neat visual example, here the CycleGAN network is called to restyle an image into a Van Gogh–like style:
Custom Neural Networks
With high-level constructs like NetTrain and NetChain, the Wolfram Language has great tools to quickly build even prototype or sophisticated neural networks.
Construct a net that explicitly computes a loss:
Initialize the net and evaluate it on an input:
In this example, NetTrain is used to train a neural net. A progress window allows you to see the training result in real time.
Manually construct a net and initialize it with random parameters:
Evaluate it on a set of values:
Train the net for a few rounds checking in real time how it is fitting the model:
The net result is now close to the symbolic computation:
Get Started
Learning Resources
Learning Paths
Want to just try it out? Get a feel for what the Wolfram Language is like while trying out real code samples focused on machine learning.
We've made it easy to learn the Wolfram Language your way. Try our free interactive course and earn a certification.
Go Further with Machine Learning
If you want to see more of what Wolfram offers for machine learning, head to the Wolfram Machine Learning page. You'll find:
- A complete overview
- Documentation and specialized functions
- Pre-trained neural networks
- Downloadable examples
- Online classes and additional resources
Recommended Product
For Those Interested in Machine Learning, We Recommend:
Our cloud-desktop hybrid product, Wolfram|One, is our recommended environment for those interested in machine learning: it has an award-winning intuitive notebook interface, seamless functionality with the cloud and is the complete Wolfram experience.
Explore Other Topics
Data Science and Report Generation
Explore tools for analysis, automatically import data, deploy cloud dashboards and more.
Machine Learning
Explore neural networks, automated machine learning, classifiers and more.
Blockchain and Cryptocurrencies
Explore blockchains, chart cryptocurrencies, use cryptographic functions and more.
Build and Deploy Web Applications
Explore easily deployed web applications, turn your code into real websites and more.
Financial Technology
Explore financial data, make charts, write prediction functions and more.
Geography and GIS
Explore various map-making methods, superimpose data, create visualizations and more.