njali2001 / popsom

Population-based Self-Organizing Maps
GNU General Public License v3.0
20 stars 10 forks source link

Issue with starburst applied to popsom.map #2

Closed ThirstyGeo closed 6 years ago

ThirstyGeo commented 6 years ago

Working through 'Example 1: Animal data', I have the following problem looking at the starburst representation of clusters:

m = som.map(xdim=10,ydim=5)

m.fit(attr,animal)

print(m)

<popsom.map object at 0x000002375BAA42B0>

m.starburst()

ValueError: Input array must be 1 dimensional

ThirstyGeo commented 6 years ago

Upon re-running the example code, it works! Apologies.