Re: setting cost in linear SVM [Python]
If by "C" you mean the parameter C in LIBLINEAR, the corresponding parameter in MLlib is regParam: https://github.com/apache/spark/blob/master/python/pyspark/mllib/classification.py#L273, while regParam = 1/C. -Xiangrui On Wed, Apr 22, 2015 at 3:25 PM, Pagliari, Roberto wrote: > Is there a way to set the cost value C when using linear SVM? - To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org
setting cost in linear SVM [Python]
Is there a way to set the cost value C when using linear SVM?