The Stack Overflow podcast is back! Listen to an interview with our new CEO.

All Questions

Filter by
Sorted by
Tagged with
15
votes
1answer
405 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 ...
14
votes
2answers
1k views

How to do Independent Component Analysis?

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

Markov Random Field

I look for an efficient way to implement a Pairwise Markov Random Field. I have implemented a homogeneous (i.e., unary potential is a similar function in all nodes, and pairwise potential is a ...
9
votes
0answers
195 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 ...
5
votes
1answer
866 views

How to perform convolutions on this complicated pdf?

For a known pdf f[x], I need to calculate integrals over the probability density of the sum of Log[f[x]] over independent samples: $$Q[t,n]\equiv P(\sum_{i=1}^{n}...
4
votes
1answer
98 views

ClassificationMeasurements without the Classifier

I only have classifications (a list of inputs and outputs), but not a ClassifierFunction, how can I still use ...
3
votes
1answer
274 views

Specifying mean and kernel function in Gaussian Process

As part of the Improved Machine Learning in Mathematica 11, Wolfram advertises the Method "GaussianProcess" which can be used with Predict[] to obtain smooth Gaussian random fields. The screenshot ...
3
votes
1answer
71 views

Classifier from Two Distributions

Maybe this is a noob question and maybe it should be on CrossValidated ... Suppose I have two classes {class1, class2} and have their two associated EmpiricalDistribution[]s, pdf1(x) and pdf2(x). ...
2
votes
1answer
66 views

Confusion about Predict Model NameAge

Predict["NameAge", "Claire"] 8 distribution = Predict["NameAge", "Claire", "Distribution"] dataRaw = distribution[[2]] <...
2
votes
1answer
90 views

Plotting a precision recall curve?

I would like to plot some PR curves for a few different applications: results on a test set for a (multilabel multiclass) classifier results on a test set for a CBIR function that returns ranked ...
2
votes
1answer
56 views

How does DimensionReduce work for EventData?

My question is whether the use of DimensionReduce, for a simple example with Method -> "PrincipalComponentsAnalysis" is the ...
1
vote
0answers
348 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 ...
0
votes
2answers
103 views

How to Sample from a Probability Density Function

I've done a pretty good job working my way through and understanding the various ways to calculate the differences between probability distributions through Kullback Leibler Divergence and was happy ...
0
votes
0answers
51 views

CDF of probability from a ClassifierFunction

I have a classifier function that classifies whether a student is likely to succeed in a course given their score on a placement test. From this, I am pulling both the probability of being successful ...
0
votes
0answers
107 views

Cross-entropy calculation

This is a really dumb question, but here goes: is there a way to compute cross-entropy of two probability distributions? There is CrossEntropyLayer[], so ...