Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
WeichenXu123 committed Aug 17, 2017
1 parent eedc647 commit 7704930
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mllib/src/main/scala/org/apache/spark/ml/ann/Layer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,8 @@ private[ann] trait TopologyModel extends Serializable {
*
* @param data input data
* @return raw prediction
*
* Note: This interface is only used for classification Model.
*/
def predictRaw(data: Vector): Vector

Expand All @@ -391,6 +393,8 @@ private[ann] trait TopologyModel extends Serializable {
*
* @param rawPrediction raw prediction vector
* @return probability
*
* Note: This interface is only used for classification Model.
*/
def raw2ProbabilityInPlace(rawPrediction: Vector): Vector

Expand Down

0 comments on commit 7704930

Please sign in to comment.