You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Frank Sha (JIRA)" <ji...@apache.org> on 2017/05/26 04:52:04 UTC
[jira] [Created] (SPARK-20893) Should we create a constructor for
LabelsPoint which is using ml.linalg.Vectors?
Frank Sha created SPARK-20893:
---------------------------------
Summary: Should we create a constructor for LabelsPoint which is using ml.linalg.Vectors?
Key: SPARK-20893
URL: https://issues.apache.org/jira/browse/SPARK-20893
Project: Spark
Issue Type: Bug
Components: MLlib
Affects Versions: 2.1.1
Reporter: Frank Sha
From Spark2.0 org.apache.spark.mllib.linalg.Vectors;
was deprecated by org.apache.spark.ml.linalg.Vectors;
But for LabelsPoint,
https://spark.apache.org/docs/2.1.0/api/java/org/apache/spark/mllib/regression/LabeledPoint.html
the only constructor as LabeledPoint(double label, Vector features)
is using mllib.linalg.Vectors, should we create another version which is using
ml.linalg.Vectors?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org