Respondida
Keras 2.3.1 models
As per my knowledge the "Deep Learning Toolbox Importer for Keras Models support package" installed from Add-On Explorer support...

más de 5 años hace | 0

Respondida
Creating a Datastore from either two Datastores, or a number of files populated in different folders.
As per my understanding I'm listing the two ways of comibing the datastores dsL & dsR: %First one imdsCombined = combine(imdsd...

más de 5 años hace | 1

| aceptada

Respondida
What activation function does fullyConnectedLayer uses?
As mentioned by @Mohammad Sami, In order for an activation function after fullyConnectedLayer, you have to include an activation...

más de 5 años hace | 0

Respondida
Make axis line invisible but not tick labels
As per my knowledge w.r.t current documentation, I think there is no way to make borders dissapear along all the sides with tick...

más de 5 años hace | 1

Respondida
save a fprintf as text data
You can refer to fprintf documentation, it's Examples & fileID = fopen(filename,permission) fileID = fopen('textFile.txt','w');...

más de 5 años hace | 0

Respondida
Why test, train and validation performance are so different from global performance in my neural network?
As per my knowledge, the way you are calculating the trainPerformance, valPerformance & testPerformance may not be correct. Inst...

más de 5 años hace | 0

| aceptada

Respondida
How to "prune" a one hidden layer NN such that the off diagonal elements of the weights, that is, "net.IW{1}" and "net.LW{2}", are zeros?
As per my knowledge w.r.t shallow nerual networks you cannot freeze non-diagonal weights & make the diagonal wieghts only to upd...

más de 5 años hace | 1

Respondida
Data augmentation in CNN
The following are few suggestions: Make sure that all the classes have equal number of observations. Check how trainNetwork us...

más de 5 años hace | 0

| aceptada

Respondida
How to compute lognormal distribution
You can try something like below: format long g folder = 'BCC_CSM.xlsx'; file = xlsread(folder); dt = datetime([file(:,1:3...

más de 5 años hace | 0

| aceptada

Respondida
Labeling a stacked bar
The following example might help you: x = [1 2 3]; vals = [2 3 6; 11 23 26]; b = bar(x,vals); xtips1 = b(1).XEndPoints; y...

más de 5 años hace | 0

| aceptada

Respondida
How do I create 2 x-axis labels?
The following code might help you: % yAxis label 1 t = text(-20,60,'Cancer','HorizontalAlignment','center','FontWeight','bold'...

más de 5 años hace | 0

Respondida
Add annotation to a parent figure middle left
The following code might help you: close all figure1 = figure('PaperSize',[8 8]); N = 5; for i=1:N f = subplot(N,1,i); ...

más de 5 años hace | 0

| aceptada

Respondida
how to update certain library block
The SPICE you mentioned are under the Additional Components. In the release notes under the R2019a->Simscape Electrical->Library...

más de 5 años hace | 0

Respondida
Index in position 1 is invalid. Array indices must be positive integers or logical values.
for e=1:798 if (f2(b,1) > 0 && f2(b+1,1) < 0)||(f2(b,1) < 0 && f2(b+1,1) > 0) s = s + 1; else...

más de 5 años hace | 0

Respondida
Plot/Animating multiple lines on matlab at the same time?
From the above code I see that plot ([A1(1) P1(1)],[A1(2) P1(2)]) is called only when x1 reaches it's final iteration value. So ...

más de 5 años hace | 0

Respondida
How to graph plots with different value variables?
Refer to the documentation of hold and use it as follows: for i=1:8 % % Your code goes here % plot(FX,K1(i)) ...

más de 5 años hace | 0

Respondida
student 버전 여러대 컴퓨터에서 사용
Refer to the following MATLAB Student and MATLAB and Simulink Student Suite & How do I transfer a Student or Home license to a n...

más de 5 años hace | 0

Respondida
modify the matrix, rearrangement of elements
The following code might help you: sz = size(a); rowMat = zeros(1,prod(sz)); ind = 1; for i = 1:sz(1) j = 1; ii = ...

más de 5 años hace | 0

| aceptada

Respondida
Adding different colorbars to each row of subplots? Removing subplot axes? Decrease subplot spacing?
The following code might help you w.r.t the points 1. COLORBAR(Changing the Position (position: [left bottom width height]) prop...

más de 5 años hace | 0

| aceptada

Respondida
Neural Network for binary classification
You can refer to the Deep Learning Toolbox — Examples, List of Deep Learning Layers, Create Simple Image Classification Network ...

más de 5 años hace | 0

| aceptada

Respondida
Is it possible to have a structure as an input and use its fields as constants in Simulink?
You can refer to Simulink.Bus.createObject & How to convert a struct into a bus. And the following code might help you: par.am...

más de 5 años hace | 0

| aceptada

Respondida
filling an empty matrix using a for loop
You can define U_det_r as a cell array or normal array and store the values corresponding to each iteration as follows: U_det_...

más de 5 años hace | 0

| aceptada

Respondida
Z order (Morton Curve) for matrix .and Hausdorff distance.
From the above information the function mapping calls itself recursively. So if you simply renamed the function mapping to Zord...

más de 5 años hace | 0

Respondida
LSTM input size mismatch
With the following code I was able to construct layerGraph with no errors. Make sure you define the lstmLayer with right input a...

más de 5 años hace | 0

Respondida
How to open multiple images sequentially for text extraction and save it in a file
I think the read(ds) reads the files in the datastore in the order ds.Files{1}, ds.Files{2}, ds.Files{3}...........so on. Once ...

casi 6 años hace | 0

| aceptada

Respondida
What are the dimensions mentioned in fully connected layer stands for (D, N and S) ?
N stands for number of observations (or sequences). For more information you can refer to: sequences Input Argument of the fu...

casi 6 años hace | 0

| aceptada

Respondida
increase number of hidden layers
You can refer to List of Deep Learning Layers and add layers like convolution2dLayer, fullyConnectedLayer to your above layer ar...

casi 6 años hace | 2

Respondida
Is it possible to run a NARX neural network with less than 10 timesteps?
If you are creating nerual network from nnstart then you would require atleast 10 timesteps. Alternatively if you can follow th...

casi 6 años hace | 0

| aceptada

Respondida
Self Organizing Map (SOM) plot interval saving process
From the documentation of selforgmap, Neural Network Object Properties & Neural Network Subobject Properties I cannot find any i...

casi 6 años hace | 0

Respondida
How can I train multi-input deep network without DataStore
To define and train a deep learning network with multiple inputs, specify the network architecture using a layerGraph object and...

casi 6 años hace | 5

| aceptada

Cargar más