Re: How to convert spark data-frame to datasets?

2016-11-21 Thread Minudika Malshan
", where T <: Product, or there is an >> implicit decoder in scope, I believe. >> >> Also, this is probably a user list question. >> >> >> On Thu, Aug 18, 2016 at 10:59 AM Minudika Malshan >> wrote: >> >>> Hi all, >>> >>&g

How to convert spark data-frame to datasets?

2016-08-18 Thread Minudika Malshan
Hi all, Most of Spark ML algorithms requires a dataset to train the model. I would like to know how to convert a spark *data-frame* to a *dataset* using Java. Your support is much appreciated. Thank you! Minudika

How to resolve the SparkExecption : Size exceeds Integer.MAX_VALUE

2016-08-15 Thread Minudika Malshan
Hi all, I am trying to create and train a model for a Kaggle competition dataset using Apache spark. The dataset has more than 10 million rows of data. But when training the model, I get an exception "*Size exceeds Integer.MAX_VALUE*". I found the same question has been raised in Stack overflow b

Re: Get data from CSV files to feed SparkML library methods

2016-08-10 Thread Minudika Malshan
features column which should be feed into ML > estimator for model training. You can refer VectorAssembler document: > http://spark.apache.org/docs/latest/ml-features.html#vectorassembler . > > Thanks > Yanbo > > 2016-08-10 4:16 GMT-07:00 Minudika Malshan : > >> Hi al

Get data from CSV files to feed SparkML library methods

2016-08-10 Thread Minudika Malshan
Hi all, I'm using spark ml library and need to train a model using data extracted from a CSV file. I found that we can load datasets from LibSVM files to spark ML methods. As far as i understood, the data should be represented as labeled points in-order to feed the ml methods. Is there a way to lo

Implementing Bagging ensemble method using spark.mlLib

2016-02-28 Thread Minudika Malshan
ve me some resources to getting started with implementation of Bagging method using ml Lib functionalities. Thanks and regards. Minudika Minudika Malshan Undergraduate Department of Computer Science and Engineering University of Moratuwa.

Re: Build fails

2016-02-24 Thread Minudika Malshan
ROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException Minudika Malshan Undergraduate Department of Computer Science and Engineering University of Moratuwa. On Thu, Fe

Build fails

2016-02-24 Thread Minudika Malshan
rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1] Please help me to get it fixed. Thanks and regards.. Minudika Minudika Malshan Undergraduate Department of Computer Science and Engineering University of Moratuwa.