Comments (4)
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.
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.
@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.
I'm closing this for now. Let me know if you want it to be reopened.
from simpsom.
Related Issues (20)
- how to load weight.npy file to predict? HOT 1
- Labels HOT 9
- Predicting winning cell for data? HOT 2
- Parallelization of the code HOT 2
- Nodes difference MNIST HOT 1
- Node's coordinates in the SOM HOT 3
- pip version doesn't have colnames parameter in nodes_graph HOT 1
- Module Not Found error during import HOT 2
- net.project() function is slow HOT 5
- PyPi not using latest changes HOT 2
- Bug in learning rate? HOT 2
- Cloning of repository fails due to too long filenames. HOT 2
- MemoryError HOT 2
- problem due cyclical error? HOT 3
- I think that when updating weights, should not target all nodes. HOT 2
- Unbound Local Error While training HOT 4
- How to reference this package HOT 1
- a little error happened on densitypeak.py HOT 3
- Time complexity HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simpsom.