com
.
johnsnowlabs
.
nlp
ParamsAndFeaturesWritable
Related Doc:
package nlp
trait
ParamsAndFeaturesWritable
extends
DefaultParamsWritable
with
Params
with
HasFeatures
Linear Supertypes
HasFeatures
,
Params
,
Serializable
,
Serializable
,
Identifiable
,
DefaultParamsWritable
,
MLWritable
,
AnyRef
,
Any
Known Subclasses
AlbertEmbeddings
,
AnnotatorModel
,
BertEmbeddings
,
BertSentenceEmbeddings
,
BigTextMatcher
,
BigTextMatcherModel
,
Chunk2Doc
,
ChunkEmbeddings
,
ChunkTokenizerModel
,
Chunker
,
ClassifierDLApproach
,
ClassifierDLModel
,
ContextSpellCheckerModel
,
DateMatcher
,
DependencyParserModel
,
Doc2Chunk
,
DocumentNormalizer
,
ElmoEmbeddings
,
HasCaseSensitiveProperties
,
HasStorage
,
HasStorageModel
,
HasStorageReader
,
HasStorageRef
,
LanguageDetectorDL
,
LemmatizerModel
,
MarianTransformer
,
MultiClassifierDLApproach
,
MultiClassifierDLModel
,
MultiDateMatcher
,
NGramGenerator
,
NerConverter
,
NerCrfModel
,
NerDLApproach
,
NerDLModel
,
NerOverwriter
,
NormalizerModel
,
NorvigSweetingModel
,
PerceptronModel
,
RawAnnotator
,
RecursiveTokenizer
,
RecursiveTokenizerModel
,
RegexMatcherModel
,
RegexTokenizer
,
SentenceDetector
,
SentenceDetectorDLModel
,
SentenceEmbeddings
,
SentimentDLApproach
,
SentimentDLModel
,
SentimentDetectorModel
,
Stemmer
,
StopWordsCleaner
,
SymmetricDeleteModel
,
T5Transformer
,
TextMatcher
,
TextMatcherModel
,
Token2Chunk
,
TokenAssembler
,
TokenizerModel
,
TypedDependencyParserModel
,
UniversalSentenceEncoder
,
ViveknSentimentModel
,
WordEmbeddings
,
WordEmbeddingsModel
,
WordSegmenterModel
,
XlnetEmbeddings
,
YakeModel
Ordering
Alphabetic
By Inheritance
Inherited
ParamsAndFeaturesWritable
HasFeatures
Params
Serializable
Serializable
Identifiable
DefaultParamsWritable
MLWritable
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
def
$$
[
T
]
(
feature:
StructFeature
[
T
]
)
:
T
Attributes
protected
Definition Classes
HasFeatures
def
$$
[
K
,
V
]
(
feature:
MapFeature
[
K
,
V
]
)
:
Map
[
K
,
V
]
Attributes
protected
Definition Classes
HasFeatures
def
$$
[
T
]
(
feature:
SetFeature
[
T
]
)
:
Set
[
T
]
Attributes
protected
Definition Classes
HasFeatures
def
$$
[
T
]
(
feature:
ArrayFeature
[
T
]
)
:
Array
[
T
]
Attributes
protected
Definition Classes
HasFeatures
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
final
def
clear
(
param:
Param
[_]
)
:
ParamsAndFeaturesWritable
.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
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
val
features
:
ArrayBuffer
[
Feature
[_, _, _]]
Definition Classes
HasFeatures
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
get
[
T
]
(
feature:
StructFeature
[
T
]
)
:
Option
[
T
]
Attributes
protected
Definition Classes
HasFeatures
def
get
[
K
,
V
]
(
feature:
MapFeature
[
K
,
V
]
)
:
Option
[
Map
[
K
,
V
]]
Attributes
protected
Definition Classes
HasFeatures
def
get
[
T
]
(
feature:
SetFeature
[
T
]
)
:
Option
[
Set
[
T
]]
Attributes
protected
Definition Classes
HasFeatures
def
get
[
T
]
(
feature:
ArrayFeature
[
T
]
)
:
Option
[
Array
[
T
]]
Attributes
protected
Definition Classes
HasFeatures
final
def
get
[
T
]
(
param:
Param
[
T
]
)
:
Option
[
T
]
Definition Classes
Params
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
getDefault
[
T
]
(
param:
Param
[
T
]
)
:
Option
[
T
]
Definition Classes
Params
final
def
getOrDefault
[
T
]
(
param:
Param
[
T
]
)
:
T
Definition Classes
Params
def
getParam
(
paramName:
String
)
:
Param
[
Any
]
Definition Classes
Params
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
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
onWrite
(
path:
String
,
spark:
SparkSession
)
:
Unit
Attributes
protected
lazy val
params
:
Array
[
Param
[_]]
Definition Classes
Params
def
save
(
path:
String
)
:
Unit
Definition Classes
MLWritable
Annotations
@Since
(
"1.6.0"
)
@throws
(
...
)
def
set
[
T
]
(
feature:
StructFeature
[
T
]
,
value:
T
)
:
ParamsAndFeaturesWritable
.this.type
Attributes
protected
Definition Classes
HasFeatures
def
set
[
K
,
V
]
(
feature:
MapFeature
[
K
,
V
]
,
value:
Map
[
K
,
V
]
)
:
ParamsAndFeaturesWritable
.this.type
Attributes
protected
Definition Classes
HasFeatures
def
set
[
T
]
(
feature:
SetFeature
[
T
]
,
value:
Set
[
T
]
)
:
ParamsAndFeaturesWritable
.this.type
Attributes
protected
Definition Classes
HasFeatures
def
set
[
T
]
(
feature:
ArrayFeature
[
T
]
,
value:
Array
[
T
]
)
:
ParamsAndFeaturesWritable
.this.type
Attributes
protected
Definition Classes
HasFeatures
final
def
set
(
paramPair:
ParamPair
[_]
)
:
ParamsAndFeaturesWritable
.this.type
Attributes
protected
Definition Classes
Params
final
def
set
(
param:
String
,
value:
Any
)
:
ParamsAndFeaturesWritable
.this.type
Attributes
protected
Definition Classes
Params
final
def
set
[
T
]
(
param:
Param
[
T
]
,
value:
T
)
:
ParamsAndFeaturesWritable
.this.type
Definition Classes
Params
def
setDefault
[
T
]
(
feature:
StructFeature
[
T
]
,
value: () ⇒
T
)
:
ParamsAndFeaturesWritable
.this.type
Attributes
protected
Definition Classes
HasFeatures
def
setDefault
[
K
,
V
]
(
feature:
MapFeature
[
K
,
V
]
,
value: () ⇒
Map
[
K
,
V
]
)
:
ParamsAndFeaturesWritable
.this.type
Attributes
protected
Definition Classes
HasFeatures
def
setDefault
[
T
]
(
feature:
SetFeature
[
T
]
,
value: () ⇒
Set
[
T
]
)
:
ParamsAndFeaturesWritable
.this.type
Attributes
protected
Definition Classes
HasFeatures
def
setDefault
[
T
]
(
feature:
ArrayFeature
[
T
]
,
value: () ⇒
Array
[
T
]
)
:
ParamsAndFeaturesWritable
.this.type
Attributes
protected
Definition Classes
HasFeatures
final
def
setDefault
(
paramPairs:
ParamPair
[_]*
)
:
ParamsAndFeaturesWritable
.this.type
Attributes
protected
Definition Classes
Params
final
def
setDefault
[
T
]
(
param:
Param
[
T
]
,
value:
T
)
:
ParamsAndFeaturesWritable
.this.type
Attributes
protected
Definition Classes
Params
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
Identifiable → 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
(
...
)
def
write
:
MLWriter
Definition Classes
ParamsAndFeaturesWritable
→ DefaultParamsWritable → MLWritable
Inherited from
HasFeatures
Inherited from
Params
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Identifiable
Inherited from
DefaultParamsWritable
Inherited from
MLWritable
Inherited from
AnyRef
Inherited from
Any
Ungrouped