Coder Social home page Coder Social logo

Integer overflow about somoclu HOT 2 OPEN

peterwittek avatar peterwittek commented on July 18, 2024
Integer overflow

from somoclu.

Comments (2)

peterwittek avatar peterwittek commented on July 18, 2024

I cannot reproduce the error on 64-bit Linux with 32GB of RAM. R is insanely inefficient with memory use: during the conversion, it peaks around 19GB. Once the conversion is over, I run garbage collection and the final memory use is around 1.18GB. So I suspect your problem has to do with your configuration, and not with Somoclu/kohonen. This is what I do:

library('Rsomoclu')
library('kohonen')
input_data<-matrix(runif(1), nrow=1400000, ncol=50)
nSomX <- 20
nSomY <- 20
nEpoch <- 10
radius0 <- 0
radiusN <- 0
radiusCooling <- "linear"
scale0 <- 0
scaleN <- 0.01
scaleCooling <- "linear"
kernelType <- 0
mapType <- "planar"
gridType <- "rectangular"
compactSupport <- FALSE
codebook <- NULL
neighborhood <- "gaussian"
res <- Rsomoclu.train(input_data, nEpoch, nSomX, nSomY,
                      radius0, radiusN,
                      radiusCooling, scale0, scaleN,
                      scaleCooling,
kernelType, mapType, gridType, compactSupport, neighborhood, codebook)
gc()
sommap = Rsomoclu.kohonen(input_data, res)
gc()

from somoclu.

apastore avatar apastore commented on July 18, 2024

Thanks I will try to test more in detail. I am using a centOS bases qsub cluster I request 50GB Ram. So I was not expecting to be the problem.

Thanks!

Sent from my iPhone

On Oct 2, 2016, at 5:53 AM, Peter Wittek [email protected] wrote:

I cannot reproduce the error on 64-bit Linux with 32GB of RAM. R is insanely inefficient with memory use: during the conversion, it peaks around 19GB. Once the conversion is over, I run garbage collection and the final memory use is around 1.18GB. So I suspect your problem has to do with your configuration, and not with Somoclu/kohonen. This is what I do:

library('Rsomoclu')
library('kohonen')
input_data<-matrix(runif(1), nrow=1400000, ncol=50)
nSomX <- 20
nSomY <- 20
nEpoch <- 10
radius0 <- 0
radiusN <- 0
radiusCooling <- "linear"
scale0 <- 0
scaleN <- 0.01
scaleCooling <- "linear"
kernelType <- 0
mapType <- "planar"
gridType <- "rectangular"
compactSupport <- FALSE
codebook <- NULL
neighborhood <- "gaussian"
res <- Rsomoclu.train(input_data, nEpoch, nSomX, nSomY,
radius0, radiusN,
radiusCooling, scale0, scaleN,
scaleCooling,
kernelType, mapType, gridType, compactSupport, neighborhood, codebook)
gc()
sommap = Rsomoclu.kohonen(input_data, res)
gc()

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

from somoclu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.