Registry / other / spark-mllib-2-12

spark-mllib-2-12

JSON →
library3.5.8javamavenunverified

Machine learning library for Apache Spark, providing scalable algorithms and utilities.

<dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-mllib_2.12</artifactId> <version>3.5.8</version> </dependency>
INSTALL
IMPORT
SIG · SPARK-MLLIB-2-12
S
spark-mllib-2-12
otherjavav3.5.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LogisticRegressionWithLBFGS
org.apache.spark.mllib.classification.LogisticRegressionWithLBFGS

Train a logistic regression model using MLlib.

import org.apache.spark.mllib.classification.LogisticRegressionWithLBFGS; import org.apache.spark.mllib.regression.LabeledPoint; import org.apache.spark.rdd.RDD; public class Example { public static void main(String[] args) { RDD<LabeledPoint> trainingData = ...; LogisticRegressionWithLBFGS model = new LogisticRegressionWithLBFGS(); model.run(trainingData); } }
Debug
Known issues
gotchaMLlib is in maintenance mode; prefer the newer ML API (spark.ml) for new projects.
fix
Use org.apache.spark.ml package instead.
affects: >=2.0.0
Upgrade
Version history
3.5.8latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
spark-mllib-2-12 — mvn dependency:get spark-mllib-2-12 · libregistry