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

11
votes
2answers
199 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 ...
19
votes
5answers
1k 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, ...
0
votes
0answers
12 views

Finding parameters of a gaussian mixture model that uses markov models [migrated]

I'm using this paper for reference http://www.cs.cornell.edu/~asaxena/learningdepth/saxena_ijcv07_learningdepth.pdf I could get all the features required but have trouble with the probabilistic model. ...
4
votes
0answers
70 views

How to perform Bayesian optimization with Mathematica?

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
32 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, x2, which are actually positive integers) as predictors and one ...
6
votes
1answer
183 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
49 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
99 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
71 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: ...
7
votes
1answer
122 views
3
votes
1answer
195 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
117 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 ...
13
votes
1answer
204 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
68 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 ...
0
votes
0answers
122 views

How to do visual bag of words classification?

Matlab has a nice tutorial on image classification using a bag of visual words, where they use the Caltech101 dataset and classify the images into 101 categories. How would this be done in ...
2
votes
1answer
88 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 ...
3
votes
1answer
245 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 ...
12
votes
1answer
248 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.
8
votes
1answer
309 views

How to train a convolutional neural net on images?

The functions Predict[] and Classify[] both have the option Method -> "NeuralNetwork", ...
11
votes
1answer
192 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 ...
0
votes
0answers
58 views

Supervised Learning

Hi all I am just starting with mathematica. I wanted to train five fields as input and 3 fields as output in a total of 8 fields in database. I cannot find sample code for this
8
votes
1answer
236 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
79 views

How to view ClassifierFunction's preprocessed data?

Classify apparently preprocesses your input data, for example (same example from Classify reference page, but using ...
21
votes
0answers
369 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 ...
7
votes
1answer
134 views

Mathematica learning resource dealing with bayesian inference

Is there any good resource dealing with both Mathematica and bayesian inference?
3
votes
1answer
100 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 ...
3
votes
0answers
88 views

How to make Distance transform invariant to scale

I am using distance transform as a descriptor to encode silhouettes in order to do shape recognition task. It is clear that distribution of distance transform is invariant under rotation and ...
7
votes
2answers
385 views

How to change NeuralNetwork options?

How can I manipulate the architecture and problems of a NeuralNetwork in Predict or Classify? For example, running the following ...
2
votes
1answer
157 views

Classify Function : Sentiment Polarity

I have been working on a project involving the new Classify[] function. More specifically, the sentiment analysis function. It works perfectly well, as in the documentation: ...
6
votes
1answer
189 views

Using Predict on images

I have a dataset of some (grayscale) images (stored as a list in inputImages) varying in size and content (this is example data from Wolfram, so you can run the ...
5
votes
1answer
212 views

Sentiment analysis of tweets

I want to use Mathematica for a sentiment analysis on tweet-messages. For that purpose i selected several tweets. Each tweet is interpreted by myself as positive (pos) of negative (neg). For example: ...
4
votes
2answers
211 views

Importing multiple images for machine learning classification

I want to create a ML classifier using images just like this example. I have two classes of images in two different folders. Is there an easier way to import all images from both folders rather than ...
8
votes
1answer
458 views

How to split a Dataset into training and testing for machine learning?

Suppose I have iris data In the Dataset Format. How to split the iris data Into training and testing for Machine learning? For example,Transform the data for Classify.
6
votes
2answers
100 views

ClassifierInformation's “ClassPriors” misreporting?

To the TLDR people It seems to me that when you explicitly set ClassPriors when running Classify, it creates a ...
13
votes
1answer
306 views

How can I export my learned ClassiferFunction[] and PredictorFunction[]s?

Mathematica 10 provides beautiful high-level machine learning functionality. Sadly, the learned functions once created are rather opaque objects. I need to use them in other projects, so here is my ...
2
votes
0answers
175 views

How do I obtain the Fisher Information Matrix from a data set?

My apologies in so much as this is probably in large part a problem of me not being aware of the necessary mathematics but since this should be a common issue in machine learning and Mathematica now ...
12
votes
1answer
564 views

Classify command in Mathematica 10

Where can I find documentation about the methods used in the Classify command in Mathematica 10? Specifically, how does the method ...
2
votes
3answers
301 views

Clustering data sets with multiple variables

I am learning how to cluster large datasets and this maybe a newbie question, but I haven’t found a suitable answer in the Documentation or on this board. My question is best illustrated by an ...
5
votes
1answer
383 views

Classify the classic tennis example

When using the classic tennis data (reference here) with Classify ...