Community Profile

photo

Cai Chin


Last seen: 18 days ago
49 total contributions since 2020

Cai Chin's Badges

  • Thankful Level 3
  • First Review

View details...

Contributions in
View by

Question


How do I compare the accuracy of a neural network classifier model to a random classifier?
Hi, I am attempting to show that the binary predictions made by my bidirectional LSTM neural network classifier are statisticall...

1 month ago | 1 answer | 0

1

answer

Question


How do I replace elements in a vector with other vectors?
Hi, I am attempting to replace elements in the vectors seq1, 2 and 3 each with 12 numbers randomly chosen between 1 and 9. I hav...

3 months ago | 1 answer | 0

1

answer

Question


How do I randomise the order of cells in an array?
Hi, I am attempting to randomise the order of elements in cell arrays. One is a numerical cell array comprised of 1x300 doubles ...

3 months ago | 1 answer | 0

1

answer

Question


How do I solve error of 'expected input signal to be finite'?
Hi, I keep getting the error of 'Expected input signal to be finite' when I try and run the following code: XTrain_v = [repma...

3 months ago | 0 answers | 0

0

answers

Question


How do I replace elements of an array with letters?
Hi, I have an array called 'labels_I03' which is filled with zeros, and I am trying to replace the elements of this array with e...

4 months ago | 1 answer | 0

1

answer

Question


How do I find the indices of NaN values in a cell array?
Hi, I have a 3390 x 1 cell array containing 4 x 30 doubles. Some of these doubles contain NaN values which I would like to repla...

4 months ago | 2 answers | 0

2

answers

Question


How do I weight input data when training a neural network?
Hi, I have trained an LSTM neural network to classify ECG signals using data from several patients. I would now like to use this...

4 months ago | 1 answer | 0

1

answer

Question


How do I convert a double into a cell array?
Hi, I am attempting to convert a double called 'instantaneous_frequency_v' into a cell array. 'instantaneous_frequency_v' is cur...

4 months ago | 1 answer | 0

1

answer

Question


I keep getting NaN values when computing the mean and standard deviation of an array
Hi, I am attempting to calculate the mean of all the rows in a cell array called 'XTrain2_all' comprised of 4x30 doubles, howeve...

4 months ago | 1 answer | 0

1

answer

Question


How do I implement feature selection for training a neural network on time-dependent data?
Hi, I am trying to train a LSTM neural network to classify time-dependent 2-dimensional input signals derived from ECG's. I have...

4 months ago | 0 answers | 0

0

answers

Question


How do I replace elements in a vector with other vectors?
Hi, I am currently trying to replace the elements in a vector called 'seq1' with other vectors. seq1 has 12 numbers ranging from...

5 months ago | 2 answers | 0

2

answers

Question


How do I implement feature extraction using time-frequency analysis
Hi, I am trying to train a LSTM neural network to classify time-dependent 2-dimensional input signals derived from ECG's. I have...

5 months ago | 0 answers | 0

0

answers

Question


How do I concatenate 2 cell arrays?
Hi, I am attempting to concatenate 2 cell arrays such that the dimensions of the concatenated cell array are 2215 x 1, with each...

5 months ago | 1 answer | 0

1

answer

Question


How to alter the dimensions of a cell array?
Hi, I am trying to alter the dimensions of my array so it meets the requirements for training of a neural network. At the moment...

5 months ago | 1 answer | 0

1

answer

Question


How to create a categorical variable with a specified number of characters?
Hi, I am trying to create a vector called 'labels' which has 1883 'N's followed by 332 'A's. The code I am currently using just ...

5 months ago | 1 answer | 0

1

answer

Question


How do I add values to an array on a conditional basis?
Hi, I am trying to add values to a pre-allocated array based on whether the row number belongs to a set of values. In this examp...

5 months ago | 1 answer | 0

1

answer

Question


How do I concatenate multiple arrays?
Hi, I am trying to concatenate multiple arrays with different numbers of rows but the same number of columns. I would like to cr...

5 months ago | 1 answer | 0

1

answer

Question


Is there any of training a neural network to recognise abnormal images in a sequence?
Hi, I am using MATLAB R2020a on a MacOS. I am currently analysing ECG signals to identify abnormal cycles in real-time on a cycl...

5 months ago | 0 answers | 0

0

answers

Question


Is there any way to train a neural network to recognise abnormal images?
Hi, I am using MATLAB R2020a on a MacOS. I am analysing ECG signals in real-time on a cycle-by-cycle basis by plotting the co-or...

5 months ago | 1 answer | 0

1

answer

Question


How do I train a deep learning algorithm to find the template for an image and then compare other images to this template?
Hi, I am using MATLAB R2020a on a MacOS. I am currently trying to detect abnormal phase-space trajectories in the 2D space on a ...

5 months ago | 1 answer | 0

1

answer

Question


Is there any way of using machine learning for successive image comparison to a template?
Hi, I am using MATLAB R2020a on a MacOS. I am currently trying to detect abnormal phase-space trajectories in the 2D space on a ...

5 months ago | 2 answers | 0

2

answers

Question


How do I translate a 2D shape to its centroid?
Hi, I am using MATLAB R2020a on a MacOS. I am attempting to translate the blue shape shown here about its centroid onto the oran...

5 months ago | 1 answer | 0

1

answer

Question


How do I interpolate values within a while loop?
Hi, I am using MATLAB R2020a on a MacOS. I am trying to remove outliers in real-time from a vector called 'cycle_periods' in a w...

5 months ago | 1 answer | 0

1

answer

Question


How do I make an if statement based on whether an index is part of a vector of numbers?
Hi, I am using MATLAB R2020a on a MacOS. I am trying to write an 'if' statement such that a command is executed if the index of ...

6 months ago | 1 answer | 0

1

answer

Question


How do I linearly interpolate past missing values using future values in a while loop?
I am using MATLAB R2020a on a MacOS. I am trying to remove outlier values in a while loop. This involves calculating an exponen...

6 months ago | 0 answers | 0

0

answers

Question


How do I extrapolate values in a while loop?
Hi, I am using MATLAB R2020a on a MacOS. I am trying to remove outlier values in a while loop. This involves calculating an expo...

6 months ago | 0 answers | 0

0

answers

Question


How do I produce graphs from 'for' loop?
Hi, I am using MATLAB R2020a on a MacOS. I have specified the production of a graph within a 'for' loop but when I run the code,...

6 months ago | 1 answer | 0

1

answer

Question


Why is my code running so slowly in the while loop?
Hi, I am using MATLAB R2020a on a MacOS. I am currently trying to calculate the exponentially weighted moving mean by applying a...

6 months ago | 1 answer | 0

1

answer

Question


How do I resample to have a uniform number of samples for each cycle of my signal?
I am using MATLAB R2020a on a MacOS. I have an ECG signal with a sampling frequency of 1kHz. From cycle to cycle, there are a di...

6 months ago | 1 answer | 0

1

answer

Question


How to replace past vector values using future values in a while loop?
Hi, I am using MATLAB R2020a. I am trying to identify outliers from a vector in real-time based on certain conditions and then r...

6 months ago | 0 answers | 0

0

answers

Load more