GithubHelp home page GithubHelp logo

Comments (4)

fcomitani avatar fcomitani commented on May 15, 2024 2

Hi @acnash , that's puzzling.

Again my apologies for this, I'll work on it, but in the meantime it seems the master version of the docs is online, even if the formatting is messed up at the moment.

Regarding what you are planning to do, yes, that can easily be done with
net.project(vectors)

This function will project an input set of vectors (vectors an np.array) onto a trained map (net here is the name of your map object), and output the position of their best matching units. You can then use those positions for a clustering analysis.

For completeness, the library has a number of (basic) clustering tools already implemented, which can be run directly on the data to project with net.cluster(vectors, type=โ€™qthreshโ€™).
The type flag requires a string to be selected among quality threshold 'qthresh', density peak 'dpeak' and 'MeanShift', 'DBSCAN', 'KMeans' from scikit-learn.

from simpsom.

fcomitani avatar fcomitani commented on May 15, 2024

Hello @acnash,

my apologies for the lack of documentation.

raw_data is a placeholder, you are correct, the input should be a numpy array (samples as rows, features as columns), I've updated the readme to clarify that.

There was supposed to be an online API, but it seems readthedocs was not displaying it correctly (while still marking the build as passed). It should be fixed now, please find it at the following link.

The API and docs are still a bit lacking, I hope to find the time to tidy them up soon. In the meantime please let me know if anything else is unclear.

from simpsom.

acnash avatar acnash commented on May 15, 2024

@fcomitani Thank you for looking into this.

I've had a look at the link you provided. Unfortunately, the link you provided is still only showing the subject headers without any body text eg:

API
Module contents
SimpSOM.densityPeak module
SimpSOM.hexagons module
SimpSOM.qualityThreshold module

I'm using the module as we speak and I'm hoping for some exciting results. In brief, I've trained my test network (still more data to come) and now I want to take each input vector from the training set and run them over the trained network placing a marker/indicator of where the best matching unit is. Once this has been performed per input vector, I want to identify 10 candidates from the input set as indicated on the network and identify any input vectors within a given distance (i.e., clustered) of the 10 candidates. I am looking at this from the perspective that I know the reason/purpose for the 10 candidate inputs and I use them to partition the trained network.

As I can't see any documentation at the moment (I appreciate you may have a very busy schedule), does your module have any methods/functions with this functionality in mind? Thanks!

from simpsom.

fcomitani avatar fcomitani commented on May 15, 2024

I'm closing this for now. Let me know if you want it to be reopened.

from simpsom.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.