Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | public | :: | initialized | = | .false. | ||
integer, | public | :: | ndims | ||||
integer, | public | :: | nclusters | ||||
integer, | public | :: | maxiters | ||||
logical, | public | :: | centroids_set | ||||
integer, | public, | allocatable | :: | prevClusters(:) | |||
integer, | public, | allocatable | :: | clusters(:) | |||
real(kind=RP), | public, | allocatable | :: | centroids(:,:) |
final :: kMeans_final |
procedure, public :: init => kMeans_init | |
procedure, public :: fit => kMeans_fit | |
procedure, public :: predict => kMeans_predict |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | public | :: | initialized | = | .false. | ||
logical, | public | :: | with_kmeans | ||||
integer, | public | :: | ndims | ||||
integer, | public | :: | nclusters | ||||
integer, | public | :: | max_nclusters | ||||
integer, | public | :: | maxiters | ||||
real(kind=RP), | public | :: | mutol | ||||
real(kind=RP), | public | :: | lltol | ||||
real(kind=RP), | public | :: | zerotol | ||||
real(kind=RP), | public | :: | logL | ||||
real(kind=RP), | public, | allocatable | :: | prob(:,:) | |||
real(kind=RP), | public, | pointer, contiguous | :: | centroids(:,:) | |||
type(GaussianList_t), | public | :: | g | ||||
type(kMeans_t), | public | :: | kmeans |
final :: GMM_final |
procedure, public :: init => GMM_init | |
procedure, public :: fit => GMM_fit | |
procedure, public :: predict => GMM_predict |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=RP), | intent(inout) | :: | x(:,:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=RP), | intent(inout) | :: | x(:,:) | |||
real(kind=RP), | intent(in), | optional | :: | s | ||
real(kind=RP), | intent(in), | optional | :: | o |