Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8961661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T15:56:43+00:00 2026-06-15T15:56:43+00:00

I am trying to use SOM to learn 80000X10 samples (each sample is a

  • 0

I am trying to use SOM to learn 80000X10 samples (each sample is a vector of size 10). But I can’t even configure 8×8 net with 10000X1 samples. It throws “out of memory” error.

Here is my code (data is 80000X10 matrix):

net=selforgmap([8 8])
net=configure(net,data(1:10000,1))

Matlab help: “Unconfigured networks are automatically configured and initialized the first time train is called.”

Even for 8000X1 dataset, it takes a lot of time. I noticed a huge numWeightElements: 512000 in net variable (8*8*8000=512000). The weights should be 8*8. SOM training algorithm shouldn’t use this much memory. What is wrong?

The output of memory command:

>> memory
Maximum possible array:               3014 MB (3.160e+009 bytes) 
Memory available for all arrays:      3014 MB (3.160e+009 bytes) 
Memory used by MATLAB:                1154 MB (1.210e+009 bytes)
Physical Memory (RAM):                4040 MB (4.236e+009 bytes)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T15:56:44+00:00Added an answer on June 15, 2026 at 3:56 pm

    I think your configuring wrong the input structure. Each input vector must be a column and not a row. Quote from this “Clustering Data – MATLAB & Simulink“

    To define a clustering problem, simply arrange Q input vectors to be
    clustered as columns in an input matrix (see “Data Structures”
    for a detailed description of data formatting for static and time
    series data). For instance, you might want to cluster this set of 10
    two-element vectors:

    inputs = [7 0 6 2 6 5 6 1 0 1; 6 2 5 0 7 5 5 1 2 2]

    As you can see each input vector is a column. You have 10 two element input vectors as a 2×10 array.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

im trying to learn about regex, and how to use it braking up som
I am trying use cursor for pagination. Forwarding pagination work fine, but I can
Trying to use Net::SFTP, version 2.05 (appears to be the latest). But it fails
I am trying use std::copy to copy from two different iterator. But during course
I am trying use Thread but i have some problem (I am beginner at
I'm trying use double type in openCL, but doesn't work anyway, i want use
I'm trying use Google iosched as a reference project to learn the best practices
Im trying use a Java annotation in a Groovy class but have trouble to
Is there som requisite that block Dapper use in a PortableLibraryProject? I'm trying to
I was trying use svn to find a checkin using svn log, but it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.