Questions tagged [matlab]

For questions related to the use of the MATLAB language or framework for AI work or study.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

Approach to using reinforcement learning on a MATLAB/Simulink model using PyTorch?

I have a MATLAB/Simulink model that I want to use reinforcement learning (specifically something like DQN) in PyTorch (or some other framework) to optimize one aspect of it. I am aware that there is ...
  • 1
0 votes
0 answers
18 views

Difference between training algorithms

I'm using GPS Data for my Total electron Content (TEC) Prediction, for which I'm using Non-linear Autoregressive with External (Exogenous) Input (NARX) Model. My question is what's the difference ...
0 votes
1 answer
30 views

What is the training accuracy of this model?

I’m trying to classifiy ECG signals using LSTM and MATLAB, the above plot shows that the training accuracy of the system is 100% but when I apply this code to calculate and get the accuracy I get only ...
0 votes
1 answer
23 views

Question regarding matlab computer vision application and color recongnition [closed]

I am thinking of choosing a computer vision project for my school project(detect crack on surface) and the duration I have is roughly 4 months. With no prior knowledge in neural network, is matlab ...
  • 107
0 votes
0 answers
93 views

Change fully connected layer for YOLO v4 network , analogous to GoogLeNet (matlab)

I have a challenging task here. I would like to train a YOLOv4 - network, but with the following adjustment: In my previous implementation of CNNs, a pre-trained network was loaded, and the last layer ...
  • 131
2 votes
1 answer
128 views

Closed networks vs Networks with a removed delay to predict new data

I've come across two types of neural networks to predict, both from Matlab, the closed structure and the net that removes one delay to find new data. From Matlab's app generated scripts we see: % ...
0 votes
1 answer
80 views

On what basis is MATLAB "inflexible" to perform ML/AI research on it?

During a course review, I have provided my opinion on the course overall. I stated that MATLAB is also a great environment to program and do research for ML/AI, but my professor seemed to have taken ...
  • 103
-1 votes
2 answers
130 views

Semantic segmentation CNN outputs all zeroes

I'm using MATLAB 2019, Linux, and UNet (a CNN specifically designed for semantic segmentation). I'm training the network to classify all pixels in an image as either cell or background to get ...
0 votes
0 answers
131 views

Is there a way to reduce the RMSE error when training a neural network to recognise MNIST digits using ANFIS?

I wanted to build a digit recognition neural network using MATLAB ANFIS kit. I started by using the MNIST database and I figured out it's almost impossible to classify 784 dimension data using ANFIS. ...
2 votes
2 answers
76 views

How can I train a neural network if I don't have enough data?

I have created a neural network that is able to recognize images with the numbers 1-5. The issue is that I have a database of 16x5 images which ,unfortunately, is not proving enough as the neural ...
2 votes
0 answers
186 views

Policy Gradient Reward Oscillation in MATLAB

I'm trying to train a Policy Gradient Agent with Baseline for my RL research. I'm using the in-built RL toolbox from MATLAB (https://www.mathworks.com/help/reinforcement-learning/ug/pg-agents.html) ...
  • 21
4 votes
2 answers
306 views

Is it possible to train a neural network with 3 inputs and 12 outputs?

The selection of experimental data includes a set of vectors of different dimensions. The input is a 3-dimensional vector, and the output is a 12-dimensional vector. The sample size is 120 pairs of ...
  • 227
2 votes
0 answers
58 views

How can I recognise possibly overlapping line segments in 2D?

I am given a 2-dimensional picture (black & white, white background) and it is assumed that there are some 'sticks' (basically 'thick lines' with different widths and lengths) that are (mostly) ...
  • 121
1 vote
1 answer
54 views

How can I test my trained network on the next unavailable hour?

I have data of 695 hours. I use the first 694 hours to train the network and I use 695th hour to validate it. Now my goal is to predict the next hour. How I can use my trained network to predict the ...
  • 63
2 votes
0 answers
632 views

Deep Learning for radio signal classification with DeepSig dataset

I want to see if I can make my Software Defined Radio, SDR, to classify unknown radio signals with the help of an artificial neural network. That is, my SDR outputs a sequence of complex numbers (IQ-...
  • 21
2 votes
1 answer
99 views

Is it possible to use a trained neural network to predict a feature, given other features and output?

I have a neural network that is already trained to predict two continuous outputs from a set of 7 continuous features. Is there any way to apply the network to predict one of the input features, ...
1 vote
1 answer
141 views

How do I segment each part of a DICOM image?

As I'm beginner in image processing, I am having difficulty in segmenting all the parts in DICOM image. Currently, I'm applying watershed algorithm, but it segments only that part that has tumour. ...
6 votes
3 answers
514 views

How to use computer vision to find corners of a soccer field based on location coordinates?

I want to use computer vision to allow my robot to detect the corners of a soccer field based on its current position. Matlab has a detectHarrisFeatures feature, but I believe it is only for 2D ...
  • 163
0 votes
1 answer
113 views

Is it a valid Deep Neural Network?

For a regression task, I have sequences of training data and if I define the layers of deep neural network to be: Layers=[ sequenceInputLayer(featuredimension) reluLayer dropoutLayer(0.05) ...
  • 9
-1 votes
1 answer
594 views

Reinforcement learning for robotic motion planning - Problem statement ideas

I am a first-semester grad student in Robotics and have taken a course on machine learning for robotics. I am completely new to machine learning. I am to select and execute a problem statement on my ...
1 vote
1 answer
923 views

How can I use a trained CNN to predict a new image label? [closed]

I was applying this CNN fine-tuning example from Matlab. The example shows how to fine-tune a pre-trained CNN on letters to classify images of digits. Now I would like to use this new fine-tuned CNN ...
  • 167
5 votes
2 answers
4k views

Is it possible to classify data using a genetic algorithm?

Is it possible to classify data using a genetic algorithm? For example, would it be possible to sort this database? Any example in Matlab?