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

learn more… | top users | synonyms

2
votes
0answers
46 views

How to implement QLearning?

I know that v10 has support for both Machine Learning and Finite Markov Processes, the Q-learning algorithm uses both. Specifically, Q-learning finds an optimal action-selection policy for any given ...
9
votes
1answer
101 views

How to do Independent Component Analysis?

The new experimental function in 10.3.1 DimensionReduce[], has the following three options for Method: ...
4
votes
1answer
64 views

How to get the training error and the validation error using Classify function with SVM

I am using Classify[] function with Support vector machine model. I need to analyze the quality of results by analyzing the training error and the validation error ...
6
votes
0answers
88 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 ...
1
vote
0answers
30 views

How to import/export to libsvm?

Under the hood Mathematica uses libsvm, so I don't think this question is beyond the pale. I need to export an svm I trained with Classify to the standard SVM Format (which is readable by libsvm). ...
4
votes
0answers
56 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 ...
3
votes
0answers
70 views

Classification problem using SVM methods

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

How is the multi-class support vector machine classifier implemented? [closed]

I am using support vector machine (SVM) method with Classify to do multi-class. Can anyone tell me the reference (paper) used by Wolfram Mathematica to develop the ...
1
vote
0answers
49 views

Using Classifier with NearestNeighbors methods

I am using a Machine learning toolbox on mathematica. I have 8 classes. Training data: for each class, there 100 samples with size 160. I used this code. ...
4
votes
1answer
94 views

How to avoid crashing with ConformImages?

ConformImages[] is causing a kernel crash when applied to a list of 5k images. Is there any way to apply ConformImages on the list in batches or asynchronously to ...
2
votes
0answers
125 views

Pattern recognition

I am trying to have Mathematica come up with a simplified version of a real pattern. For the moment I'm trying with handwritten digits, but eventually I want to apply it to more complex photographs. ...
2
votes
1answer
50 views

How to do multilabel multioutput classification?

Classify doesn't work when the targets are lists, so you need to encode the labels. However, there must be a nicer built-in way to do label encoding than this, but ...
1
vote
0answers
48 views

What's the algorithm behind markov classifier in Classify function for text classification?

https://www.wolfram.com/mathematica/new-in-10/highly-automated-machine-learning/find-which-author-wrote-a-text.html The above url show the use of Classify ...
0
votes
0answers
37 views

How effect is the mathematica automatic machine learning function like `Classify`? [duplicate]

The documentation said use Classify, you will get state of the art machine learning result. But since the Classify function of ...
3
votes
0answers
66 views

How to know the internal pre-processing of automatic machine learning function `Classify`?

In the Highly automatic machine learning page, it is said the function like Classify and Predict will do things like automatic ...
1
vote
0answers
35 views

Uncorrected Versus Corrected Measures of StandardDeviation in PredictorMeasurements' “StandardDeviation”

When using Predict have noticed that the standard deviation of the residuals computed manually is not equal to the output from ...
4
votes
0answers
278 views

Is there any decent deep learning library in Mathematica? [closed]

Deep Learning is the currently trending method in machine learning community. Some languages like python and matlab have some very convenient toolbox for deep learning. So is there any decent deep ...
7
votes
0answers
104 views

FindFormula Control [closed]

FindFormula is great start on the path to full symbolic regression and I realize it's level of development is only experimental at this stage. But if I happen to ...
4
votes
1answer
73 views

How to ImageIdentify multiple objects in a single image?

Suppose an image has multiple objects: ImageIdentify only finds the banana: ...
1
vote
0answers
40 views

What ratio of example per class gives best results and least overfitting?

For an n-class classifier or predictor, how many positive (or negative?) examples of each of the n classes should I put into my training and testing sets for the best results? I anticipate that ...
6
votes
0answers
93 views

Can Predict/Classify be parallelized?

Being able to parallelize Predict /Classify would be useful on multiple fronts: Performance/Scale Streaming Pedagogical ...
14
votes
2answers
620 views

How to detect loops in a vector field?

Given a vector field and I'd like to detect if there are streamlines in closed patterns. For example, if the input is a vector field like this: ...
9
votes
2answers
164 views

Inverse of Interpreter[“Color”]: Convert a RGBColor to a natural language color name

What is the best way to create the inverse function of Interpreter["Color"]? That function takes a natural language color name like ...
12
votes
1answer
280 views

How to monitor the progress of training a classifier?

I've had p = Predict[x -> y] running for hours and I have now idea if I should kill it or not. I'm looking for some rough bounds for an estimate of how long ...
28
votes
2answers
625 views

What is behind Mathematica's experimental `FindFormula` function?

In version 10.2 there is a new experimental function: FindFormula. I suspect that a genetic programming algorithm (symbolic regression) is behind this new feature ...
14
votes
2answers
476 views

Trainable WEKA segmentation of images

Is there a Mathematica equivalent of Trainable WEKA Segmentation as implemented in Fiji, the image processing software? A Google search did not return any relevant links. I attach the original image ...
27
votes
5answers
2k views

What are the Wolfram Language's relative strengths for machine learning?

I see a low use of Mathematica in Kaggle competitions. Why would one use the Wolfram Language versus R, Python, or Julia for machine learning? Besides prettier plots and the Manipulate function, ...
5
votes
0answers
93 views

How to perform Bayesian optimization with Mathematica? [duplicate]

Does Mathematica have any Bayesian optimization methods for learning hyper-parameters? Practical Bayesian Optimization of Machine Learning Algorithms Jasper Snoek, Hugo Larochelle and Ryan P. ...
0
votes
0answers
63 views

Create predictors and response pairs

I am new to Mathematica currently using version 10.1.0. After importing a .csv dataset of 352 rows, I select two variables (say, x1, ...
6
votes
1answer
264 views

Using ImageIdentify

How long does it take ImageIdentify to give an answer for one image? Also, I suppose using it requires an Internet connection with Wolfram servers. Is that correct?
3
votes
0answers
78 views

How does Mathematica automatically choose which classifier method to use?

I'm interested in what heuristics are used in Classify's choice of method.
2
votes
4answers
119 views

Pairs of data to Classify[]

Suppose I had the following data a={1,2,3,4,5} How would I turn this into b={{1,2,3}->4,{2,3,4}->5} That is, ...
1
vote
0answers
96 views

Exporting Classify Models

Currently I have created a simple classifier to classify sentiment from a string of text (or a tweet). The code is very basic and looks something like this: ...
8
votes
1answer
281 views
4
votes
1answer
316 views

How to do n-fold cross validation with Classify?

Other machine learning libraries have utilities to generate indices that can be used to generate dataset splits according to different cross validation strategies. How do I tell ...
0
votes
0answers
139 views

Run out of memory. How to optimize this code?

I have two sets of data: short with 22 entries, long with 46 entries. I want to take 20 entries from ...
16
votes
1answer
345 views

Biased results when using Method -> “RandomForest” in Predict

I am interested in using random forests for some prediction, so I have been using Predict. I find that "RandomForest" method ...
3
votes
2answers
92 views

Slow application of `Outer` on a matrix

I have some performance issue with the calculation of a gaussian kernel applied to a not-that-large dataset. I'm not very good with performance tuning in Mma and I have the feeling this one could be ...
2
votes
1answer
150 views

Using a dataset of PredictorFunctions

I have been working with a dataset of predictor functions -- mainly so I can have more insight in to what the functions are doing and how they behave. Where I am struggling is using ...
5
votes
1answer
311 views

How can I train a binary classifier to find a logo?

So I'm trying to contruct a simple binary classifier. Problem: Classify an image as containing the apple logo, or not. I'd like it to be distortion, color, size and rotationally invariant. I'm sure ...
13
votes
1answer
348 views

How can I detect if an image is in or out of focus?

I need to filter out bad (blurry or ) images from a set, with some sort of blur detector.
10
votes
1answer
716 views

How to train a convolutional neural net on images?

The functions Predict[] and Classify[] both have the option Method -> "NeuralNetwork", ...
13
votes
1answer
240 views

Rapid density estimation and rendering of decision regions

I would like to create an interactive demonstration using Manipulate[] that illustrates a fundamental concept in pattern classification and machine learning. This ...
9
votes
1answer
385 views

How to know the internal algorithms of functions like Predict or Classify?

The document centre seems only explain how to use these functions, but just in an very brief way. I know Mathmatica is not open source, so we can not expect to see the code of the function, but are ...
2
votes
0answers
102 views

How to view ClassifierFunction's preprocessed data?

Classify apparently preprocesses your input data, for example (same example from Classify reference page, but using ...
29
votes
1answer
668 views

How to perform document classification (i.e. extracting topics from text)?

I need to build a multi-label text classifier. There are a bunch of techniques for doing this, and it's called automatic document classification. I'm trying to use the EM technique (expectation ...
9
votes
1answer
185 views

Mathematica learning resource dealing with bayesian inference

Is there any good resource dealing with both Mathematica and bayesian inference?
6
votes
1answer
149 views

How do I access the parameters in Classify using Support Vector Machine as method?

I have a dataset that I want to classify and I do the following: clf = Classify[xtrain -> ytrain, Method -> "SupportVectorMachine"] How can I use my own ...
4
votes
0answers
136 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 ...