Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [machine-learning]

Questions about machine learning functionality of Mathematica, for instance involving, but not restricted to, Predict, Classify, FindClusters and the various regression functions.

24
votes
0answers
949 views

Handwriting recognition with Mathematica

I am trying to teach Mathematica to read my handwriting. Since I don't want to ruin my reputation by showing my own handwriting, I am going to use a font called blackjack. Lets say this is a ...
18
votes
0answers
149 views

Inefficient memory storage for Dataset

Why Dataset doesn't serialize its contents, isn't it the whole point? I expect it to behave similar to python's pandas.DataFrame,...
14
votes
0answers
438 views

How to ImageRestyle high-res images?

Running v11.2 on Ubuntu 16, ImageRestyle[] crashes for me on an image of size 1600 x 1200 pixels. All the examples in the documentation use images around 500 x ...
11
votes
0answers
811 views

Neural network playground

I came across this Neural Net Playground demonstration based on Google's Tensorflow package. It visualizes the data processing inside a neural network and allows you to tweak parameters and ...
10
votes
0answers
367 views

How to plug holes in an Image (with partial convolutions)?

NVIDIA recently published a new way to reconstruct images with holes. They use a new type of convolutional layer which is described in the paper Image Inpainting for Irregular Holes Using Partial ...
9
votes
0answers
155 views

How to extract tree parameters from RandomForest?

I want to extract the parameters of a decision tree from the object estimated by Classify[]. It seems that parameters of the estimated Classifier are available in the "Models" property. It is ...
9
votes
0answers
200 views

What are the time and space complexities of Classify/Predict?

Does anyone have knowledge of the O(n) time & space complexities for various model types supported by Classify[] and ...
8
votes
0answers
245 views

How to perform UMAP dimensionality reduction?

This new method UMAP looks to be better than TSNE, unfortunately it is not available as a dimension reduction method yet: Does anyone know if there exists an implementation of it in, or accessible ...
7
votes
0answers
317 views

Use of new machine learning capability for search problems (reinforcement learning)

I work with search algorithms, often of an adversarial nature, and want to understand how to apply Mathematica's machine learning capabilities, especially those new in version 11, to this type of ...
6
votes
0answers
136 views

How “good” is the new Classify and how does it choose its method

I recently read the blog regarding data-science Wolfram Blog and then checked the quality of the new Classify. I have a bunch of slides that I show to my students ...
6
votes
0answers
127 views

Create ClassifierFunction

Is there a way to create my own ClassifierFunction? I would like to combine predictions from multiple independent classifiers into a single ensemble ClassifierFunction and be able to use things like ...
5
votes
0answers
58 views

How to make the clustering result of version 11.2 and 11.3 same?

I was doing clustering analysis in version 11.2, with codes like below, and then got 12 clusters as the output: ...
5
votes
0answers
99 views

What's BayesianMinimization and related functions based on?

Is it specified anywhere what the backend is for the Bayesian optimization related functionality in Mathematica v11? I'm specifically referring to the Bayesian* ...
5
votes
0answers
104 views

Optimize a network topology?

I'd like to know if one can use optimization function like Maximize[] or BayesianMaximize[] to optimize the hyper-parameters of ...
5
votes
0answers
332 views

How to train a visual attention model?

In version 11.1 there is a new layer type SequenceAttentionLayer[]. I'm interested in how might this be used to train a recurrent visual attention model (see the ...
5
votes
0answers
84 views

What algorithm is BayesianMaximization using?

The docs show the following options for BayesianMaximization's Method: "MaxExpectedImprovement" maximize expected improvement over current best value "MaxImprovementProbability" maximize ...
5
votes
0answers
258 views

Softmax Regression Classification Algorithm

I'm following the Stanford Machine Learning course while simultaneously developing my Mathematica abilities. I'm having issues with my Softmax Classifier implementation (for ref, have a look at these ...
5
votes
0answers
108 views

How can I change the distance function in Classify when using NearestNeighbor?

Issue not present in version "10.4.1 for Linux x86 (64-bit) (April 11, 2016)" ...
4
votes
0answers
50 views

Candidate sampling for softmax neural networks in mathematica

Though I've been using mathematica for a few years, I've never really delved into its ML capabilities (except for the occasional clustering). I'm curious if anyone who has some experience using ...
4
votes
0answers
53 views

In neural network, how to force the NetTrain to use full batch gradient descent instead SGD?

In a neural network, I want to use full batch gradient descent instead of SGD. Currently, I am using code like this (you can see that I forced BatchSize to be the ...
4
votes
0answers
94 views

How to explain overfitting?

SeedRandom[0]; X = RandomInteger[{1, 5000}, {100000, 50}]; Y = RandomInteger[{0, 1}, 100000]; For net1 and ...
4
votes
0answers
89 views

YOLOv3 Netmodel?

I see that YOLOv2 is on the Wolfram net repo, but has anyone ported the new YOLO version 3 architecture into Mathematica?
4
votes
0answers
236 views

Using Machine Learning techniques for text-analysis

I am analysing a bunch of tweets and I want to understand which political party the authors support. Let say, for example that I have five parties labelled by a number: ...
4
votes
0answers
80 views

Can I use Classify's model without internet or without FrontEnd?

Question1: without Internet When I'm using a model trained by Classify in an Machine/Linux without internet, I got the information: ...
4
votes
0answers
116 views

How to train further in Predict?

Training further means we can get much smaller loss in the training set,and maybe get the smaller loss in the validation set,so this is useful. For example ...
4
votes
0answers
139 views

NetTrain with External GPU?

I'd like to use the new Neural Networks functionalities in v11 on my Macbook Pro, unfortunately, most macs do not have the supported Nvidia cards. However, there is the option for using an external E-...
4
votes
0answers
1k views

Neural network: Line detection in Image

I am playing around with Mathematica's new Neural Network toolbox and am trying to teach a network to detect lines in quite noisy images. An example Input image would look like the following: The ...
4
votes
0answers
187 views

Is Mathematica a good choice for a scientific project with Machine Learning?

I'm a chemist with some rudimentary programming skills and in the middle of the year I'll be starting a project concerning machine learning, so, I'm sorry if I'm going to ask two questions in this ...
4
votes
0answers
81 views

Create an adequate 'training set' to train a ClassifierFunction which performs the role of the built-in `SubsetQ`

I am trying to "grow" my own SubsetQ function using Machine Learning methods. My cSubsetQ when given two lists (listA and listB)...
4
votes
0answers
186 views

Classification problem using SVM methods

I am running SVM on mathematica and I a used this code with classes: ...
4
votes
0answers
299 views

How to make distance transform invariant to scale?

I am trying to use a distance transform as a descriptor to encode silhouettes in order to do a shape recognition task. It is clear that distance transform distribution is invariant under rotation and ...
3
votes
0answers
49 views

Connect to DeepMind Control Suite?

Has anyone found or built a package or library to connect MMA to the reinforcement suite from DeepMind?
3
votes
0answers
55 views

Capsule Network reconstruction layer

I am experimenting the capsule network, using the architecture provided here: Capsule Network in Mathematica Deep Neural Network Repository While I can figure out what the network do following the ...
3
votes
0answers
76 views

Implementing Mathematica Machine Learning Algorithm in an HTML-Web Page

I have a Mathematica Neural Network developed in Mathematica 11.2 that I'd like to upload and use on my website. The algorithm takes in images as an input. My website is built with HTML-CSS and Flask. ...
3
votes
0answers
277 views

Train your own CycleGAN style translator

I have a set of images (a few hundred) that represent a certain style and I would like to train an unpaired image to image translator with CycleGAN. I'm looking for a tutorial on how one would do ...
3
votes
0answers
82 views

Can someone help me to understand sequence-to-sequence transformation using (Wolfram-specific) recurrent neural nets?

I've been learning about recurrent neural networks lately and I think I'm starting to get the basic idea of how they work. I'm particularly interested in the sequence transformation capabilities of ...
3
votes
0answers
110 views

Is is a bug when importing MXNet model?

There is a trained net:model.zip Using Python to make prediction: ...
3
votes
0answers
117 views

Image Segmentation: (Efficient Graph-Based)

This question is two-fold; First, it is about how to get the speed efficiency this algorithm should provide in Mathematica. In addition, it has a small question about the algorithm (Efficient Graph-...
3
votes
0answers
142 views

Image Generator with a Neural Network (CIFAR-10)

As some of you may know, CIFAR-10 is a data base which has 60,000 images (which are 32x32 in size) of 10 different categories (airplane, dog, cat, frog, deer, bird, horse, ship, automobile and truck). ...
3
votes
0answers
82 views

How to perform unsupervised texture classification?

Consider a texture mixture (img) from Brodatz. I want to classify the five different texture patterns and segment the corresponding regions. Following this, I ...
3
votes
0answers
34 views

NetTrain doesn't accept sparse input?

The following code fails to execute: ...
3
votes
0answers
381 views

Why “Inception V3 Trained on ImageNet Competition Data” have 1001 outputs?

There are 6 pre-trained models on ImageNet in NetModel. ...
3
votes
0answers
97 views

How can I monitor the process of neutral network training?

In the Linux command line,type wolfram then use NetTrain[net, mnist, Automatic, "LossEvolutionPlot"] can get the ...
3
votes
0answers
75 views

ClassifierMeasurement gives reversed labels for precision and accuracy

According to the standard definitions of precision and recall, Precision = TruePositives/(TruePositives+FalsePositives) Recall = TruePositives/(TruePositives+FalseNegatives) In terms of confusion ...
3
votes
0answers
89 views

How can I process many image files with Classify?

Classify in Mathematica is a highly automated machine learning tool. Though it is not good for production purposes, sometimes it can used as a benchmark tool. ...
3
votes
0answers
226 views

radial basis function network in Mathematica 11

I wanted to compare some (pre-existing) Python code I have for Radial basis function (neural) networks (RBFNN) for the goal of function approximation, with what I could obtain with Mathematica 11.0. ...
3
votes
0answers
91 views

Is it possible to train a FindObject and mark the object?

We can use Classify to train a classifier to classify an object. Can we make the classify more intelligent or work like FindFaces...
3
votes
0answers
159 views

Resources to learn about Neural Nets using Mathematica?

I'm interested in learning about Neural Nets and I'd really like my instruction to be in Mathematica if possible. For instance, a tutorial like this one: http://neuralnetworksanddeeplearning.com/...
3
votes
0answers
123 views

High CPU load for dynamic classification

I encountered some issues with extremely high CPU load when I tried to classify live images (using Dynamic and CurrentImage[]). ...