Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | ncol | ||||
integer, | public | :: | nrow | ||||
integer, | public | :: | npc | ||||
character(len=:), | public, | allocatable | :: | method | |||
real(kind=rk), | public, | dimension(:,:), allocatable | :: | matrix | |||
real(kind=rk), | public, | dimension(:,:), allocatable | :: | coeff | |||
real(kind=rk), | public, | dimension(:,:), allocatable | :: | score | |||
real(kind=rk), | public, | dimension(:,:), allocatable | :: | matrix_app | |||
real(kind=rk), | public, | dimension(:,:), allocatable | :: | mean_data | |||
real(kind=rk), | public, | dimension(:), allocatable | :: | latent | |||
real(kind=rk), | public, | dimension(:), allocatable | :: | explained_variance |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(tpca), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in), | dimension(:,:) | :: | matrix | ||
integer, | intent(in), | optional | :: | npc | ||
character(len=*), | intent(in), | optional | :: | method |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(tpca), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(tpca), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(tpca), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(tpca), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(tpca), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in), | dimension(:,:) | :: | matrix | ||
integer, | intent(in), | optional | :: | npc | ||
character(len=*), | intent(in), | optional | :: | method | ||
real(kind=rk), | intent(out), | dimension(:,:), allocatable | :: | coeff | ||
real(kind=rk), | intent(out), | optional, | dimension(:,:), allocatable | :: | score | |
real(kind=rk), | intent(out), | optional, | dimension(:), allocatable | :: | latent | |
real(kind=rk), | intent(out), | optional, | dimension(:), allocatable | :: | explained | |
real(kind=rk), | intent(out), | optional, | dimension(:,:), allocatable | :: | matrix_app |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(tpca), | intent(inout) | :: | this |
type tpca integer :: ncol, nrow, npc character(:), allocatable :: method real(rk), dimension(:,:), allocatable :: matrix real(rk), dimension(:,:), allocatable :: coeff real(rk), dimension(:,:), allocatable :: score real(rk), dimension(:,:), allocatable :: matrix_app real(rk), dimension(:,:), allocatable :: mean_data real(rk), dimension(:), allocatable :: latent real(rk), dimension(:), allocatable :: explained_variance contains procedure :: initialize procedure :: compute_coeff procedure :: compute_score procedure :: reconstruct_data procedure :: cmp_explained_variance procedure :: pca procedure :: finalize => deallocate_tpca end type tpca