Re: please care and vote for Chinese people under cruel autocracy of CCP, great thanks!

2019-08-29 Thread Yan Facai
Please do not send spam email. Thanks. On Thu, 29 Aug 2019, 13:05 ant_fighter, wrote: > Hi all, > Sorry for disturbing you guys. Though I don't think here as a proper place > to do this, I need your help, your vote, your holy vote, for us Chinese, > for conscience and justice, for better world.

Re: [ML] Migrating transformers from mllib to ml

2017-11-07 Thread Yan Facai
Hi, I have migrated HashingTF from mllib to ml, and wait for review. see: [SPARK-21748][ML] Migrate the implementation of HashingTF from MLlib to ML #18998 https://github.com/apache/spark/pull/18998 On Mon, Nov 6, 2017 at 10:58 PM, Marco Gaido wrote: > Hello, > > I

Re: LibSVM should have just one input file

2017-06-11 Thread Yan Facai
Hi, yaphet. It seems that the code you pasted should be located in LibSVM, rather than SVM. Do I misunderstand? For LibSVMDataSource, 1. if numFeatures is unspecified, only one file is valid input. val df = spark.read.format("libsvm") .load("data/mllib/sample_libsvm_data.txt") 2. otherwise,

Re: Starter tasks to start contributing

2017-05-22 Thread Yan Facai
Hi, I think that starter label is useful for you. How about this link: https://issues.apache.org/jira/browse/SPARK-5?jql= project%20=%20SPARK%20%20AND%20component%20in%20%20("Spark% 20Core",%20%20"Structured%20Streaming")%20AND%20status%

Re: how to retain part of the features in LogisticRegressionModel (spark2.0)

2017-03-20 Thread Yan Facai
Hi, jinhong. Do you use `setRegParam`, which is 0.0 by default ? Both elasticNetParam and regParam are required if regularization is need. val regParamL1 = $(elasticNetParam) * $(regParam) val regParamL2 = (1.0 - $(elasticNetParam)) * $(regParam) On Mon, Mar 20, 2017 at 6:31 PM, Yanbo Liang