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
0answers
14 views

Neural network architecture for DDPG agent in Matlab - standard networks?

I want to dive into Reinforcement Learning and therefore as a little project I am trying to swing up and balance a Furuta pendulum in Simulink. Unfortunately I don´t really know where to start, when ...
1
vote
0answers
60 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. ...
0
votes
0answers
30 views

2 out of 7 Observations Defined in MATLAB DDPG Reinforcement Learning Environment. Are the rest given random values?

After reading up one Deep Deterministic Policy Gradient, I found this example on MATLAB: https://www.mathworks.com/help/reinforcement-learning/ug/train-agent-to-control-flying-robot.html#...
1
vote
0answers
25 views

How can I adapt this script (to test the robustness of a perceptron) to test the robustness of a multi-layer perceptron?

The following script is from Trappenberg's Fundamentals of Computational Neuroscience and is used to test a perceptron's robustness against noise. However, how would one alter it to test the output ...
2
votes
2answers
51 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 ...
0
votes
1answer
69 views

Is my backpropagation code correct? [closed]

I am trying to implement the back-propagation algorithm for the following neural network. ...
2
votes
0answers
71 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) ...
1
vote
0answers
32 views

Is it possible to convert Neural Network code in Python into Matlab code? [closed]

I want to convert the code written in Python into Matlab code. May I know is it possible to do that. Share the available ways or methods to do the conversion. May I know is there any Online ...
1
vote
0answers
55 views

Why would my neural network run faster on my laptop than on my university's supercomputer?

I am trying to get my neural network running on my university's supercomputer in order to decrease its runtime (not for training, for testing - feedforward runs only). However, the Matlab function I ...
4
votes
2answers
136 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 ...
2
votes
0answers
25 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) ...
1
vote
1answer
46 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 ...
1
vote
0answers
17 views

evolutionary programming for economic load dispatch

i am a new beginner to EP algorithm.Could someone help me with a coding for economic load dispatch using EP? Can i have some examples to learn? Tq
1
vote
0answers
17 views

What is interval of the initial weights at Matlab neural network tool?

What is interval of the initial weights at Matlab neural network tool?Yes I know it is randomly but are there limitation?
1
vote
2answers
4k views

How fast is a GPU compared to a CPU for training deep learning models, and which GPU should I buy?

First of all, I don't play games at all, and I am still quite new to deep learning. I was using AlexNet (transfer learning, actually) in MATLAB to classify images in my current laptop (i5-3230, ...
1
vote
0answers
150 views

Difficulties to implement the layer-wise relevance propagation in MATLAB

I'm having serious issues with the implementation of the LRP algorithm for neural networks in MATLAB. The challenge is to implement the equations correctly. I'm trying to implement the deep-Taylor $\...
2
votes
0answers
375 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-...
1
vote
1answer
82 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
0answers
29 views

Evaluating Utility of Incremental RAM

The Nvidia 2080 GPUs command a $500 premium for 3GB of incremental RAM (8GB -> 11GB). What are the relevant questions and thought process to determine the incremental improvement by moving from the ...
1
vote
1answer
107 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. ...
0
votes
1answer
110 views

How image segmentation actually works?

I'm currently working on tumor detection project using dicom images as I'm beginner in it currently having a difficulty in segmenting each part in image and giving each segment a new colour.
7
votes
3answers
265 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 ...
1
vote
1answer
106 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) ...
1
vote
0answers
23 views

Multivariate Wavelet denoising problem

I use Matlab function "wmulden" to obtain a denoised data and I realised that when I add only one data-step to previous data and I recalculate the denoised series all denoised data is changed even if ...
2
votes
0answers
193 views

Extracting specific features using HOG

I am using HOG (Histogram of Oriented Gradients) for car detection from a video. I have used the Matlab function extractHOGFeatures() , it has given me a feature ...
1
vote
0answers
756 views

Forecasting and predict using matlab Artificial Neural Network [closed]

I selected the below data set for forecast and predict using artificial neural network as my final year project. https://archive.ics.uci.edu/ml/datasets/Bank+Marketing. I normalized the data set and ...
2
votes
1answer
341 views

confusion matrix is useful to be applied to the result of fuzzy c means clustering or not

After obtaining the result of algorithm fuzzy c means on the iris flower data set. Results are to be checked for their correctness. So, how to derive it in matlab. I mean code for that. please suggest....
1
vote
1answer
559 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 ...
2
votes
1answer
842 views

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 ...
5
votes
2answers
2k 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?
1
vote
0answers
547 views

Image segmentation using SOM

I tried the below Matlab code to build SOM using selforgmap. ...
6
votes
1answer
807 views

Is a Sobel filter for edge detection a type of Cellular Neural Network?

I have implemented a Sobel filter for edge detection in Matlab without using its toolbox. I am a bit confused: Is a Sobel filter a type of Cellular Neural Network? Both Sobel and Cellular Neural ...