Skip to main content

All Questions

Filter by
Sorted by
Tagged with
3 votes
0 answers
395 views

Fourier neural operator using wolfram mathematica

Fourier Neural Operator (FNO) is a neural network-based approach that combines deep learning with the Fourier transform to solve partial differential equations. It leverages the power of neural ...
Baoxiang Pan's user avatar
1 vote
1 answer
212 views

Predict Function & Generating a Training Set

I am trying to use the Predict[] function to do a regression analysis. I have the data imported from a CSV and based on my past Python experience the libraries I used always have a slick way to take ...
wpilgri's user avatar
  • 55
3 votes
0 answers
125 views

FeatureExtraction[] for text -- to normalize text or not?

The title pretty much captures my question. When I use FeatureExtraction[] for text, should I normalize text before parsing it through ...
dearN's user avatar
  • 5,391
0 votes
0 answers
70 views

How do I make Predict function accept a sequence of data inputs as a feature while training?

How do I make Predict function accept a sequence of data inputs as a feature while training? I am unable to use this : trainingdata = { 5 -> {{1,4},{2,3}}, 6 -> {{2,4},{3,3}} , .... } as ...
Quasar Supernova's user avatar
5 votes
0 answers
216 views

Modern topic modeling?

This question was asked in 2014: How to perform document classification (i.e. extracting topics from text)? At the time user @V.E. gave a great little tutorial on LDA, but today, there's still no ...
M.R.'s user avatar
  • 31.8k
5 votes
1 answer
196 views

Sort symbols or characters by image complexity

As an example, I would like to sort the following characters by some sort of complexity measure: ...
userrandrand's user avatar
  • 6,027
5 votes
0 answers
186 views

Target Device->"GPU" Not Working For Machine Learning: LibraryFunction error

I'm running Wolfram Desktop version 13.2.1, and after downloading Visual Studio, Nvidia Toolkit version 12.1 and 11.2, and verifying that ...
Daniel Berkowitz's user avatar
16 votes
0 answers
698 views

How to reconstruct 3d meshes from 2d images of a scene?

The new ImageStitch was nice functionality added in v13, but is there anything available for constructing meshes (with color textures) from a bag of 2D images (...
M.R.'s user avatar
  • 31.8k
13 votes
1 answer
618 views

Wolfram Neural Net Repository Questions

I was a research scientist in the machine learning team, and mostly involved with the neural net repository.
T.B.'s user avatar
  • 131
0 votes
0 answers
33 views

What is the network structure of Ademxapp Model A1 Trained on Cityscapes Data in the Mathematica?

I want to implement the model (Ademxapp Model A1 Trained on Cityscapes Data) on my data for segmentation, so I need the partial structure of this model, can anyone help?
Erfan's user avatar
  • 195
3 votes
1 answer
64 views

Sentiment analysis function (not using Classify)

I am looking to create a function that will take a text and parameter strings "neg","pos", and "sum" and calculate a sentiment value for the text. I want to use ...
keith's user avatar
  • 41
2 votes
0 answers
145 views

Machine learning for symbolic mathematics

I came across a meaningful article about the use of machine learning (in particular, with Mathematica) to solve ODEs and find undefined integrals. Are there any other works, especially done with ...
user64494's user avatar
  • 29.1k
3 votes
0 answers
247 views

Why Mathematica's Classify gives 100% accuracy on FashionMNIST dataset

Tested on Mathematica 13.2 ...
HyperGroups's user avatar
  • 8,649
3 votes
0 answers
142 views

Using Mathematica ML models in another application

Using Mathematica, I trained and exported some machine learning models with the suggested file extension .wmlf. However, I noticed that these files are stored in HDF5 format. How can I import these ...
Jeremy L's user avatar
21 votes
4 answers
564 views

Find best region to put text onto image

Given an image upon which you want to inset text, the question arises: What is the best sub-region to place text? For example, given a background image I want to find the rectangle in the image (...
M.R.'s user avatar
  • 31.8k
0 votes
0 answers
76 views

Neural network: Segmentation of water and not water area

Good morning everyone. I have a large dataset of photographs similar to the one attached. It would be my intention to train a neural network to recognise water and "non-water" zones. How ...
Ramiro dell'Erba's user avatar
1 vote
0 answers
96 views

What is that neural network?

I am teaching my comp to add naturals by creating a neural network: ...
user64494's user avatar
  • 29.1k
5 votes
2 answers
101 views

Which model behind SequencePredictorFunction?

Is the SequencePredictorFunction based on Hidden Markov Model? If so, how does the model estimate the number of hidden states?
andrea simonetti's user avatar
1 vote
1 answer
48 views

Why does ImageRecognition recognise some concepts in a list of concepts but not others?

Why can I successfully use an option list of the dog and cat entities with the ImageRecognition function but not use a similar option list for two aircraft entities
Nick's user avatar
  • 413
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: ...
Ted Ersek's user avatar
  • 7,164
0 votes
0 answers
42 views

How to treat small numbers in order to gain efficiency and precision in neural network algorithm?

Unfortunately I won't be able to provide a MWE, as it would be too big and complex, and this question will be based on pure semantics, basically (and I understand if this is impossible to answer in ...
GaloisFan's user avatar
  • 405
3 votes
0 answers
76 views

Performance Problems with Number-Recognizing AI Functions

I created an AI function that recognizes numbers using MNIST. ...
Milk's user avatar
  • 1,768
1 vote
1 answer
213 views

How can I get a mean ROC curve from multiple Classify iterations?

I'm running a classifier on some data using Classify. Because the classifier results depend on the data used for training, I decided to run the classifier in a loop ...
LNah's user avatar
  • 189
6 votes
1 answer
157 views

Graph Convolution Network, molecule activity

I am trying to translate an example code for graph convolution network from Deep Learning for Physical Scientists: Accelerating Research with Machine Learning. Edward O. Pyzer-Knapp et. al. They have ...
bhopshang's user avatar
  • 739
1 vote
0 answers
104 views

Training stuck problem about SVM in Classify

fashion MNIST dataset You can download the FasionMNIST and unzip the data, you'll see that train-images-idx3-ubyte. You may also use official ...
HyperGroups's user avatar
  • 8,649
3 votes
0 answers
184 views

TrainImageContentDetector gives very poor result on GPU compared to CPU

On the doc page of TrainImageContentDetector, there is an example of heart detector training. I tried this example with different TargetDevice and constrained the <...
matheorem's user avatar
  • 17.4k
48 votes
3 answers
3k views

Generalized Backpropagation for Neural Networks (e.g. DeepDream)

Is there currently any way to abuse NetTrain to maximize an arbitrary cost/utility -function in some hidden layer and/or even modify the input to increase neuron ...
Sascha's user avatar
  • 8,529
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 ...
M.R.'s user avatar
  • 31.8k
35 votes
4 answers
1k views

How to make a custom NN layer in Mathematica?

Is there a way to create our own custom layers for Neural Networks in Mathematica ? I suspect it should be possible, any pointers or directions on how to go about it? I am interested in ...
Andy Stow Away's user avatar
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
3 votes
0 answers
184 views

Can Mathematica's Minimize() function be called inside Python code using Python data?

Summary: I would like to use the Wolfram Client Library for Python to invoke Mathematica's Minimize function directly from within Python, passing to it Python data structures. Details: I have a Python ...
Neil Fazel's user avatar
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
22 votes
5 answers
4k views

Recurrent neural network in 11.1 explicit examples?

I heard that RNN was implemented in Mathematica as of 11.1. Trying to search online, I find some general information about neural networks in Mathematica, or a list of related functions. My trouble is ...
Kagaratsch's user avatar
  • 12.1k
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?
user11619's user avatar
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 ...
Charmbracelet's user avatar
4 votes
0 answers
127 views

General hyperparameter searching?

I typically use naive random or grid search to choose them, but I'd like to ask if there are built-in or paclet-based methods that can help perform more principled general hyperparameter searches? For ...
user5601's user avatar
  • 3,820
9 votes
1 answer
3k views

Fashion segmentation with a neural net?

I would like to train a network that can parse clothing: Does anyone know of a fashion segmentation network with or without pre-trained weights available that I can use in Mathematica? Update: I ...
M.R.'s user avatar
  • 31.8k
1 vote
1 answer
233 views

How to predict the future by machine learning past data?

The following is 1,094 days (Length@btcData) of Bitcoin prices. Among them, data for the first 985 days (Length@btctrain) were used for training, and data for the last 109 days (Length@btctest) were ...
Milk's user avatar
  • 1,768
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
14 votes
3 answers
605 views

Importing a grid of numbers from an image (sudoku like)

Can anyone see a way to import a grid of numbers from http://www.mit.edu/~puzzle/2019/puzzle/lantern_festival.html into Mathematica? TextRecognize doesn't seem ...
Yaroslav Bulatov's user avatar
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
3 votes
0 answers
146 views

Implementation of Restricted Boltzmann Machines?

A Restricted Boltzmann Machine is a classical and basic neural net method in Pattern Recognition and Machine Learning. We can easily find implementation in Matlab or Python, but are there any ...
HyperGroups's user avatar
  • 8,649
1 vote
0 answers
43 views

Why Spectral Method and GaussianMixture in FindClusters and ClusteringComponents can't set the number of Clusters?

There is an official example, that we can set clusters number. However, when I set the number to run the example, funny thing happens. The same problem in ...
HyperGroups's user avatar
  • 8,649
20 votes
4 answers
1k views

How to use Mathematica to train a network Using out of core classification?

I see there is doc about how to train a network Using out of core image classification and this question.But the object is only image. I want to use a binary file as data(Sequence to Sequence case),...
partida's user avatar
  • 6,866
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
20 votes
2 answers
1k views

Training Neural Networks on Cloud GPUs (Wolfram Cloud / AWS / Paperspace /etc)

I have spent a lot of time lately training neural networks. However, my poor laptop has only an AMD GPU, so I am stuck training these networks on the CPU. That means I get to train networks over ...
Carl Lange's user avatar
  • 13.2k
3 votes
1 answer
211 views

Reuse same layer of Neural Network

I hope to wrap up ConvolutionLayer in a way so that it takes two inputs, does the same operation on those, and outputs their result respectively. For example, ...
t-smart's user avatar
  • 2,031
5 votes
0 answers
142 views

Derivation from a network

how can I represent the derivative of a network (e.g. NetGraph or NetChain) as a network? I have tried it with FunctionLayer[] and NetPortGradient, but without success. I would be very pleased to ...
haro21's user avatar
  • 91
7 votes
1 answer
127 views

How to calculate a PDF of a neural network output?

I have to find the probability density function of the output of an internal layer in a neural network. I wanted to do it using NetMeasurements adding a layer like <...
user40532's user avatar
  • 215
1 vote
0 answers
33 views

Differentiating matrix function in `Table` from

I am trying to get an analytical expression for derivaives of an algorithm explained here. I usually use automatic diff. a lot, but since this part of function will not change, I thought to implement ...
ipcamit's user avatar
  • 111

1
2
3 4 5
14