Skip to main content

Posts

Showing posts from September, 2016

Training a SOM network using nctool in Matlab

1. Type  " nctool " in the command window of Matlab. Then you will get this window. 2. Then click Next . Then in the Get Data from Workspace section, select your dataset file . I use a csv file here. The format of the dataset file is important to consider here. It should be as follows. I use a dataset whose classes are already known. (Even though here we use an unsupervised learning approach) This is a section of the dataset I have. Just to give you an understanding about the format of the dataset. The dataset has 218 samples with 17 feature elements. In my dataset file, the samples are oriented as Rows. Therefore I also need to select the Rows radio button in the Select Data window in the nctool. It will be different in your case if features are arranged as rows and each column represents a sample as opposed to the above orientation in my data file. 3. Then click on Next and Finish in the smaller windows that appear when you select your dataset. 4. The