Matlab Problem : Why after run the program, workspace or import data is disappeared ?
Afficher commentaires plus anciens
Hello everyone , thanks a lot for any help to fix this problem.
i have one problom in my program , Why after run the program, workspace or import data is disappeared ? - what is the problem ?
this is my dataset file : https://s19.picofile.com/d/8435105100/41733346-5bc8-41e5-8982-4ceac2b44d05/letter_recognition.data
and this is my code :
clc;
close all;
clear;
workspace;
cvp=cvpartition(size(letterrecognition,1),'HoldOut',0.25);
alphatrain = letterrecognition(cvp.training,:);
alphatest = letterrecognition(cvp.test,:);
Input_Train = alphatrain(:,2:end);
Target_Train = alphatrain(:,1);
Input_Test = alphatest(:,2:end);
Output_Test = alphatest(:,1);
Input_Train = Input_Train';
Target_Train = Target_Train';
Input_Test = Input_Test';
net = feedforwardnet(15);
net = train(net,Input_Train,Target_Train);
y = net(Input_Test);
M_Target_Test = y';
2 commentaires
Jan
le 30 Mai 2021
What does when disappear? Maybe you mean the effect of the clear command?
arash Moha
le 30 Mai 2021
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!