[R] Help-Multi class classification for large datasets

2017-07-18 Thread Ranjana Girish
Hai all, We are working on Multi-class Classification. Currently up to 1.1 million records Ranger package in R is able to handle. Training time on 128 GB RAM is 12 days, which is not a practically feasible method to proceed further. In future we will have dataset of dimension 10 million records,

[R] regarding Fselector package in R

2016-08-13 Thread Ranjana Girish
I need to calculate information gain using Fselector package for feature selection ti classify document i executed the code below library(tm) library(NLP) library(FSelector) doc<-c( "The sky is blue.", "The sun is bright today.", "The sun in the sky is bright.","We can see the shining s

[R] help: about lemmatization with treetagger tool

2016-08-16 Thread Ranjana Girish
To do lemmatization in R, I executed code below library("koRpus") tagged.results <- treetag(c("run", "ran", "running"), treetagger="manual", format="obj", TT.tknz=FALSE , lang="en", TT.options=list(path="C:/Program Files/TreeTagger", preset="en")

[R] In SOM package all entities are predicted to the same class

2016-10-08 Thread Ranjana Girish
From: "Ranjana Girish" Date: Oct 7, 2016 3:14 PM Subject: help:In SOM package all entities are predicted to the same class Cc: Hi All,,, Every-time when i run the below code it is predicting the same class for all the test cases.So i have added few more parameters while forming the

Re: [R] In SOM package all entities are predicted to the same class

2016-10-08 Thread Ranjana Girish
From: "Ranjana Girish" Date: Oct 7, 2016 3:39 PM Subject: Re:In SOM package all entities are predicted to the same class Cc: > Even after trying with different parameters of SOM still all entities are getting predicted to same class.. > > Note: for each run, class are dif

[R] regarding predicted value from xgboost package

2016-10-13 Thread Ranjana Girish
hai everyone. i am using model building function xgboost() using code : fit <- xgboost(data =sparse_matrix , label = trainSet$OutputClass, max.depth = 4,eta = 1, nthread = 2, nround = 10, eval_metric = "merror",objective = "multi:softmax",num_class = 45) when i use the prediction function:

[R] Regarding socket exception when using Rserve

2016-11-24 Thread Ranjana Girish
Hi all, we are connecting to R language from Java using Rserve(). while doing so,Got one issue at hand Some of the command in R is taking more than 20 min. During this time we are receiving java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.j

[R] Improve performance of RConnection and Rserve

2016-11-30 Thread Ranjana Girish
Hi all, If we execute an R script directly in R prompt in Linux environment, it takes around 30 mins to complete. The same R script if we execute from java using RConnection, eval and Rserve for each line it takes thrice the time. Basically the performance is very bad. And in most of the occasio