photo

MA


Last seen: mer än 2 år ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 3
  • First Answer

View badges

Feeds

View by

Question


How to tell two categorical arrays with different categories names are the same
Assume I have two categorical arrays as for example the following: X=[1,1,2,3]; y=[3,3,1,2]; The two arrays have different cl...

mer än 2 år ago | 1 answer | 0

1

answer

Answered
dlgradient: covariance matrix derivative.
I actually solve it. For anyone looking for the same problem: function [y,dx]=cov_der(x) %simple example %x=dlarray(and(3,3)...

nästan 3 år ago | 0

| accepted

Question


dlgradient: covariance matrix derivative.
Assuming I have a matrix x of size (mxn), the covariance matrix is of the size nxn. I want to find the gradient of the covarianc...

nästan 3 år ago | 2 answers | 0

2

answers

Answered
error message: 'dlgradient' inputs must be traced dlarray objects or cell arrays, structures or tables containing traced dlarray objects. To enable tracing, use 'dlfeval'.
It seems I solve it. The parameters needs to be dlarry as well as follows: parameters.batchnorm1.Offset = initializeZeros([5 1...

nästan 3 år ago | 0

| accepted

Question


error message: 'dlgradient' inputs must be traced dlarray objects or cell arrays, structures or tables containing traced dlarray objects. To enable tracing, use 'dlfeval'.
I want a small network that contains only a batch normalization layer followed by fully-connected layer, softmax and finally cro...

nästan 3 år ago | 1 answer | 0

1

answer

Question


convolution of multiple images with multiple filters
Let's assume I have a set of images in one variable X, where the size of this variable is 4D [width, height, channels, number of...

ungefär 3 år ago | 1 answer | 0

1

answer

Question


a simple vector to a matrix
Hello everyone, I am trying to write a code that convert a vector like the following for example: X=[1 2 3]; to a matrix l...

ungefär 3 år ago | 2 answers | 0

2

answers

Question


Multiplication of very large matrix
Hello everyone, Could anyone help me in re-writing the following equation to make the processing faster. N here is the number ...

nästan 4 år ago | 1 answer | 0

1

answer

Question


generalized eignvalues/eignvectors
I want to solve the following generalized eignvalues/eignvector problem: A*w=D*B*w Where A is my first square matrix and B my...

ungefär 4 år ago | 1 answer | 0

1

answer

Question


accuracy of two methods to solve eignvalues/eignvector problem
I am trying to solve an eignvalue/eignvector problem related to the multi-class LDA. The equation is inv(Sw)*Sb. I have two solu...

mer än 4 år ago | 1 answer | 0

1

answer

Question


combine each 8 matrices in a cell array
I have a cell array that contain matrices of the same dimentions. I want an effictive way to combine each 8 matrices together in...

mer än 4 år ago | 1 answer | 0

1

answer

Answered
sample from data according to a class with no replacement
I just solve it. So, for anyone who is looking for an answer, it is the following: new_sample= datasample(X(T==L,:),K,'replace...

ungefär 5 år ago | 0

| accepted

Question


sample from data according to a class with no replacement
Lets say that I have a matrix n*m where n represented the instances while m representing the attributes. I have another column v...

ungefär 5 år ago | 1 answer | 0

1

answer

Answered
Create variable from an excel entry
% you may need something like the following Plot.Shift=xlsread('filename.xlsx',1,'B1'); %file name, row number, column numb...

ungefär 5 år ago | 0

Answered
find all elements (cells) of a single element (cell) in cell array
I found the answer if anyone is looking for something similar for i=2:size(c,1) if (isequal(c{1,1},cell2mat(c(i,:)))) index=...

mer än 5 år ago | 0

| accepted

Question


find all elements (cells) of a single element (cell) in cell array
I have the following cell array (c) which is 3*2. Now I want to find all elements of lets say c{1,1} which is [3,2]. The answer ...

mer än 5 år ago | 2 answers | 0

2

answers

Question


avoid for loop in a specific code
Could anyone help me if there is any way to avoid for loop in the following code: Both Target and predicted_target are vectors w...

mer än 5 år ago | 1 answer | 0

1

answer