Skip to content

Commit

Permalink
revert back api (intel-analytics#2943)
Browse files Browse the repository at this point in the history
  • Loading branch information
wzhongyuan authored Oct 24, 2019
1 parent 368998a commit 473f170
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ abstract class AbstractModule[A <: Activity: ClassTag, B <: Activity: ClassTag,
* if -1, default is 4 * partitionNumber of dataset
*/

final def predictClass(dataset: RDD[Sample[T]], batchSize: Int = -1): RDD[Sample[T]] = {
final def predictClass(dataset: RDD[Sample[T]], batchSize: Int = -1): RDD[Int] = {
Predictor(this).predictClass(dataset, batchSize)
}

Expand Down

0 comments on commit 473f170

Please sign in to comment.