フィルターのクリア

Neural network and get data from workspace

1 回表示 (過去 30 日間)
Michel Rathé
Michel Rathé 2017 年 4 月 15 日
コメント済み: Michel Rathé 2017 年 4 月 21 日
Hi, From the neural net pattern recognition toolbox, at the Select data window, in the get data from workspace I can not choose the input (stays at "none") EVEN though I have tables in my workspace. There seems to have nothing to choose from. From documentation it seems a relative simple and streamline process. I have 2 tables with numeric and categorical data: The first for X data and the other the Y. Any clues. Thanks.

採用された回答

Shashank
Shashank 2017 年 4 月 21 日
Hi Michel,
I assume you are using Neural Network Pattern Recognition Tool and you want to import some training data. You cannot import data from tables directly.
However if you have to train your network on two features, you can create a matrix for the same.
For example,
a=1:10; % 1st feature vector
b=3:13; % 2nd feature vector
c=[a;b];
d=[0 1 1 0 1 1 0 0 1 0]; % target vector
Now you can import variable 'c' in the workspace as Inputs and 'd' as targets in the GUI.
Also note that you select samples are 'Matrix Columns'.
  1 件のコメント
Michel Rathé
Michel Rathé 2017 年 4 月 21 日
Line b=3:13; % 2nd feature vector should read as b=3:12; % 2nd feature for vectors to have same sizes.Thanks.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by