Displaying 20 results from an estimated 600 matches similar to: "visualisation of Self organising map"
2005 Feb 04
1
Rare Cases and SOM
I am trying to understand how the SOM algorithm works
using library(class) SOM function.
I have a 1000*10 matrix and I want to be able to
summarize the different types of 10-element vectors.
In my real world case it is likely that most of the
1000 values are of one kind the rest of other (this is
an oversimplification).
Say for example:
InputA<-matrix(cos(1:10),nrow=900,ncol=10,byrow=TRUE)
2005 Apr 19
0
Changes to batchSOM from 1.9.1 to 2.0.1
Has the algorithm used by batchSOM for hexagonal topology changed in some
way between R 1.9.1 and 2.0.1? In comparing between the two versions, I
get identical results for rectangular topology, but very different results
for hexagonal topology. (I tried to find release notes for the VR bundle
that might explain the changes, but was unable to locate these anywhere.)
Here's the script I
2010 Apr 06
2
help output figures in R
somfunc<- function (file) {
aa_som<-scale(file)
final.som<-som(data=aa_som, rlen=10000, grid=somgrid(5,4, "hexagonal"))
pdf(file="/home/cdu/changbin/file.pdf") #output graphic file.
plot(final.som, main="Unsupervised SOM")
dev.off()
}
I have many different files, if I want output pdf file with the same name
as for each dataset I feed to the function
2006 Mar 05
2
Article: Creating a Live Datagrid
I just finished posting an article on creating a lightweight but very
functional web grid that does a slick job of live updating whatever content
you put in. Much like Rails itself, I pulled the code from an active project
effort, in the hopes that others would find it useful.
http://unspace.ca/discover/datagrid
Or, for the impatient, give the demo a shot:
http://unspace.ca/datagrid
Feedback
2006 Mar 21
1
including templates/views in plugins
Hi!
I''m writing a datagrid plugin and would like to render the datagrid
using a .rhtml template. However, I''d like to avoid placing this
template in app/views/shared, but it should reside somewhere within
vendor/plugins/datagrid/...
Any ideas?
--
Posted via http://www.ruby-forum.com/.
2007 Jan 22
1
Latin hyper cube sampling from expand.grid()
Dear R experts
I am looking for a package which gives me latin hyper cube samples
from the grid of values produced from the command "expand.grid". Any
pointers to this issue might be very useful. Basically, I am doing the
following:
> a<-(1:10)
> b<-(20:30)
> dataGrid<-expand.grid(a,b)
Now, is there a way to use this "dataGrid" in the package
2011 Feb 25
1
kohonen: "Argument data should be numeric"
Hi,
I'm trying to utilize the kohonen package to build SOM's. However,
trying this on my data I get the error:
"Argument data should be numeric"
when running the som(data.train, grid = somgrid(6, 6, "hexagonal"))
function. As you see, there is a problem with the data type of
data.train which is a list. When I try to convert it to "numeric" I
get the error:
2009 Nov 28
1
Kohonen Package
Hi All,
I am still learning R, but making, IMO, great strides. I learned about Kohonen/Self-Organizing Maps in class and I would like to try to replicate some of the things we have seen in class.
Below is my code. I am trying to create a u-matrix. In the documentation on page 9 it appears the type of plot, dist.neighbours should do the trick, however, I am getting an error:
(Error in
2013 Apr 15
1
Imputation with SOM using kohonen package
I have a data set with 10 variables, and about 8000 instances (or
objects/rows/samples). In addition I have one more ('class') variable that
I have about 10 instances for, but for which I wish to impute values for.
I am a little confused how to go about doing this, mostly as I'm not
well-versed in it. Do I train the SOM with a data object that contains just
the first 10 variables
2010 Mar 30
1
predict.kohonen for SOM returns NA?
All,
The kohonen predict function is returning NA for SOM predictions
regardless of data used... even the package example for a SOM using
wine data is returning NA's
Does anyone have a working example SOM. Also, what is the purpose of
trainY, what would be the dependent data for an unsupervised SOM?
As may be apparent to you by my questions, I am very new to kohonen
maps and am very grateful
2010 Jun 02
1
how to label the som notes by the majority vote
HI, Dear R community,
I am using the following codes to do the som. I tried to label the notes by
the majority vote. either through mapping or prediction.
I attached my output, the left one dont have any labels in the note, the
right one has more than one label in each note. I need to have only one
label for each note either by majority vote or prediction.
Can anyone give some suggestions or
2013 Jul 24
1
Help to improve prediction from supervised mapping using kohonen package
I would really like some or any advice on how I can improve (or fix??)
the following analysis. I hope I have provided a completely runnable
code - it doesn't produce any errors for me.
The resulting plot at the end shows a pretty poor correlation (just
speaking visually here) to the test set. How can I improve the
performance of the mapping and prediction?
Here are some of the data
2006 Mar 07
1
decorators for models?
Hi!
I''m thinking of implementing datagrid like functionality for showing
data (models) in grids so that I don''t have to re-invent the
view/controller for each table I need. There are number of parameters
that need to be customizable: column titles, row style depending on the
data (i.e. showing all rows with balance<0 in red), is column sortable,
sort-algorithm etc.
To
2006 May 29
1
Re-orderable column DataGrid + Patches for Sortable.delay and Sortable.ignorePositionXY
I would love to get some feedback and test a patch to rev. 4380.
First, the money shot - check out this demo of a scriptaculous DataGrid:
http://development.finetooth.com/?p=13
I''m using the <tr> as a sortable with the <th>''s as the sortable elements.
The Patch file:
http://www.commoner.com/~lsimon/scriptaculous/delay_and_ignorePosition_forSortables.diff
The patch
2005 Dec 28
3
Sortable - can we make one or more elements in a list sticky?
In a sortable list, is there a way to say, pass a className whereby some
of the elements in the sortable element would not become
draggables/droppables? If not, it seems like it could be implemented
similarly to the handle option.. Any interest?
Also - I submitted a patch that adds the option "delay" so that draggables
in a Sortable won''t truly become activated until after the
2006 May 11
5
crating a ajax datagrid
hi,
Im looking to build a live data grid, where you can add delete rows
using dhtml.
and was just wondering if anyone is aware of any plugin''s taht may help
me.
Ive found this example but if anyone is aware of any other plugin''s
please let me know
http://unspace.ca/datagrid/update
thanks
scott
--
Posted via http://www.ruby-forum.com/.
2006 Jan 11
3
DataGrid (Table) using tables/Scriptaculous Sortable
Hey yall,
I wanted to share some code I''ve been working on as it seems up the
alley of folks on this list. It''s not rails, per se, but one day...
DataGrid: http://development.finetooth.com/?p=6
This also showcases the option.delay perameter I''ve submitted into
scriptaculous - hold down your mouse for one second on any column other
than Vendor and then drag away ;) The
2006 Apr 24
2
rails calendar system
Hi,
Anyone got some tips on how to design some sort of datagrid/calendar
where the columns define a resource and the rows define the date. In the
corresponding cells are activities that match the resource and date, ...
Thanks!
Steven.
--
Posted via http://www.ruby-forum.com/.
2001 Oct 03
1
package GeneSOM ?
Hello Rprofessionals,
The SOM-Obj works very well, when i normalize
my data and the plot-function, too !
But i miss or didn't find the possibility , extract the
information from the SOMplot "clusterSize" and "mean" for every cluster as quantitative information ( i.e. the DataFrame with an additional column which
define the calculate clusters from SOM)?
My intention -
2008 Jul 29
2
'for' loop, two variables
Dear Rusers,
I am still an unexperienced builder of functions and loops, so my question is
very basic: Is it possible to introduce a second variable (j) into my loop.
To examplify:
# This works fine:
fn <- function (x) {if (x>46 & x<52) 1 else 0}
res <-NULL
for (i in 40:60) res <-c(res,fn(i))
res
# But here, there is an error in the "for" expression:
fn <-