Bioinformatics ReviewBioinformatics Review
Notification Show More
Font ResizerAa
  •  Home
  • Docking
  • MD Simulation
  • Tools
  • More Topics
    • Softwares
    • Sequence Analysis
    • Algorithms
    • Bioinformatics Programming
    • Bioinformatics Research Updates
    • Drug Discovery
    • Phylogenetics
    • Structural Bioinformatics
    • Editorials
    • Tips & Tricks
    • Bioinformatics News
    • Featured
    • Genomics
    • Bioinformatics Infographics
  • Community
    • BiR-Research Group
    • Community Q&A
    • Ask a question
    • Join Telegram Channel
    • Join Facebook Group
    • Join Reddit Group
    • Subscription Options
    • Become a Patron
    • Write for us
  • About Us
    • About BiR
    • BiR Scope
    • The Team
    • Guidelines for Research Collaboration
    • Feedback
    • Contact Us
    • Recent @ BiR
  • Subscription
  • Account
    • Visit Dashboard
    • Login
Font ResizerAa
Bioinformatics ReviewBioinformatics Review
Search
Have an existing account? Sign In
Follow US
ClusteringMatlabSelf-organizing Maps (SOM)

How to define features/predictors of user dataset for SOM analysis in MATLAB?

Dr. Muniba Faiza
Last updated: July 5, 2022 2:02 am
Dr. Muniba Faiza
Share
2 Min Read
How to define features/predictors of user dataset for SOM analysis in MATLAB?
SHARE

Most of the examples that demonstrate the SOM analysis use the default Iris dataset. It is also mentioned in the SOM example of MATLAB that for the user dataset, the predictors need to be defined [1]. But it is not quite clear how to define the features or predictors of our dataset. In this article, we will learn how to define predictors for user datasets.

In order to define a problem, you specify predictors like this:
predictors = [7 0 6 2 6 5 6 1 0 1; 6 2 5 0 7 5 5 1 2 2]

Here, there are 10 digits or values that represent 10 columns and a row. A semicolon separates the rows.

So, for example, if you have a dataset in the form of an excel sheet where the features are in columns, then you paste the values in a row here and separate them by a semicolon. But remember the number of columns or the values must be the same for each row. For instance, if there are 10 columns in the first row, the following rows must have 10 values.

Let’s take another example if we have a dataset of 3 x 5, then the predictors will look like this:

predictors = [3 0 6 0 1; 5 5 1 2 2; 4 8 3 1 9]

As you see there are 5 values in each row.


References

  1. https://www.mathworks.com/help/deeplearning/gs/cluster-data-with-a-self-organizing-map.html;jsessionid=39d9fcb3a68dfb74bfd325d3df00
TAGGED:ClusteringfeaturesMatlabpredictorssom
Share This Article
Facebook Copy Link Print
ByDr. Muniba Faiza
Follow:
Dr. Muniba is a Bioinformatician based in New Delhi, India. She has completed her PhD in Bioinformatics from South China University of Technology, Guangzhou, China. She has cutting edge knowledge of bioinformatics tools, algorithms, and drug designing. When she is not reading she is found enjoying with the family. Know more about Muniba
Leave a Comment

Leave a Reply Cancel reply

You must be logged in to post a comment.

Starting in Bioinformatics? Do This First!
Starting in Bioinformatics? Do This First!
Tips & Tricks
[Editorial] Is it ethical to change the order of authors’ names in a manuscript?
Editorial Opinion
Installing bbtools on Ubuntu
[Tutorial] Installing BBTools on Ubuntu (Linux).
Sequence Analysis Software Tools
wes_data_analysis Whole Exome Sequencing (WES) Data visualization Toolkit
wes_data_analysis: Whole Exome Sequencing (WES) Data visualization Toolkit
Bioinformatics Programming GitHub Python

You Might Also Like

Video Tutorial: Self-Organizing Maps in MATLAB
MatlabSelf-Organizing MapsVideo Tutorial

Video Tutorial: Self-Organizing Maps in MATLAB

November 23, 2024
SoftwareTools

How to cluster peptide/protein sequences using cd-hit software?

May 20, 2020
How to execute matlab from terminal in Ubuntu (Linux)?
Software

How to execute matlab from terminal in Ubuntu (Linux)?

June 11, 2022
Clustering using MCL
Bioinformatics ProgrammingSoftwareTools

How to perform graph-based clustering of peptide/protein sequences using MCL?

June 22, 2020
Copyright 2024 IQL Technologies
  • Journal
  • Customer Support
  • Contact Us
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Cookie Policy
  • Sitemap
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?

Not a member? Sign Up