Community Profile

photo

MA


Last seen: fast 2 Jahre vor Aktiv seit 2019

Followers: 0   Following: 0

Statistiken

  • Thankful Level 3
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
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)...

mehr als 2 Jahre vor | 0

| akzeptiert

Frage


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...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
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...

mehr als 2 Jahre vor | 0

| akzeptiert

Frage


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...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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 ...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
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...

mehr als 4 Jahre vor | 0

| akzeptiert

Frage


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...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
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...

mehr als 4 Jahre vor | 0

Beantwortet
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=...

mehr als 4 Jahre vor | 0

| akzeptiert

Frage


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 ...

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort