Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standard (interpolated) non-parametric cluster trajectory estimation through lcModelPartition and lcModelWeightedPartition #72

Closed
niekdt opened this issue Oct 19, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@niekdt
Copy link
Collaborator

niekdt commented Oct 19, 2021

Many methods and models (e.g., lcModelPartition, lcMethodStratify) depend on a non-parametric estimate of the cluster trajectories based on the original data. Having a standard exported method clusterTrajectories() with signature data.frame for computing such cluster trajectories would make it more transparent to users how these centers are generated, and which additional arguments are available (which could be provided through the method specification).
Moreover, it enables users to use the center computation in their own models.

  • Define clusterTrajectories(data.frame, assignments, center = meanNA, at = numeric())
  • Move functionality of computeCenterClusterTrajectories() to clusterTrajectories(data.frame)
  • Update methods and models using any type of center specification
  • Extend clusterTrajectories(data.frame) to interpolate between measurements.
@niekdt niekdt added the enhancement New feature or request label Oct 19, 2021
@niekdt niekdt added this to the 1.2.0 milestone Oct 19, 2021
@niekdt niekdt self-assigned this Oct 19, 2021
@niekdt niekdt changed the title clusterTrajectories() for data.frame Standard (interpolated) non-parametric cluster trajectory estimation through lcModelPartition and lcModelWeightedPartition Oct 20, 2021
@niekdt
Copy link
Collaborator Author

niekdt commented Oct 20, 2021

On second thought, this functionality is better moved to lcModelPartition and lcModelWeightedPartition. Otherwise, the clusterTrajectories(data.frame) function would need two handle two cases:

  1. Hard partition, with a center function that accepts a data vector
  2. Fuzzy partition, with a center function accepting the full data vector along with a weight argument
  • Move hard cluster trajectory computation code inside clusterTrajectories(lcModelPartition)
  • Extend clusterTrajectories(lcModelPartition) to interpolate between measurements.
  • Move fuzzy cluster trajectory computation code inside clusterTrajectories(lcModelWeightedPartition)
  • Extend clusterTrajectories(lcModelWeightedPartition) to interpolate between measurements.
  • Update methods and models using any type of center specification
  • Center specification as a method argument, used by default when calling clusterTrajectories() of the respective model.

niekdt added a commit that referenced this issue Oct 21, 2021
…lWeightedPartition.

Partition models now support interpolation.
Updated two-step and stratify methods to extend lcModelPartition (#72)
niekdt added a commit that referenced this issue Oct 21, 2021
niekdt added a commit that referenced this issue Oct 21, 2021
Refactored non-parametric computation of (weighted) cluster trajectories (#72)
@niekdt niekdt closed this as completed Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant