Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Stochasta::GMM::Component
Inherits
Reference
<
Object
Constructors
new
(weight :
Float64
, mean :
Array
(
Float64
), variance :
Array
(
Float64
))
Source
Instance methods
mean
Source
mean=
(mean :
Array
(
Float64
))
Source
pdf
(x :
Array
(
Float64
)) :
Float64
Computes the probability density function for a given point
Source
variance
Source
variance=
(variance :
Array
(
Float64
))
Source
weight
Source
weight=
(weight :
Float64
)
Source