Questions tagged [matlab]

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

MATLAB is a high-level language and interactive programming environment for numerical computation and visualization developed by MathWorks.

MATLAB also provides AI capabilities similar to those of dedicated AI tools like TensorFlow.

19 questions
6
votes
3 answers

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 mapping. The approach that I want to try is to collect…
aa1
  • 163
  • 3
5
votes
2 answers

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?
4
votes
2 answers

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 input 3-dimensional and output 12-dimensional…
2
votes
1 answer

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: % Closed Loop Network % Use this network to do…
2
votes
2 answers

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 network fails in the test set. Are there ways to…
2
votes
0 answers

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) and have created my own Environment. The goal is to…
rakbar
  • 21
  • 2
2
votes
0 answers

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) overlapping with one another. I want to somehow…
Martin
  • 121
  • 1
2
votes
0 answers

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-data), which I want to use to determine if the…
Fossil
  • 21
  • 2
2
votes
1 answer

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, given other 6 features and the two outputs?
1
vote
1 answer

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. I have to segment all parts in the image. Which…
1
vote
1 answer

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

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 on new images of digits that i have on my…
F.Lin
  • 167
  • 2
  • 4
1
vote
1 answer

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 next hour, that is, the 696th hour (which I do not…
0
votes
1 answer

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) fullyConnectedLayer(numResponse) regressionLayer] Is it a…
NM08
  • 9
  • 2
0
votes
1 answer

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 20% LSTMAccuracy = sum(trainPred ==…
0
votes
1 answer

Question regarding matlab computer vision application and color recongnition

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 computer vision application consider to be "user…
chuackt
  • 107
  • 2
1
2