class MlModelsDB extends AnyRef
A wrapper of MlModelBl to use the the spark-ml classes
- Alphabetic
- By Inheritance
- MlModelsDB
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new MlModelsDB(env: AnyRef { val mlModelBL: it.agilelab.bigdata.wasp.repository.core.bl.MlModelBL })
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
createModelsBroadcast(mlModelsOnlyInfo: List[MlModelOnlyInfo])(implicit sc: SparkContext): MlModelsBroadcastDB
It build a MlModelsBroadcastDB where all the model with info are broadcasted The param can be incomplete so it read the complete model with info from MongoDB
- def delete(name: String, version: String, timestamp: Long): Unit
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
read(name: String, version: String, timestampOpt: Option[Long]): TransformerWithInfo
This method can be use to retrieve a complete model with own info, if there isn't a timestamp it will take the most recent
This method can be use to retrieve a complete model with own info, if there isn't a timestamp it will take the most recent
- Annotations
- @throws( ... )
-
def
read(mlModelOnlyInfo: MlModelOnlyInfo): TransformerWithInfo
Get the TransformerWithInfo of only metadata
Get the TransformerWithInfo of only metadata
- Annotations
- @throws( ... )
-
def
read(name: String, version: String): TransformerWithInfo
Find the most recent TransformerWithInfo
Find the most recent TransformerWithInfo
- Annotations
- @throws( ... )
- def readOnlyInfo(name: String, version: String, timestampOpt: Option[Long]): Option[MlModelOnlyInfo]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def write(mlModels: List[TransformerWithInfo]): List[TransformerWithInfo]
-
def
write(mlModel: TransformerWithInfo): TransformerWithInfo
It save the info on the own collection and the transformer model in gridFS
It save the info on the own collection and the transformer model in gridFS
- returns
an error if something was wrong and the saved model with all the ids initialized