Skip to content

Commit

Permalink
Fix annotations for save/load for max abs scaler
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Pentreath committed Jun 17, 2016
1 parent 86ab82b commit 2fc676a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class MaxAbsScaler @Since("2.0.0") (@Since("2.0.0") override val uid: String)
@Since("2.0.0")
object MaxAbsScaler extends DefaultParamsReadable[MaxAbsScaler] {

@Since("1.6.0")
@Since("2.0.0")
override def load(path: String): MaxAbsScaler = super.load(path)
}

Expand Down Expand Up @@ -177,9 +177,9 @@ object MaxAbsScalerModel extends MLReadable[MaxAbsScalerModel] {
}
}

@Since("1.6.0")
@Since("2.0.0")
override def read: MLReader[MaxAbsScalerModel] = new MaxAbsScalerModelReader

@Since("1.6.0")
@Since("2.0.0")
override def load(path: String): MaxAbsScalerModel = super.load(path)
}

0 comments on commit 2fc676a

Please sign in to comment.