photo

Ahmed


Con actividad desde 2013

Followers: 0   Following: 0

Mensaje

Estadística

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

Ver insignias

Feeds

Ver por

Pregunta


Starting and executing code in parallel is slower than expected
I installed MATLAB 2016a on three systems with different hard- and software and would like to use the Parallel Computing Toolbox...

casi 7 años hace | 0 respuestas | 1

0

respuestas

Respondida
How to find locations of multiple values within a matrix.
The function _ismember_ is what you are looking for. x=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; y...

más de 8 años hace | 6

| aceptada

Respondida
Stopping the neural network by tr.gradient
Maybe you are looking for the property “trainParam.min_grad”. net = fitnet(10); net.trainParam.min_grad % default 1e-7 n...

más de 9 años hace | 2

| aceptada

Respondida
how to compare the class of input and output,and display the misclassification,how much percentage it is classified properly
To just get the accuracy it is only required to count the number of matches and divide by the total number of observations: ...

casi 10 años hace | 0

Respondida
Simple question regarding plot
Given_data = rand(10,1); Obtained_data = rand(10,1); plot(zeros(size(Given_data)),Given_data,'r+'); hold on xlabel...

casi 10 años hace | 0

| aceptada

Respondida
how compute color std fast
The std function can operate on any dimension. For details see the help of 'std'. newimg = std(imd,0,3); It might be fas...

casi 10 años hace | 1

Respondida
How to train a Neural Network with an input data set that comprises of numeric values as well as nominal variables (such as the base fluid used which could be either 'Water', 'Oil' or 'Slickwater')?
Try to code your nominal variables as dummy binary variables, then input that into your neural network. nomvar = nominal(ra...

más de 10 años hace | 0

Respondida
how get k space data from MRI dicom images
Note, that I am by no means an expert and that this question is not even related to Matlab. However, here is my opinion: Answ...

casi 11 años hace | 0

Respondida
HOW TO PERFORM THIS EQUATION IN MATLAB?u=∑_(i=1)^t▒(i*p_i/w)
Here is a minimal example with random data. The last line is the actual answer to your question. t = 100; p = rand(1,t);...

casi 11 años hace | 0

| aceptada

Respondida
How should I make A and b matrix in fmincon function?
fmincon is for minimization of a function under linear constraints A*X<=b. As you gave no information about your constraints, no...

casi 11 años hace | 0

| aceptada

Respondida
Column-wise dot-products of two gpuArrays
A possible solution (I hope it will be helpful to someone): C = sum(gpuArray(A).*gpuArray(B));

casi 11 años hace | 0

| aceptada

Pregunta


Column-wise dot-products of two gpuArrays
Is there a good way to compute column-wise dot-products of two matrices of same size when stored on the GPU? Specifically, say A...

casi 11 años hace | 1 respuesta | 0

1

respuesta

Respondida
How to declare kfun function in svmtrain
data = randn(100,10); groups = rand(100,1)>0.5; g = 1; r = 1; svmstruct = svmtrain(data, groups, ... 'Kernel_...

alrededor de 11 años hace | 0

Respondida
Error:Undefined function or method 'gpuArray' for input arguments of type 'uint8'
gpuArray is a function of the 'Parallel Computing Toolbox'. Without this toolbox, the function can not be called. The command 'v...

alrededor de 11 años hace | 0

Respondida
Script to run a Matlab Script on the event of crash
The "try .. catch .. end" construct might be what you are looking for. In case an error occurs between try and catch, then the c...

alrededor de 11 años hace | 0

Respondida
How do I average rows which contain the same first to elements?
This solution is not very elegant, but should work. There is room for improvement, though. uA = unique(A(:,1:2),'rows'); ...

alrededor de 11 años hace | 1

| aceptada

Respondida
How can I shift the time series in y axis?
Shift in y-direction just by adding 1,2,...,nFloors to each data line. N = 100; nFloors = 5; x = 1:N; y = bsxfun(@...

alrededor de 11 años hace | 0

| aceptada

Respondida
help in Neural Network classifier
see help patternnet or doc patternnet for an example with four features and three classes.

alrededor de 11 años hace | 0

| aceptada

Respondida
How to customize SVM kernel parameters in Matlab
Documentation given by help svmtrain should give you all information you need. What is the meaning of your variable _r_...

alrededor de 11 años hace | 0

Respondida
Why fopen does not accept the path when it is assigned to a variable.
omit the the '' to get the content of the variable filename. fid=fopen(filename,'w')

alrededor de 11 años hace | 0

| aceptada

Pregunta


Hidden Layer Activations in NN Toolbox
I'm looking for a non-manual way to compute the layer activations of an arbitrary neural network created with the Neural Network...

alrededor de 11 años hace | 1 respuesta | 0

1

respuesta

Respondida
How to get Gradient from Network Created by Neural Network Toolbox?
Actully, the function 'staticderivative' can do this for a static network. In general, however, it is likely that defaultderiv i...

alrededor de 11 años hace | 0

| aceptada

Respondida
I want to initialize a very large character array with the same character string
Have you tried 'repmat'? N = 100000; A = repmat('String',N,1); If you must use a for-loop, you should pre-allocate th...

alrededor de 11 años hace | 1

Respondida
change patternnet transfer function
try following to change the transfer function in the first hidden layer: net.layers{1}.transferFcn = 'tansig';

alrededor de 11 años hace | 1

Pregunta


How to get Gradient from Network Created by Neural Network Toolbox?
How can the gradient of the performance function with respect to the weights and biases of a neural network created by the Neura...

alrededor de 11 años hace | 2 respuestas | 0

2

respuestas