Open
Description
I am attempting to use the R implementation of Rsomoclu.train with the following parameters on a sparse matrix, dimensions 480k x 18k.
nEpochs<-5
nx<-70
ny<-70
som_train<-Rsomoclu.train(dfm,
nEpoch=nEpochs,
nSomX = nx,
nSomY = ny,
kernelType = 2,
radius0 = 0,
radiusN = 1,
radiusCooling = "linear",
scale0 = 1,
scaleN = .01,
scaleCooling = "linear")
When I run this it fails almost instantly with the following error:
> som_train<-Rsomoclu.train(dfm,
+ nEpoch=nEpochs,
+ nSomX = nx,
+ nSomY .... [TRUNCATED]
terminate called after throwing an instance of 'Rcpp::not_compatible'
what(): Not compatible with requested type: [type=S4; target=double].
Am I setting a parameter incorrectly?
Metadata
Metadata
Assignees
Labels
No labels