Comments (5)
Similar to https://github.com/peterwittek/somoclu/blob/master/src/R/man/Rsomoclu.kohonen.Rd ?
from somoclu.
Thanks! This is what I am doing for the training set. Where I am really struggling is to get the SOM Plot for the test data. I am using the map.kohone but it does not return the codes values so it is not possible to plot.
from somoclu.
The R version of Somoclu is really just a computational back-end to kohonen
, so visualization is left to that library. This is a fundamental difference to the Python version, where we develop our own visualization routines, so we have plenty of space to add convenience functions.
You are right, kohonen
does not fill the updated map with much meaningful information:
new_data <- matrix(0, nrow=100, ncol=50)
new_map <- map(sommap, new_data)
It is easy to see that the result is correct, e.g., all new points get the same BMU, but you will not be able to visualize the result so easily.
from somoclu.
How was wondering to re-compute the code of each SOM unit after mapping the Test set.
I have tried with the simple mean of the element map in the unit, but it look to me there is some sort of smooth.
Would be possible to have a R code to recompute the Som Unit Codes after update/test map?
Thanks!
Sent from my iPhone
On Oct 2, 2016, at 6:17 AM, Peter Wittek [email protected] wrote:
The R version of Somoclu is really just a computational back-end to kohonen, so visualization is left to that library. This is a fundamental difference to the Python version, where we develop our own visualization routines, so we have plenty of space to add convenience functions.
You are right, kohonen does not fill the updated map with much meaningful information:
new_data <- matrix(0, nrow=100, ncol=50)
new_map <- map(sommap, new_data)
It is easy to see that the result is correct, e.g., all new points get the same BMU, but you will not be able to visualize the result so easily.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
from somoclu.
I am sorry I don't understand the question. If you want to continue training the map with the test examples, just pass the current codebook to Rsomoclu.train
with the new data. Adjust the radius and the scaling factors to avoid abrupt changes.
from somoclu.
Related Issues (20)
- /home/docker/R/Rsomoclu/libs/Rsomoclu.so: undefined symbol: _ZTI8Snapshot
- Licensing and GPL HOT 6
- MATLAB interfece Batch algorithm HOT 4
- (core dumped) HOT 3
- Attempting to use an MPI routine before initializing MPI HOT 4
- single dimensional clustering
- upgradation problem HOT 1
- errors importing native C library (python 3.8.6 & swig 4.0.1) HOT 4
- update official repos (pypi and conda) HOT 3
- TypeError: train expected 23 arguments, got 22 HOT 2
- Can I set the random seed? HOT 4
- Get bmu of testing data HOT 2
- Numpy requirement in setup.py HOT 5
- conda-forge PackagesNotFoundError HOT 6
- How can I assign a cluster to new data? HOT 1
- Batch mode and learning rate HOT 3
- Can't build wheel with somoclu and pip 23.1 HOT 2
- Warning: the binary library cannot be imported. You cannot train maps, but you can load and analyze ones that you have already saved. If you installed Somoclu with pip on Windows, this typically means missing DLLs. Please refer to the documentation. HOT 4
- linux/arm64 for conda-forge
- About UMatrix visualization (question)
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 somoclu.