Questions tagged [machine-learning]

Questions about machine learning functionality of Mathematica, for instance involving, but not restricted to, Predict, Classify, FindClusters and the various regression functions.

Filter by
Sorted by
Tagged with
1 vote
0 answers
45 views

How to cluster by having overlaps?

I have a set of points and I can use the built-in command FindCluster[] to perform its clustering into the desired number of clusters as follows: ...
Faz's user avatar
  • 1,817
1 vote
0 answers
84 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, ...
HyperGroups's user avatar
  • 8,557
1 vote
1 answer
49 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. ...
Syed's user avatar
  • 42.1k
0 votes
0 answers
58 views

How to extract images from Information?

class = Classify[ ExampleData[{"MachineLearning", "UCILetter"}, "Data"]] Information@class I have queried the Information function, ...
我心永恒's user avatar
  • 1,402
0 votes
1 answer
45 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 ...
Lewis Ryan MH's user avatar
3 votes
1 answer
123 views

Living or Non-Living?

...
Syed's user avatar
  • 42.1k
0 votes
0 answers
34 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
  • 395
0 votes
0 answers
51 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
0 votes
0 answers
30 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
  • 159
0 votes
0 answers
98 views

Predict with Deep Learning in Mathematica

I have two series of number (Tmax,Tmin) and my target is (ET). I want modeling this and I have one code for this operation but this code is not very acceptable. Can you help me to improve or use an ...
Erfan's user avatar
  • 159
3 votes
1 answer
61 views

NetGraph won't accept EmbeddingLayers of different n

Why doesn't this work: ...
user233932's user avatar
0 votes
0 answers
56 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 ...
Kvothe's user avatar
  • 4,197
5 votes
1 answer
258 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, ...
apg's user avatar
  • 2,027
3 votes
1 answer
106 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 ...
Eisbär's user avatar
  • 1,434
3 votes
0 answers
197 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
5 votes
1 answer
161 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 ...
chausies's user avatar
  • 191
6 votes
2 answers
205 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.: ...
Wolfgang123's user avatar
3 votes
0 answers
77 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
3 votes
1 answer
62 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
3 votes
1 answer
275 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, ...
user13239021's user avatar
1 vote
1 answer
42 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
  • 403
1 vote
1 answer
109 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 ...
bhopshang's user avatar
  • 739
5 votes
0 answers
152 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
2 votes
0 answers
128 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
  • 24.5k
0 votes
0 answers
39 views

Problems loading training Data

I want to load the MINST package for number recognition and I tried this simple code that was supposed to work straightly ...
Dac0's user avatar
  • 243
0 votes
0 answers
72 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
87 views

What is that neural network?

I am teaching my comp to add naturals by creating a neural network: ...
user64494's user avatar
  • 24.5k
1 vote
0 answers
97 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 ...
serlingpa's user avatar
  • 111
3 votes
0 answers
72 views

Performance Problems with Number-Recognizing AI Functions

I created an AI function that recognizes numbers using MNIST. ...
Hoony's user avatar
  • 1,522
3 votes
0 answers
184 views

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

Tested on Mathematica 13.2 ...
HyperGroups's user avatar
  • 8,557
0 votes
0 answers
43 views

Learning extra parameters of RBF Neural Network under the NN framework on high dimension data

It's easy to contruct a basic neural network like MLP and RBF by NetChain MLP, RBF My question is how can I obtain different $\Sigma$ and $\mu$ for each neurons, ...
HyperGroups's user avatar
  • 8,557
1 vote
0 answers
92 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,557
1 vote
1 answer
135 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
1 vote
0 answers
36 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,557
1 vote
0 answers
30 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
0 votes
0 answers
29 views

Error running Classify repeatedly within Manipulate

To create a CDF document, I have to run Classify in Manipulate. However, if the code is executed as follows, Classify continues to run repeatedly. Can it be executed and stopped only once? ...
Hoony's user avatar
  • 1,522
12 votes
4 answers
1k views

Text recognition - extracting table of text from image

I want to extract table from the image bellow as a list of strings. I tried the following but it does not work. ...
azerbajdzan's user avatar
  • 9,933
5 votes
1 answer
183 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
  • 5,737
3 votes
0 answers
159 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
3 votes
0 answers
108 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,557
16 votes
1 answer
481 views

Stable diffusion models in WL?

Are there any diffusion-based (text + image) -> image generation models available in Mathematica, Wolfram Repositories, or from third parties? In particular, I'm ...
M.R.'s user avatar
  • 31.2k
6 votes
1 answer
144 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
4 votes
0 answers
99 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,621
16 votes
0 answers
607 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.2k
5 votes
2 answers
92 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
2 votes
0 answers
56 views

Unable to Replicate an ANN Using the Output from Predict Function

I’m working on constructing an ANN. I first used the Predict function with the method “Neural Network” to determine the structure according to my data. This is the given output of the structure: ...
Nicole Gould's user avatar
2 votes
0 answers
46 views

FeatureExtraction for TimeSeries giving errors

I'm trying to replicate this example using FeatureExtraction for TimeSeries. However, it's giving errors. Here's the code I've run: ...
rodie9k's user avatar
  • 163
10 votes
1 answer
342 views

Labeling images for TrainImageContentDetector

I want to use TrainImageContentDetector on a directory of ~2k unlabeled images. I'm willing to put in the effort to label them, but I was never good at using "...
user5601's user avatar
  • 3,621
9 votes
2 answers
567 views

A strategy to create good initial guess for Lorentzian model fit

I was preparing an answer for a question that got deleted, so I will post this anyhow. Given a set of data with a hump ...
rhermans's user avatar
  • 36.2k
1 vote
0 answers
59 views

How to measure a LearnedDistribution?

I would like to measure the qualities of a LearnedDistribution in general and with regard to test sets. The docs say that it takes an option ValidationSet, but ...
user5601's user avatar
  • 3,621

1
2 3 4 5
14