Matlab R2016a - MacOsX - Neural tool - Index exceeds matrix dimensions.
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am using Matlab R2016a for MacOsX and I'm having an Index exceeds matrix dimensions.
Can you fix this problem?
Thanks,
>> load house_dataset;
>> whos
Name Size Bytes Class Attributes
houseInputs 13x506 52624 double
houseTargets 1x506 4048 double
>> net=newfit(houseInputs, houseTargets, 20);
Index exceeds matrix dimensions.
Error in initnw>initialize_layer (line 168)
range(inputStart(j):inputStop(j),:) =
temp2((inputStart(j):inputStop(j))-inputStart(j)+1,:);
Error in initnw (line 93)
out1 = initialize_layer(in1,in2);
Error in initlay>initialize_network (line 147)
net = feval(initFcn,net,i);
Error in initlay (line 89)
out1 = initialize_network(in1);
Error in network/init (line 32)
net = feval(initFcn,net);
Error in newff>new_5p1 (line 235)
net = init(net);
Error in newff>create_network (line 129)
net = new_5p1(varargin{:});
Error in newff (line 101)
out1 = create_network(varargin{:});
Error in newfit>create_network (line 98)
net = newff(varargin{:});
Error in newfit (line 79)
out1 = create_network(varargin{:});
>>
8 commentaires
Greg Heath
le 21 Juin 2016
newfit is obsolete. Do you get the same result using
fitnet
or
feedforwardnet?
Réponses (0)
Voir également
Catégories
En savoir plus sur Matrix Indexing dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
