photo

MA


Last seen: 2 years 前 自 2019 起处于活动状态

Followers: 0   Following: 0

统计学

  • Thankful Level 3
  • First Answer

查看徽章

Feeds

排序方式:

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

已回答
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)...

3 years 前 | 0

| 已接受

提问


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

3 years 前 | 2 个回答 | 0

2

个回答

已回答
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...

3 years 前 | 0

| 已接受

提问


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

3 years 前 | 1 个回答 | 0

1

个回答

提问


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

3 years 前 | 1 个回答 | 0

1

个回答

提问


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

3 years 前 | 2 个回答 | 0

2

个回答

提问


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

4 years 前 | 1 个回答 | 0

1

个回答

提问


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

4 years 前 | 1 个回答 | 0

1

个回答

提问


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

4 years 前 | 1 个回答 | 0

1

个回答

提问


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

4 years 前 | 1 个回答 | 0

1

个回答

已回答
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...

5 years 前 | 0

| 已接受

提问


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

5 years 前 | 1 个回答 | 0

1

个回答

已回答
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...

5 years 前 | 0

已回答
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=...

5 years 前 | 0

| 已接受

提问


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

5 years 前 | 2 个回答 | 0

2

个回答

提问


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

5 years 前 | 1 个回答 | 0

1

个回答