All Questions
Tagged with predictor or machine-learning
682 questions
5
votes
0
answers
144
views
Geographic text recognition [closed]
I would like to process an image from this Wikipedia page to get the structured data out
Like so
<| "New York" -> 28, ... |>
Not sure where to start.
5
votes
0
answers
487
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 ...
4
votes
1
answer
696
views
Detecting a pattern in a time series with a Neural Network
I new to working with Neural Networks and I want to detect a pattern in a time series and return some measure of the certainty/uncertainty when a pattern has been detected:
...
4
votes
2
answers
473
views
Classifier training on a large data set
I am interested in binary classification and I have a huge set of training examples (around 4 millions). Each example is a $10 \times 2$ matrix. When I run the classification after two hour run the ...
4
votes
1
answer
487
views
Options for the function 'Classify'
One of the Method options to Classify is NearestNeighbors. To set up a NearestNeighbors-...
4
votes
2
answers
439
views
Regarding input to NetTrain function
Essentially I have used the SemanticImport[] function on a csv file with headers for each column. Now I understand that each of these headers is referred to 'key' in mathematica. *
I have no problem ...
4
votes
1
answer
187
views
Pulling the principal components out of a DimensionReducerFunction?
Suppose I perform dimension reduction using PCA:
...
4
votes
2
answers
160
views
Crashes of Classify function
I'm working on a classifying two classes. I am training my Classify function with the RandomForest method, but it crashes.
The ...
4
votes
1
answer
595
views
Constructing graph of points in 3D with edges weighted by distance
I have a set of data in $\mathbf{R}^3$ for which I want to construct a $k$-nearest-neighbors graph whose edges are weighted by the distance of each point to its neighbors. Is there a way to do this ...
4
votes
1
answer
110
views
Does RandomArrayLayer implement the reparameterization trick?
I want to backpropagate through random operations (e.g. learn the mean and variance of a Gaussian random variable). I assumed that
...
4
votes
1
answer
220
views
How to add doodles and sketches in a mandala
i discovered mathematica yesterday; and i've been playing with RandomMandala since.
i also saw this question; and i really liked the second answer; but i like the ...
4
votes
1
answer
171
views
How to use classify to separate lines and circles
I generated lines and circles:
...
4
votes
1
answer
5k
views
GPU support on latest MacBook Pro, especially for deep learning
I'm thinking about getting some new top of the line computer hardware, specifically a MacBook Pro from Apple. These have AMD Radeon Pro 5500M GPUs, which while a bit slower than something like an ...
4
votes
1
answer
184
views
Adding Noise in Neural Net via ElementwiseLayer
I am trying to add noise to a neural net to train a denoising autoencoder. I don't want to pre-calculate the noisy data. Rather, I'd like the noise be applied via a function using the ElementwiseLayer....
4
votes
1
answer
148
views
Speedup of DimensionReduce
I am interested in accelerating DimensionReduce using the "TSNE" method. I have a matrix with a size of 30000 * 10, and I want to reduce to 30000 * 8. But the calculation is very slow, any suggestions ...
4
votes
1
answer
188
views
How to use FastText embeddings in a NetGraph?
Does Mathematica 11 have access with either the Wikipedia or CommonCrawl FastText embeddings? Maybe this is built-in through the Neural Net Repository or available through a ...
4
votes
1
answer
242
views
How to apply the layer of sigmoid function in neural network?
I saw an article How to build a simple neural network in 9 lines of Python code and want to reconstruct the result in Mathematica. I tried the below codes:-
...
4
votes
1
answer
206
views
Accuracy during training?
Is there any way to see a plot of the accuracy over the Validation set for each round instead of the loss graph, during a NetTrain session?
There probably is and I'm just missing it...
4
votes
1
answer
588
views
How to use Multi-Inputs in NetGraph with NetTrain?
I want to train a network,the first input is a Integer,the second input is 10-dims vector.
Assume we have those data:
...
4
votes
1
answer
105
views
What is the point of ActiveClassification?
I must be missing something here - it seems that the first argument to ActiveClassification is your target function, but if you already know that function then why ...
4
votes
2
answers
2k
views
Conditional Clustering of a set of 3D points
I have a set of 3D points and I would like to know how to cluster them such that every point in a given cluster is at most a certain distance (let's assume ...
4
votes
1
answer
62
views
"MoleculeFeatures" in FeatureExtractor
"MoleculeFeatures" is one possible Feature Extractor method. What molecule properties does "MoleculeFeatures" entail?
4
votes
1
answer
338
views
Constructing neural networks from Keras example
I am trying to convert neural networks from a book to Wolfram language. The book has this example with the quote
two layers of 10 neurons and a dropout of 0.2 for each
...
4
votes
1
answer
227
views
Using GPU Computation in LearnDistribution
LearnDistribution has an option for RealNVP, which is directly training a neural network for the distribution. It also has an option for TargetDevice, however, it appears to do nothing. Take the ...
4
votes
2
answers
301
views
NetTrain with multi-label data?
I'm attempting to do simple category recommendation on textual data. I have around 20k training samples of the form desc_String -> {tag1_String, tag2_String, ...}...
4
votes
1
answer
86
views
How to restore trained classifier/predictor from persistent storage?
Mathematica 11.3 has the ability to store trained classifier/predictor in the notebook. But how can we restore it in the new session?
Create notebook and measure it's size:
...
4
votes
1
answer
198
views
Reccurent neural network
I watched the this video on YouTube and copied the code. Why it does not work in M12? I mean net[inData] and ...
4
votes
1
answer
85
views
Predict[] Application Timing [closed]
I trained a Predict and when I look at PredictorInformation it says evaluation time is less than 1 millisecond per example. ...
4
votes
1
answer
165
views
Classifying text and number features
I am new to the ML algorithms and I am checking the Classify function of Mathematica. I understand the math for the random forest algorithm, but I have a question ...
4
votes
1
answer
369
views
How can I free GPU memory allocated with NetTrain
When I train a neural network with NetTrain[..., TargetDevice->"GPU"], wolfram's neural network code automatically allocates memory on my GPU for my ...
4
votes
1
answer
1k
views
Complex numbers in neural networks
I am trying to construct a neural network which fits a collection of functions from (complex-valued) vectors to complex numbers. After constructing a suitable network, I was surprised to see that ...
4
votes
1
answer
114
views
Detecting Lines in Data
I have some data representing a vaguely periodic signal, here is a sample
...
4
votes
1
answer
236
views
4
votes
1
answer
134
views
How to reconstruct the result of FeatureExtraction?
For the below code for Mathematica 11.3, I got {-0.153792, 1., 1.} as output.
...
4
votes
1
answer
224
views
How to NetTrain only N batches?
I'd like to train a neural network for only a specified number of batches, that is for only part of an epoch (or TrainingRound). I've tried using the ...
4
votes
1
answer
127
views
Deep Learning SummationLayer does not support varying dimensions on Linux server
I am trying a recurrent network in Linux server using MMA 11.3. The network structure is as follows:
...
4
votes
1
answer
160
views
How can I reproduce the result of AgeEstimation model in MXNet-Python?
How can I reproduce the result of AgeEstimation model in MXNet-Python?
here is my repo about MXnet-Python codes to load Mathematica Models.
I want the result of Mathematica and the result of MXNet-...
4
votes
1
answer
234
views
How exactly does NetTrain use a ValidationSet (can we reuse it as TestSet)?
Typically when you train a model you have three sets of data: training, validation, and testing - and they can’t be mixed, i.e. you can’t use images from one in the other.
I want to know if the ...
4
votes
1
answer
250
views
how to use CatenateLayer to connect nodes within a NetChain
EDIT:
Looking closely at my network I have a similar problem of providing inputs to the CropLayer function. The output from the pooling layer (node 30) and node 87 (activation) should feed to the ...
4
votes
1
answer
149
views
Using NetGraph as FeatureExtractor?
I'd like to compute FeatureDistance between two images with a NetGraph:
rs = NetModel["ResNet-152 Trained on ImageNet Competition Data"];
fe = NetTake[rs, {1, -3}]
...
4
votes
1
answer
492
views
Weighted Data within Classify and Predict (or NetTrain)
I posed this on Wolfram Community about a week ago and no one there seems to have a good solution, so I will try it here. (It may well be that this is an issue for Mathematica developers and that ...
4
votes
1
answer
120
views
ClassificationMeasurements without the Classifier
I only have classifications (a list of inputs and outputs), but not a ClassifierFunction, how can I still use ...
4
votes
1
answer
833
views
Joint Training and multiple losses in NetTrain
Jointly training a neural network to solve multiple tasks simultaneously sometimes results in elevated accuracy, and I'm looking for any known examples of this in Mathematica.
Here's the specific ...
4
votes
1
answer
234
views
NetTrain ClassifierFunction/NetChain Entropy
Obtain a trained network from NetTrain as
net = NetTrain[net, dat];
which i believe returns a ClassifierFunction (although Head[net] returns NetChain).
In ...
4
votes
1
answer
308
views
4
votes
1
answer
245
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:
...
4
votes
2
answers
398
views
How to find explicit hyperplane in SupportVectorMachine
I am using the SupportVectorMachine classfier:
e.g., (* let me use Linear kernel for simplicity *)
...
4
votes
1
answer
152
views
Generating "fake persons" with Mathematica?
Similar to this site, does Wolfram have some capacity to generate "fake humans" (for a cool demonstration)?
4
votes
1
answer
220
views
Why LogisticRegression in Classify gives worse accuracy than result without PerformanceGoal Setting
Tested@Mathematica 11.1 on Windows
ModelA
...
4
votes
1
answer
610
views
Extract training and test set performance from a neural net
I would like to extract a graph of the history of a neural net's performance, as it is trained. This is so I can compare it with the equivalent from Tensorflow (for some reason an equivalent network ...