Divide the data in to target and input
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Claire R
am 28 Dez. 2020
Beantwortet: PUTERI NUR SYAHIRAH BINTI MOHAMED MUSTAFA
am 31 Dez. 2020
hi,
new to matlab,
i am creating a simple neural network for a porject, we have to use a dataset from the machine learning repository, the one i am using is the breast cancer wisconsin data set (699x11 double) , how can i divide it into input and target data for my project in matlab? just separate the result colomun into a differnt file?
thank you
0 Kommentare
Antworten (1)
PUTERI NUR SYAHIRAH BINTI MOHAMED MUSTAFA
am 31 Dez. 2020
dear claire,
you can divide your data into test and train using excel, and to import the data you need to specify the row and column for each of the data.
other option is you can use the workspace, right click and choose new. Then rename into traininput, testinput, traintarget.
From training data: copy your input data listed in your (eg:excel) then paste into trainiinput, then copy the output paste into traintarget.
From testing data : only copy the input and paste into testinput.
once you obtain the testoutput result, you can compare it with the actual ouput.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Sequence and Numeric Feature Data Workflows finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!