You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement the Mahalanobis Distance (MD) as an internal metric. As MD is a distance measure, it could be used in different ways: measuring the distance of the trajectories to their most likely cluster trajectory, or measuring the distances between cluster trajectories.
Variations:
MD: Mean distance of trajectories to their most likely cluster, the default approach. Applicable to any method with an implementation of clusterTrajectories().
[ ] MD.fitted: Mean distance of the fitted trajectories to their most likely cluster. Not applicable to many methods (e.g., KmL), as this would always be zero. On second thought, this cannot be computed for most models as the covariance matrix will be singular because of the similarity between fitted trajectories under a parametric model.
MD.cluster: Mean distance between cluster trajectories. This provides useful insights into how far clusters are removed from each other. This is commonly used in the two-cluster case.
The text was updated successfully, but these errors were encountered:
as you mention that i try toy experiments but i got
"Error in distance(x, clustersCenter[1, ]) : unused arguments (x, clustersCenter[1, ]): " message can i ask what is worng with my code?
and also i want to use correlation distance too. but it cannot be possible now.
is there any comments and possible way?
i really want to know your answer or feedback.
I look forward to hearing from you.
Implement the Mahalanobis Distance (MD) as an internal metric. As MD is a distance measure, it could be used in different ways: measuring the distance of the trajectories to their most likely cluster trajectory, or measuring the distances between cluster trajectories.
Variations:
clusterTrajectories()
.[ ] MD.fitted: Mean distance of the fitted trajectories to their most likely cluster. Not applicable to many methods (e.g., KmL), as this would always be zero. On second thought, this cannot be computed for most models as the covariance matrix will be singular because of the similarity between fitted trajectories under a parametric model.The text was updated successfully, but these errors were encountered: