Skip to content

Commit e1eb251

Browse files
committed
removed serialization part, this will be part of the ModelExporter
helper object
1 parent aba5ee1 commit e1eb251

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

mllib/src/main/scala/org/apache/spark/mllib/export/ModelExport.scala

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,6 @@
1717

1818
package org.apache.spark.mllib.export
1919

20-
import java.io.OutputStream
21-
import java.io.FileOutputStream
22-
import java.io.File
23-
24-
trait ModelExport {
25-
26-
/**
27-
* Write the exported model to the output stream specified
28-
*/
29-
def save(outputStream: OutputStream): Unit
30-
31-
/**
32-
* Write the exported model to the local file specified
33-
*/
34-
def saveLocalFile(path: String): Unit = {
35-
save(new FileOutputStream(new File(path)));
36-
}
20+
private[mllib] trait ModelExport {
3721

3822
}

0 commit comments

Comments
 (0)