Skip to content

Commit

Permalink
update arg name
Browse files Browse the repository at this point in the history
  • Loading branch information
WeichenXu123 committed Aug 17, 2017
1 parent 7704930 commit 5369b08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mllib/src/main/scala/org/apache/spark/ml/ann/Layer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -373,20 +373,20 @@ private[ann] trait TopologyModel extends Serializable {
/**
* Prediction of the model. See {@link ProbabilisticClassificationModel}
*
* @param data input data
* @param features input features
* @return prediction
*/
def predict(data: Vector): Vector
def predict(features: Vector): Vector

/**
* Raw prediction of the model. See {@link ProbabilisticClassificationModel}
*
* @param data input data
* @param features input features
* @return raw prediction
*
* Note: This interface is only used for classification Model.
*/
def predictRaw(data: Vector): Vector
def predictRaw(features: Vector): Vector

/**
* Probability of the model. See {@link ProbabilisticClassificationModel}
Expand Down

0 comments on commit 5369b08

Please sign in to comment.