Skip to content

Commit

Permalink
removed serialization part, this will be part of the ModelExporter
Browse files Browse the repository at this point in the history
helper object
  • Loading branch information
selvinsource committed Nov 5, 2014
1 parent aba5ee1 commit e1eb251
Showing 1 changed file with 1 addition and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,6 @@

package org.apache.spark.mllib.export

import java.io.OutputStream
import java.io.FileOutputStream
import java.io.File

trait ModelExport {

/**
* Write the exported model to the output stream specified
*/
def save(outputStream: OutputStream): Unit

/**
* Write the exported model to the local file specified
*/
def saveLocalFile(path: String): Unit = {
save(new FileOutputStream(new File(path)));
}
private[mllib] trait ModelExport {

}

0 comments on commit e1eb251

Please sign in to comment.