com
.
microsoft
.
ml
.
spark
.
vw
VowpalWabbitBaseModel
Related Doc:
package vw
trait
VowpalWabbitBaseModel
extends
HasFeaturesCol
with
HasRawPredictionCol
with
HasAdditionalFeatures
with
ComplexParamsWritable
Base trait to wrap the model for prediction.
Linear Supertypes
ComplexParamsWritable
,
MLWritable
,
HasAdditionalFeatures
,
Wrappable
,
HasRawPredictionCol
,
HasFeaturesCol
,
Params
,
Serializable
,
Serializable
,
Identifiable
,
AnyRef
,
Any
Known Subclasses
VowpalWabbitClassificationModel
,
VowpalWabbitRegressionModel
Ordering
Alphabetic
By Inheritance
Inherited
VowpalWabbitBaseModel
ComplexParamsWritable
MLWritable
HasAdditionalFeatures
Wrappable
HasRawPredictionCol
HasFeaturesCol
Params
Serializable
Serializable
Identifiable
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Abstract Value Members
abstract
def
copy
(
extra:
ParamMap
)
:
Params
Definition Classes
Params
abstract
val
uid
:
String
Definition Classes
Identifiable
Concrete Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
$
[
T
]
(
param:
Param
[
T
]
)
:
T
Attributes
protected
Definition Classes
Params
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
val
additionalFeatures
:
StringArrayParam
Definition Classes
HasAdditionalFeatures
def
additionalPythonMethods
()
:
String
Definition Classes
Wrappable
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
final
def
clear
(
param:
Param
[_]
)
:
VowpalWabbitBaseModel
.this.type
Definition Classes
Params
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
copyValues
[
T <:
Params
]
(
to:
T
,
extra:
ParamMap
)
:
T
Attributes
protected
Definition Classes
Params
final
def
defaultCopy
[
T <:
Params
]
(
extra:
ParamMap
)
:
T
Attributes
protected
Definition Classes
Params
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
lazy val
example
:
VowpalWabbitExample
def
explainParam
(
param:
Param
[_]
)
:
String
Definition Classes
Params
def
explainParams
()
:
String
Definition Classes
Params
final
def
extractParamMap
()
:
ParamMap
Definition Classes
Params
final
def
extractParamMap
(
extra:
ParamMap
)
:
ParamMap
Definition Classes
Params
final
val
featuresCol
:
Param
[
String
]
Definition Classes
HasFeaturesCol
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
get
[
T
]
(
param:
Param
[
T
]
)
:
Option
[
T
]
Definition Classes
Params
def
getAdditionalFeatures
:
Array
[
String
]
Definition Classes
HasAdditionalFeatures
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
getDefault
[
T
]
(
param:
Param
[
T
]
)
:
Option
[
T
]
Definition Classes
Params
final
def
getFeaturesCol
:
String
Definition Classes
HasFeaturesCol
def
getModel
:
Array
[
Byte
]
final
def
getOrDefault
[
T
]
(
param:
Param
[
T
]
)
:
T
Definition Classes
Params
def
getParam
(
paramName:
String
)
:
Param
[
Any
]
Definition Classes
Params
def
getPerformanceStatistics
:
DataFrame
final
def
getRawPredictionCol
:
String
Definition Classes
HasRawPredictionCol
def
getTestArgs
:
String
final
def
hasDefault
[
T
]
(
param:
Param
[
T
]
)
:
Boolean
Definition Classes
Params
def
hasParam
(
paramName:
String
)
:
Boolean
Definition Classes
Params
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isDefined
(
param:
Param
[_]
)
:
Boolean
Definition Classes
Params
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
isSet
(
param:
Param
[_]
)
:
Boolean
Definition Classes
Params
val
model
:
ByteArrayParam
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
lazy val
params
:
Array
[
Param
[_]]
Definition Classes
Params
val
performanceStatistics
:
DataFrameParam
def
predictInternal
(
featureColIndices:
Seq
[
NamespaceInfo
]
,
namespaces:
Row
)
:
Double
Attributes
protected
final
val
rawPredictionCol
:
Param
[
String
]
Definition Classes
HasRawPredictionCol
def
save
(
path:
String
)
:
Unit
Definition Classes
MLWritable
Annotations
@Since
(
"1.6.0"
)
@throws
(
...
)
def
saveNativeModel
(
path:
String
)
:
Unit
final
def
set
(
paramPair:
ParamPair
[_]
)
:
VowpalWabbitBaseModel
.this.type
Attributes
protected
Definition Classes
Params
final
def
set
(
param:
String
,
value:
Any
)
:
VowpalWabbitBaseModel
.this.type
Attributes
protected
Definition Classes
Params
final
def
set
[
T
]
(
param:
Param
[
T
]
,
value:
T
)
:
VowpalWabbitBaseModel
.this.type
Definition Classes
Params
def
setAdditionalFeatures
(
value:
Array
[
String
]
)
:
VowpalWabbitBaseModel
.this.type
Definition Classes
HasAdditionalFeatures
final
def
setDefault
(
paramPairs:
ParamPair
[_]*
)
:
VowpalWabbitBaseModel
.this.type
Attributes
protected
Definition Classes
Params
final
def
setDefault
[
T
]
(
param:
Param
[
T
]
,
value:
T
)
:
VowpalWabbitBaseModel
.this.type
Attributes
protected
Definition Classes
Params
def
setModel
(
v:
Array
[
Byte
]
)
:
VowpalWabbitBaseModel
.this.type
def
setPerformanceStatistics
(
v:
DataFrame
)
:
VowpalWabbitBaseModel
.this.type
def
setTestArgs
(
value:
String
)
:
VowpalWabbitBaseModel
.this.type
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
testArgs
:
Param
[
String
]
def
toString
()
:
String
Definition Classes
Identifiable → AnyRef → Any
def
transformImplInternal
(
dataset:
Dataset
[_]
)
:
DataFrame
Attributes
protected
lazy val
vw
:
VowpalWabbitNative
lazy val
vwArgs
:
VowpalWabbitArguments
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
(
...
)
def
write
:
MLWriter
Definition Classes
ComplexParamsWritable
→ MLWritable
Inherited from
ComplexParamsWritable
Inherited from
MLWritable
Inherited from
HasAdditionalFeatures
Inherited from
Wrappable
Inherited from
HasRawPredictionCol
Inherited from
HasFeaturesCol
Inherited from
Params
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Identifiable
Inherited from
AnyRef
Inherited from
Any
Ungrouped
Base trait to wrap the model for prediction.