keystoneml
.
nodes
.
learning
PerClassWeightedLeastSquaresEstimator
object
PerClassWeightedLeastSquaresEstimator
extends
Logging
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Logging
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
PerClassWeightedLeastSquaresEstimator
Serializable
Serializable
Logging
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
computeJointFeatureMean
(
features:
RDD
[
DenseVector
[
Double
]]
,
labels:
RDD
[
DenseVector
[
Double
]]
,
popFeatureMean:
DenseVector
[
Double
]
,
mixtureWeight:
Double
,
numExamples:
Long
,
numFeatures:
Int
,
numClasses:
Int
)
: (
RDD
[(
Int
,
DenseVector
[
Double
])],
Array
[
Int
])
def
computeJointLabelMean
(
classCounts:
Array
[
Int
]
,
mixtureWeight:
Double
,
numExamples:
Long
)
:
DenseVector
[
Double
]
def
computeWeights
(
labels:
RDD
[
DenseVector
[
Double
]]
,
numExamples:
Long
,
mixtureWeight:
Double
,
classCounts:
Array
[
Int
]
)
:
RDD
[
DenseVector
[
Double
]]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
log
:
Logger
Attributes
protected
Definition Classes
Logging
def
logDebug
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logDebug
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logError
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logError
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logInfo
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logInfo
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logTrace
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logTrace
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logWarning
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logWarning
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
trainSingleClassWeightedLS
(
blockSize:
Int
,
numBlocks:
Int
,
numIter:
Int
,
lambda:
Double
,
numFeatures:
Int
,
trainingFeatureBlocks:
Seq
[
RDD
[
DenseVector
[
Double
]]]
,
classLabelsZm:
RDD
[
Double
]
,
classWeights:
RDD
[
Double
]
,
classMean:
DenseVector
[
Double
]
)
:
Seq
[
DenseVector
[
Double
]]
def
trainWithL2
(
trainingFeatures:
RDD
[
DenseVector
[
Double
]]
,
trainingLabels:
RDD
[
DenseVector
[
Double
]]
,
blockSize:
Int
,
numIter:
Int
,
lambda:
Double
,
mixtureWeight:
Double
,
numFeaturesOpt:
Option
[
Int
]
)
:
BlockLinearMapper
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
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Logging
Inherited from
AnyRef
Inherited from
Any
Ungrouped