Hi!
22.06.2016, 22:00, chalabi.el...@yahoo.de wrote:
Dear Kimmo,
I already used df$speed[training] in df.xyf but I get this error:
Error in xyf(Xtraining,factor(df$speed[training]),grid=somgrid(5, :
NA/NaN/Inf in foreign function call (arg 1)
Please check for zeros (0) and NAs in df$spee
Dear Kimmo,
I already used df$speed[training] in df.xyf but I get this error:
Error in xyf(Xtraining,factor(df$speed[training]),grid=somgrid(5, :
NA/NaN/Inf in foreign function call (arg 1)
On Wednesday, June 22, 2016 3:48 AM, K. Elo wrote:
Hi again!
21.06.2016, 21:33, chalabi.el...@ya
Hi again!
21.06.2016, 21:33, chalabi.el...@yahoo.de wrote:
Hi Kimmo, Thanks for your reply. I think now my problem is that I
don't understand what does factor(df.classes[training]) do?
Sorry, my mistake, should habe been 'df$speed'. Please try the following:
--- snip ---
set.seed(7) training
On Friday, June 17, 2016 12:21 AM, K. Elo wrote:
Hi again!
According to '?xyf', the function is expecting following parameters:
(1) data = a matrix, with each row representing an object.
So, please ensure that your data is a matrix
(2) Y = property that is to be modelled. In case of class
Hi again!
According to '?xyf', the function is expecting following parameters:
(1) data = a matrix, with each row representing an object.
So, please ensure that your data is a matrix
(2) Y = property that is to be modelled. In case of classification, Y is
a matrix of zeros, with exactly one '
Hi Kimmo,
Thanks for your reply, Here is a part of my df:
'data.frame': 562 obs. of 128 variables
$ TE :int 37 37 35 34 37 37 35 33 32 ...
$ TR :int 11 11 8 13 11 8 15 12 8 .
$ BW :int 150 191 128 145 200 191
$speed :int 4 4 3
Hi!
Some sample data could help us to help you...
But have you read '?xyf' in order to ensure that your 'Y' is what 'xyf'
expects it to be?
What kind of error messages do you get?
Regards,
Kimmo
16.06.2016, 15:13, ch.elahe via R-help wrote:
Is there any answer?
Hi all, I have a df and I
Is there any answer?
Hi all,
I have a df and I want to use supervised Self Organizing Map to do
classification. I should use Kohonen library and xyf function from it. As you
know the xyf function looks like this and I have problem defining my Y:
xyf(data,Y,grid=somgrid(),rlen=100,alpha=c
Hi all,
I have a df and I want to use supervised Self Organizing Map to do
classification. I should use Kohonen library and xyf function from it. As you
know the xyf function looks like this and I have problem defining my Y:
xyf(data,Y,grid=somgrid(),rlen=100,alpha=c(0.05,0.01))
I want to do
9 matches
Mail list logo