Re: [VOTE] SPIP: Constraints in DSv2

2025-03-22 Thread Anurag Mantripragada
://issues.apache.org/jira/browse/SPARK-19842 Thanks Anurag Mantripragada > On Mar 22, 2025, at 5:36 AM, Yuming Wang wrote: > > +1 > > On Sat, Mar 22, 2025 at 7:01 PM Peter Toth <mailto:peter.t...@gmail.com>> wrote: >> +1 >> >> On Fri, Mar 21, 2025

Regarding SPARK-23192

2018-01-23 Thread Anurag Sharma
Hi, I was trying to reproduce SPARK-23192 on spark 2.2.1 Somehow, I still see Broadcast join happening. Could anyone please explain what exactly ​was the issue? Regards

RE: Accessing DataFrame inside UserDefinedFunction.

2017-11-05 Thread Anurag Verma
This is expected. You are not accessing the DataSet Dict when calling UDF countPositiveSimilarity. The dict dataframe as it existed when udf was created is encoded into udf. If you change dict later on the changes will not get automatically picked up in UDF countPositiveSimilarity. Sent from

Re: Add a machine learning algorithm to sparkml

2017-10-20 Thread anurag . verma
Manilos, There is also scope of enhancing existing ML algorithms. In particular for Neural Net/ MLP adding more activation functions like Relu/ Tanh. Also adding functionality for deep learning architecture like CNN or LSTM which are gaining popularity. This may be more feasible in terms of l

RE: Regularized Logistic regression

2016-10-13 Thread Anurag Verma
Probably your regularization parameter is set too high. Try regParam=0.1/ 0.2 Also you should probably increase the number to iteration to something like 500. Additionally you can specify elasticNetParam (between 0 and 1). -Original Message- From: aditya1702 [mailto:adityavya...@gmail.com

Re: reading custom input format in Spark

2014-04-08 Thread Anurag
andrew/nick, thx for the input, got it to work: sc.hadoopConfiguration.set("record.delimiter.regex", "^[A-Za-z]{3},\\s\\d{2}\\s[A-Za-z]{3}.*") :-) -anurag On Tue, Apr 8, 2014 at 1:47 PM, Anurag wrote: > andrew - yes, i am using the PatternInputFormat from the blo

Re: reading custom input format in Spark

2014-04-08 Thread Anurag
andrew - yes, i am using the PatternInputFormat from the blog post you referenced. I know how to set the pattern in configuration while writing a MR job, how do i do that from a spark shell? -anurag On Tue, Apr 8, 2014 at 1:41 PM, Andrew Ash wrote: > Are you using the PatternInputFormat f

reading custom input format in Spark

2014-04-08 Thread Anurag
:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) any idea what might be happening here? -anurag -- Twitter: @anuragphadke (https://twitter.com/#!/anuragphadke)