Undefined function 'initializeParameters' for input arguments of type 'double'. This is what i get when i run. Please help
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Rono Noah
el 17 de Mzo. de 2019
Respondida: Walter Roberson
el 17 de Mzo. de 2019
inputSize = 36;
numClasses = 10;
hiddenSizeL1 = 30; % Fist Hidden Layer Size
hiddenSizeL2 = 30; % Second Hidden Layer Size
sparsityParam = 0.1; %Avarage activation of the hidden units
lambda = 3e-3; % weight decay parameter for Regularization
beta = 3; % weight of sparsity penalty term
% Load the vibration data file.
load('fea1.mat')
trainData =fea1';
trainLabels = [ones(25,1)];
% trainLabels(trainLabels == 0) = 10; % Remap 0 to 10 since our labels need to start from 1
% Training the First Sparse Autoencoder
% Randomly initialize the parameters
sae1Theta = initializeParameters(hiddenSizeL1, inputSize);
0 comentarios
Respuesta aceptada
Walter Roberson
el 17 de Mzo. de 2019
You need to install that. If you are using a relatively recent MATLAB you can use Add-On Explorer to install it.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!