All Questions
Tagged with machine-learning or machine-learning
682 questions
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 ...
6
votes
1
answer
221
views
Introductory material on machine learning?
Does Mathematica have a handbook or other introductory material on machine learning? Or are there any books on analyzing machine learning with Mathematica?
1
vote
0
answers
51
views
Is it possible to add new concept to ImageContents
I was hoping to use ImageContents to locate some specific objects in a series of images with a bounding box. However, ...
6
votes
1
answer
188
views
Unexpected high memory consumption using out-of-core NetTrain
I'm working on training a neural network on an image dataset. There are 14k images and each image contains 3x150x150 pixels. I have built a generator function following the approach in Training on ...
3
votes
0
answers
74
views
Problem with Mathematica Relationship Building
When I enter the following to get Mathematica to open my pod door I get
Could someone try and replicate this? Also, my name is not Dave and I throw my own error...
...
2
votes
1
answer
83
views
How does mathematica generate FinalPlots
It is well known that after using NetTrain[net,dataset,All], a NetTrainResultObject is returned. This is an association, with a ...
1
vote
1
answer
66
views
BasicRecurrentLayer with no bias and linear activation function?
Trying to design a small neural network for modeling a LTI system, I'd like to configure a BasicRecurrentLayer with these particular settings:
No bias vector should be used (I've tried the option &...
2
votes
0
answers
57
views
Preprocessing data\[Ellipsis]. or Preprocessing data..... error in ParallelTable in Mathematica
I am working on Machine Learning. My purpose in the code is to repeat calculation a few times and average the results. While using Table command, following message pops up for ClassifiersMeasurements ...
3
votes
4
answers
198
views
How to predict future samples from discrete samples of a low frequency signal?
Suppose I have discrete samples of a low frequency signal as in:
For example:
...
2
votes
1
answer
60
views
How many nearest neighbours in a classifier by default?
I've been running a classifier on my data with the 'NearestNeighbors' method. I've learned that I can specify the number of neighbours used with the following command:
...
17
votes
2
answers
338
views
How to export a ContentDetectorFunction for use in Python?
For text and images v13 introduces the ability to train detectors easy which result in ContentDetectorFunction's. To use these IRL we need to export to python's ...
1
vote
1
answer
124
views
Constructing Net problem
so I'm trying build a simple net that will help me find the winner in a competition. I would like to use as input "Name", "FA" and "Force", and obtain "Winner" ...
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
0
answers
90
views
Exporting a DimensionReducerFunction
I need to run my DimensionReducerFunction in a standalone fashion outside of MMA. That is, without calling into a kernel or through an APIFunction.
For example, ...
1
vote
0
answers
74
views
How to export the expandable graphs
So in Mathematica, neural network objects appear like this:
This is rather boring, but if you click on the plus sign, it expands into a better graph:
Which is ...
1
vote
0
answers
135
views
Download Mathematica resource from another source [closed]
I want to do machine learning on Mathematica, however when I use obj = ResourceObject["CIFAR-10"]; to load the dataset, it shows errors after the ...
48
votes
5
answers
4k
views
Generative Adversarial Network
Generative adversarial networks (GAN) is regarded as one of "the most interesting idea in the last ten years in machine learning" by Yann LeCun. It can be used to generate photo-realistic images that ...
1
vote
0
answers
152
views
Is there a way to predict permutations that consist of sets?
SequencePredict is a function that predicts the next value from the arranged data.
But I want to use the data for the combination to predict the next combination(...
1
vote
0
answers
29
views
How is posterior distribution computed for various values of `Method` in the `Predict` function?
Assume I have some dataset to train a machine learning model on using Predict along with a test point x.
...
3
votes
1
answer
108
views
Automated mapping between input and output columns of FeatureExtractorFunctions
This problem is about FeatureExtraction. It arose in the course of training a neural network where the data contains a mixture of nominal and numeric variables. Basically, my code looks like the ...
6
votes
1
answer
387
views
What are the possible values of sub-options for Classify[]?
Specifically, how can I find the possible values of sub-option "KernelType" of option "Method" for Classify? Here's an example:
...
1
vote
0
answers
146
views
Increase the speed of Machine learning based on 'Predict'
I am training a ANN model with a large dataset (~million level) using Predict or NetTrain function. I do not have a GPU machine but have a server equipped with 16 CPU cores. How can I maximize the ...
1
vote
0
answers
145
views
How to solve ODEs using deep learning in Mathematica [closed]
I have a number of ODEs (58) with 16 parameters and 9 variables. I want to solve the ODEs to obtain the analytical relationship between the parameters and variables. It is obviously that the ODEs ...
1
vote
1
answer
190
views
Issue with Transfer Learning using VGG16 NetModel
I am trying to use the VGG16 architecture available in the Wolfram Neural Network Repository to classify the Fashion MNIST dataset. The VGG 16 by default accepts images of size 3x224x224. However the ...
5
votes
1
answer
1k
views
How to generate names with a GAN?
I'd like a tutorial for text generation using GANs, specifically for names. I have a list of company names and would like the network to generate novel ones.
This is one of the only few examples of ...
84
votes
8
answers
15k
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
1
answer
100
views
Extract ROIs - Machine learning - References
I want to try to extract ROIs from certain images using machine learning and neural networks , granted I know nothing about this field and it may not be the best way to do this, but the goal is to ...
0
votes
0
answers
67
views
Mathematica accuracy errors when creating data
I created training data for a neural network and below are two errors I got
The only code that uses "FindRoot" command is the following
...
1
vote
1
answer
90
views
Error Using NetMeasurements (assessing neural network performance)
I am trying to assess how well a neural network regression model performs on test data. To do this I have used NetMeasurements command.
...
2
votes
1
answer
417
views
Building multilayer perceptron Neural Network
I’m new to machine learning and am a bit confused about how to create a neural network (multilayer perceptron) with a specific design.
I would like to create a neural network with 40 features/neurones ...
21
votes
1
answer
331
views
Inefficient memory storage for Dataset
Why Dataset doesn't serialize its contents, isn't it the whole point? I expect it to behave similar to python's pandas.DataFrame,...
1
vote
1
answer
99
views
Derivative of predictor function
Given some data dat, we would like to generate a predictor function. Therefore we use
...
40
votes
2
answers
2k
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 ...
6
votes
0
answers
238
views
How to perform feature selection for machine learning applications?
Feature selection is fairly easy in e.g. Python's scikit-learn which sports a module and tutorials or MATLAB.
Mathematica even touts that it uses feature selection ...
48
votes
2
answers
9k
views
Object detection and localization using neural network
Four important computer vision tasks are classification, localization, object detection and instance segmentation (image taken from cs224d course):
These four tasks are all built on top of the deep ...
0
votes
1
answer
156
views
Classify across ten methods
Mathematica supports ten different methods for Classify.
The ten methods are: "ClassDistributions", "DecisionTree", "GradientBoostedTrees", "LogisticRegression&...
3
votes
1
answer
114
views
Can NetNestOperator take a non pre-defined number of iterations?
I'd like to Nest a particular NetChain inside a larger NetGraph for a random number of ...
8
votes
1
answer
187
views
Optimize a network topology?
I'd like to know if one can use optimization function like Maximize[] or BayesianMaximize[] to optimize the hyper-parameters of ...
0
votes
0
answers
102
views
Generating a sequence from a number using RNN
Can someone please provide me with a neat example about generating a sequence from a number using RNN? (Possibly without using NetGraph[].)
Edit:
I'm trying to ...
7
votes
1
answer
772
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 ...
2
votes
0
answers
32
views
Does NetChain have a "Distribution" property like PredictorFunction?
PredictorFunction has an incredibly useful "Distribution" property. In the past, this has helped me filter out bad predictions, like this:
...
2
votes
0
answers
160
views
Simulated Cartpole Example in Mathematica
I am interested in modifying the code underlying the reinforcement learning example SimulatedCartpole in Mathematica 12.
This example is still listed as Experimental. The help function indicates that ...
3
votes
1
answer
212
views
Deploying A Classifier Function
Let's say we train a classifier on the titanic dataset
cl = Classify[
ResourceData["Sample Data: Titanic Survival"] -> "SurvivalStatus"]
...
1
vote
1
answer
66
views
Separating objects into a constrained number of groups where data is known about all object pairs
In Frequency Planning, we may know the interference between one cell and another cell. You may be a able to operate a specific number of frequencies. How would one separate them into the best groups. ...
1
vote
0
answers
108
views
Is Parallelization of NetTrain possible?
I was planning to build a Neural Network model and create a list of the same model with the elements of the list being different Initializations of the same model.
Is it possible to Train the entire ...
1
vote
1
answer
93
views
What is the default loss function used by the GradientBoostedTrees classifier?
I've used Classify[...] for a two class image classification problem which has yielded pretty good results. I let Mathematica select an algorithm for me and it picked a GBT model, everything looked ...
1
vote
0
answers
51
views
Should this Dataset be Transposed for best Neural-Net Performance?
I've been working with this Kaggle dataset and intend to use it to make some time-series predictions from it. I've preprocessed it to the point where now I need to start making some decisions about ...
1
vote
0
answers
44
views
How to access the output of a sub-chain or subgraph in a neural network?
I have a simple chain in Mathematica
myChain = NetChain[{
LinearLayer[100],
myLittleChain[],
LinearLayer[25],
SoftmaxLayer[]
}]
with a sub-chain
...
0
votes
0
answers
197
views
I'm not sure how to use Predict[]
In my university I got an assignment: I need to predict the stock price using two of machine learning methods with imported data. (I've chosen Linear regression and Decision tree).
I tried to make a ...
2
votes
0
answers
137
views
How to specify custom Loss function for Predict
How can I use Predict[Xs->Ys, Method->"NeuralNetwork"] to predict 90%-quantile (instead of mean value)?
Utility Function does not work well for this case, because
it assumes ...