Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Re-formatting
  • Loading branch information
prayagchandran committed Aug 14, 2015
commit fa4dda2b01c04c91c65c5a1059020a180778c5cc
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class IsotonicRegressionModel (
/** A convenient method for boundaries called by the Python API. */
private[mllib] def predictionVector: Vector = Vectors.dense(predictions)

/*
/**
* @since 1.4.0
*/
override def save(sc: SparkContext, path: String): Unit = {
Expand All @@ -170,7 +170,7 @@ class IsotonicRegressionModel (
override protected def formatVersion: String = "1.0"
}

/*
/**
* @since 1.4.0
*/
object IsotonicRegressionModel extends Loader[IsotonicRegressionModel] {
Expand Down Expand Up @@ -218,7 +218,7 @@ object IsotonicRegressionModel extends Loader[IsotonicRegressionModel] {
}
}

/*
/**
* @since 1.4.0
*/
override def load(sc: SparkContext, path: String): IsotonicRegressionModel = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class LassoModel (
weightMatrix.toBreeze.dot(dataMatrix.toBreeze) + intercept
}

/*
/**
* @since 1.3.0
*/
override def save(sc: SparkContext, path: String): Unit = {
Expand All @@ -56,12 +56,12 @@ class LassoModel (
override protected def formatVersion: String = "1.0"
}

/*
/**
* @since 1.3.0
*/
object LassoModel extends Loader[LassoModel] {

/*
/**
* @since 1.3.0
*/
override def load(sc: SparkContext, path: String): LassoModel = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import org.apache.spark.api.java.JavaRDD
import org.apache.spark.mllib.linalg.Vector
import org.apache.spark.rdd.RDD

/*
/**
* @since 0.8.0
*/
@Experimental
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class RidgeRegressionModel (
weightMatrix.toBreeze.dot(dataMatrix.toBreeze) + intercept
}

/*
/**
* @since 1.3.0
*/
override def save(sc: SparkContext, path: String): Unit = {
Expand All @@ -57,12 +57,12 @@ class RidgeRegressionModel (
override protected def formatVersion: String = "1.0"
}

/*
/**
* @since 1.3.0
*/
object RidgeRegressionModel extends Loader[RidgeRegressionModel] {

/*
/**
* @since 1.3.0
*/
override def load(sc: SparkContext, path: String): RidgeRegressionModel = {
Expand Down