Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
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.
M.R.'s user avatar
  • 31.8k
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 ...
Frederik Brinck Jensen's user avatar
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: ...
holistic's user avatar
  • 3,045
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 ...
Kiril Danilchenko's user avatar
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-...
dwa's user avatar
  • 1,959
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 ...
Corse's user avatar
  • 459
4 votes
1 answer
187 views

Pulling the principal components out of a DimensionReducerFunction?

Suppose I perform dimension reduction using PCA: ...
Michael Curry's user avatar
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 ...
Kiril Danilchenko's user avatar
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 ...
Diffycue's user avatar
  • 1,854
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 ...
Ian's user avatar
  • 101
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 ...
oussama ghrib's user avatar
4 votes
1 answer
171 views

How to use classify to separate lines and circles

I generated lines and circles: ...
holistic's user avatar
  • 3,045
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 ...
Michael's user avatar
  • 197
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....
Edward's user avatar
  • 43
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 ...
Kiril Danilchenko's user avatar
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 ...
user5601's user avatar
  • 3,830
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:- ...
H42's user avatar
  • 3,509
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...
user5601's user avatar
  • 3,830
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: ...
partida's user avatar
  • 6,866
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 ...
user5601's user avatar
  • 3,830
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 ...
RunnyKine's user avatar
  • 33.3k
4 votes
1 answer
62 views

"MoleculeFeatures" in FeatureExtractor

"MoleculeFeatures" is one possible Feature Extractor method. What molecule properties does "MoleculeFeatures" entail?
Tahiryfr's user avatar
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 ...
bhopshang's user avatar
  • 739
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 ...
Nico A's user avatar
  • 3,674
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, ...}...
M.R.'s user avatar
  • 31.8k
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: ...
Alexey Golyshev's user avatar
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 ...
OkkesDulgerci's user avatar
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. ...
TeresaBroadwin's user avatar
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 ...
dimos's user avatar
  • 43
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 ...
Alec Graves's user avatar
  • 1,078
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 ...
miggle's user avatar
  • 667
4 votes
1 answer
114 views

Detecting Lines in Data

I have some data representing a vaguely periodic signal, here is a sample ...
user2757771's user avatar
4 votes
1 answer
236 views

Two different results produced by Classify

...
HyperGroups's user avatar
  • 8,649
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. ...
H42's user avatar
  • 3,509
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 ...
M.R.'s user avatar
  • 31.8k
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: ...
Baoxiang Pan's user avatar
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-...
HyperGroups's user avatar
  • 8,649
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 ...
user5601's user avatar
  • 3,830
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 ...
Ali Hashmi's user avatar
  • 9,060
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}] ...
user5601's user avatar
  • 3,830
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 ...
Seth Chandler's user avatar
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 ...
M.R.'s user avatar
  • 31.8k
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 ...
M.R.'s user avatar
  • 31.8k
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 ...
Abel Brown's user avatar
4 votes
1 answer
308 views

Help: Classify and Predict Fail for large datasets

...
user13892's user avatar
  • 9,751
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: ...
M.R.'s user avatar
  • 31.8k
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 *) ...
James Khan's user avatar
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)?
George's user avatar
  • 3,175
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 ...
HyperGroups's user avatar
  • 8,649
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 ...
ben18785's user avatar
  • 3,167

1
4 5
6
7 8
14