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

7
votes
1answer
89 views

How to make classification results replicable?

Let's suppose I have a simple classification problem: ...
5
votes
0answers
78 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 ...
1
vote
1answer
68 views

An example showcasing ValidationSet's utility

Validation sets form a fundamental part of machine learning by minimising overfitting but is there a nice example showcasing this effect when using Predict/...
7
votes
3answers
138 views

Locally Weighted Linear Regression

I am following the online Stanford Course in Machine Learning and I am trying to implement the algorithms on the fly in Mathematica. Currently, I have issues with minimizing the Locally Weighted ...
0
votes
0answers
3 views

Gaussian process for machine learnig [migrated]

Here is my question in the equation 2.11 A is N by N matrix, so there is not feasible if N is large the textbook say in the euqation 2.12, we only need to invert size n by n. But I think K is 1 by ...
8
votes
3answers
382 views

Noise filtering in images with PCA

I have a stack of images (usually ca 100) of the same sample. The images have intrinsic variation of the sample, which is my signal, and a lot of statistical noise. I did a principal components ...
3
votes
0answers
141 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 ...
2
votes
1answer
137 views

Classifying images in mass with URLs and CSV file

I'm looking to train a image classifier with a large number of examples and categories (30,000 & 100). I would then import a file of image URLs that need to be classified, and export the results. ...
3
votes
1answer
77 views

How to compute scores with a ClassifierFunction's SVM?

I'm trying to understand the evaluation mechanism for ClassifierFunction. Here we train a simple linear SVM on some toy data: ...
1
vote
0answers
51 views

Predict expand training data [closed]

Lets say I have a small set of training data and have calculated a Predictor function from this set. Is it possible to continue the training with a larger data set?
5
votes
0answers
102 views

How do I configure the input and output layers of a neural network?

I'm confused about how to set some of the basic properties of a neural network structure using Classify. I'm trying to set the basic properties of a simple neural ...
3
votes
0answers
110 views

Building a classifier for images

I tried to build a classifier for some images that I have with the following code: ...
7
votes
1answer
91 views

Is the Method -> Automatic option for Classify not deterministic?

I just prepared an (well known) example in machine learning, the weather dependent determination of whether to play golf or not, as shown in this picture (of a corresponding Dataset) Now I set up ...
0
votes
1answer
69 views

Normalize data in feature engineering

Here is the dataset to be used to train the model. ...
1
vote
0answers
64 views

Google Cloud Vision vs ImageIdentify [closed]

Google has recently made their vision API publicly available (in beta release). I was hoping someone who has access to it could speak to how it compares with Mathematica's ...
1
vote
0answers
79 views

Error when training support vector machine (SVM) classifier

I am running Classify function using a support vector machine model. I get an error that I can not fix. Here is my code. The data is imported from a file *.txt: <...
5
votes
1answer
159 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 (...
13
votes
2answers
264 views

How to do Independent Component Analysis?

The new experimental function in 10.3.1 DimensionReduce[], has the following three options for Method: ...
3
votes
2answers
181 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 ...
8
votes
0answers
119 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
47 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
68 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)...
3
votes
0answers
100 views

Classification problem using SVM methods

I am running SVM on mathematica and I a used this code with classes: ...
4
votes
0answers
109 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
66 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
105 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
209 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
69 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
82 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
43 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
106 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
42 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 ...
6
votes
0answers
540 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
134 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 ...
5
votes
1answer
89 views

How to ImageIdentify multiple objects in a single image?

Suppose an image has multiple objects: ImageIdentify only finds the banana: ...
1
vote
0answers
46 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 ...
7
votes
0answers
120 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
685 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: ...
12
votes
3answers
283 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
312 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 <...
34
votes
3answers
815 views

What is behind experimental function: FindFormula?

In version 10.2 there is a new experimental function: FindFormula[]. I suspect that a genetic programming algorithm (symbolic regression) is behind this new ...
14
votes
2answers
615 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 ...
33
votes
6answers
3k 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
94 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
75 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, ...
7
votes
1answer
292 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?