All Questions
Tagged with predictor or machine-learning
682 questions
1
vote
1
answer
84
views
Training a neural network on two dataset simultaneously
I have my neural network model and want to train it at the same time on 2 datasets that share the same structure. What I have done so far does not work.
This is my code
...
1
vote
0
answers
29
views
Is this a reasonable way to transform simple MSE loss function to weighted MSE for neural networks?
The idea is tested on a dataset with a clear outlier (see picture below)
...
0
votes
0
answers
32
views
Combination of decoder and encoder for VAE interpolation
To get VAE interpolation I need decoder and encoder to be combined. Can you make a suggestion?
...
0
votes
1
answer
59
views
Scheduled Updating of LossFunction Scaling in NetTrain
I'm looking for a way to externally manipulate (hyper)parameters of a network during NetTrain training, as a function of the training progress. Specifically, I want ...
0
votes
1
answer
57
views
Use of ports on basic machine learning regression
I have this simple code to do a regression on a list of points very close to a parabole. It is purely anecdotal that I happen to know the exact underlying trend, the idea is just to have simple/nice ...
1
vote
0
answers
25
views
How to evaluate text-to-speech models in WL
There are a many solid options for text-to-speech (TTS) now in SpeechSythesize and from API providers in general. How might I use Mathematica to compare the quality ...
0
votes
0
answers
26
views
Neural Network erros in NetEncoders?
I'm making a fairly complex neural network, and I've listed all the ports, the network flow, and the layers well. However, when I tried to run the NetGraph, it gave me the error message
...
0
votes
0
answers
53
views
Using NetMeasurements for basic neural network
I have a neural network that works fine, but I would like to obtain some results on the Validation Set which provides some metrics on the performance of the training. I am obtaining some strange ...
0
votes
1
answer
62
views
Neural network that augments the input with constants
Suppose we have a simple neural network as follows:
...
0
votes
0
answers
97
views
SoftmaxLayer with one-hot vectors
The quantum physics problem I am looking at is a rotated qubit. The setup involves a y-rotated qubit measured in the z-basis (hence spin-up and spin-down). This scenario typically includes modeling ...
0
votes
0
answers
67
views
Using CrossEntropyLoss function for basic neural network
Hi I am interested in understanding how to use the neural network functions in Mathematica. I have just started learning hence this is a basic query. The simple example I am looking at is as follows: ...
1
vote
0
answers
38
views
TensorProduct in a FunctionLayer cannot compile correctly
My network can output an array of 6x512x512 size at the end, now I want to multiply an array of length 3 for each of these 6 channels to get the color of the different channels, I am using the ...
3
votes
0
answers
83
views
How to import huggingface dataset files?
The .hf file from HuggingFace's datasets library is a very popular format: https://github.com/huggingface/datasets. Is there an easy way to import these from either files on disk or their webportal?
0
votes
0
answers
36
views
Modeling with different outputs size
I have lists of input and output. I want to perform the prediction operation but my outputs are different for each input and this causes an error. Can someone help me to write the model in such a way ...
0
votes
1
answer
83
views
Gradient of tensor expressions
I would like to compute gradients of tensor expressions without having to instantiate particular tensors and for arbitrary sizes.
Example 1 :
For example, let's say I want to minimize $C=\sum_j(\sum_i ...
0
votes
0
answers
75
views
Error following upgrade to Mathematica 14.0: Classify: TargetDevice -> GPU requires restart [duplicate]
I recently upgraded Mathematica from 13.3 to 14.0 on my workstation. When I attempted to execute a script that ran without any issues on 13.3, I suddenly get an error associated with the Classify ...
1
vote
1
answer
164
views
How to do BayesianMinimization in 2D?
Studying a new experimental BayesianMinimization command in 14.0 and following an example from the documentation
...
3
votes
1
answer
77
views
StandardizedVector returned by FeatureExtract/FeatureExtraction is not the same as Standardize
The documentation would suggest that the "StandardizedVector" option of FeatureExtract and FeatureExtraction should give the same results as Standardize ("numeric data processed with ...
3
votes
0
answers
136
views
What will be the next backend for machine learning?
Apache MXNet has been the choice of Mathematica Neural Network backend, but it has long since been mostly ignored by the ML community and now is finally in the attic (https://attic.apache.org/projects/...
6
votes
5
answers
1k
views
Decision tree in Mathematica
I have data like these:
...
2
votes
0
answers
54
views
Publishing image classifier as a website or to the cloud
I have made an image classifier by importing images and training my neural network, and I would like to share this classifier with my colleagues that don't have access to Mathematica.
However, if I ...
1
vote
0
answers
96
views
Why does ridiculous error information appear in Classify with Method GradientBoostedTrees?
The data could be classified correctly by method like LogisticRegression, NearestNeigbors.
The dataset is quiet simple, ...
1
vote
1
answer
51
views
FeatureSpacePlot output differs in documentation vs. a notebook
I was exploring this first example of FeatureSpacePlot and it shows some strange behavior. On the left is the documentation window and to the right is the notebook. ...
0
votes
0
answers
68
views
How to extract images from Information?
class = Classify[
ExampleData[{"MachineLearning", "UCILetter"}, "Data"]]
Information@class
I have queried the Information function, ...
0
votes
1
answer
61
views
Creating an If function for the probabilities of the classes of images after using NetTrain
So I have 3 Classes the model can output after veiwing an image, at the moment it has a 70% accuracy, however this is not an issue as the plan is unless it's 85%+ sure on the Probability of the class ...
3
votes
1
answer
161
views
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 ...
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 ...
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?
3
votes
1
answer
89
views
NetGraph won't accept EmbeddingLayers of different n
Why doesn't this work:
...
0
votes
0
answers
65
views
How to use NetChain to obtain a fit that is at least accurate on the training data
How do I use NetChain to obtain a fit that is at least accurate on the training data?
I am trying to get a hopefully predictive fit for some data (see my question ...
5
votes
1
answer
276
views
Using AI to get the geographic locations of a list of banks
I have a list of banks from Bloomberg, and am looking to locate them on the world map,
...
3
votes
1
answer
118
views
Evaluating a questionnaire from image
I want to evaluate a questionnaire made at school. The survey is made on paper and I will scan it. So I have an image with all the questions (44 questions). What I am looking for is which number was ...
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 ...
5
votes
1
answer
198
views
Does Mathematica have a LogSumExp function that's numerically stable?
I searched "Mathematica LogSumExp", and literally nothing is coming up. It's a relatively important function in machine learning and for numerically stable computation. Will I just have to ...
7
votes
3
answers
253
views
How to identify and select the first name from a string containing a first name and a last name?
Is it possible to identify and select the first name in a string that is made up of a first name and a last name, e.g.:
...
3
votes
0
answers
141
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 ...
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 ...
3
votes
1
answer
318
views
Prediction Algorithm [closed]
Trying to identify what algorythm I need to use to predict a battery full time (100%), based on historic data (charge rate is variable).
I suspect it's some form of linear regression of a sort, ...
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
1
vote
1
answer
153
views
Generating molecules using a GAN in Mathematica
I have been unable to find any tutorials or examples of creating molecules using a Generative Adversarial Network (GAN) in the Wolfram language. It appears that the Selfies paclet was created to ...
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
...
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 ...
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 ...
1
vote
0
answers
96
views
What is that neural network?
I am teaching my comp to add naturals by creating a neural network:
...
1
vote
0
answers
147
views
Mathematica, ML and TensorFlow
I am currently studying a specialization on Coursera in Machine Learning and am investigating various tools to help me out with the maths and with visualisations and so on.
Although I have many ...
3
votes
0
answers
76
views
Performance Problems with Number-Recognizing AI Functions
I created an AI function that recognizes numbers using MNIST.
...
3
votes
0
answers
247
views
Why Mathematica's Classify gives 100% accuracy on FashionMNIST dataset
Tested on Mathematica 13.2
...
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 ...
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 ...