photo

Ahmed


Aktiv seit 2013

Followers: 0   Following: 0

Nachricht

Statistik

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

etwa 7 Jahre vor | 0 Antworten | 1

0

Antworten

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

fast 9 Jahre vor | 6

| akzeptiert

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

mehr als 9 Jahre vor | 2

| akzeptiert

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

etwa 10 Jahre vor | 0

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

etwa 10 Jahre vor | 0

| akzeptiert

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

etwa 10 Jahre vor | 1

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

fast 11 Jahre vor | 0

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 0

| akzeptiert

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

etwa 11 Jahre vor | 0

| akzeptiert

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

etwa 11 Jahre vor | 0

| akzeptiert

Frage


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

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 1

| akzeptiert

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

| akzeptiert

Frage


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

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 1

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

mehr als 11 Jahre vor | 1

Frage


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

mehr als 11 Jahre vor | 2 Antworten | 0

2

Antworten