If you are viewing this file as part of a released version of
the package, the latest news can be found on
GitHub.
latrend v1.5.1
- Resolved CRAN errors and warnings
- Alternative implementation of ASW and Dunn index due to removal of
clusterCrit package from CRAN (#131, #132)
- New PAP.adh dataset (#130)
- Added support to lcmm methods for (parallel) gridsearch (#126)
- More robust implementation of meta methods, allowing argument
pass-through (#128)
- Improved package documentation (#127)
latrend v1.5.0
New features
- Implemented virtual class for meta methods (#61)
- Implemented a meta method for repeatedly fitting a method and
selecting the best fit (see
lcFitRep
,
lcFitRepMin
, lcFitRepMax
) (#61)
- Implemented a meta method for repeatedly fitting a method until
convergence (see
lcFitConverged
) (#61)
Major changes
- Made
getLcMethod()
generic
Other changes
- Added check for formula argument to LMKM method
- Added “converged” slot to lcModelPartition
- Generic validate() checks for correct output length
- Added workaround for erroneous R CMD check rmarkdown import
note
latrend v1.4.3
- Removed usage of soon-to-be deprecated ggplot functions
latrend v1.4.2
Bug fixes
- Fixed minor bug in
evaluate.lcMethod()
CRAN
- Resolved lcmm test error
- Shortened runtime of vignettes
- Shortened runtime of tests
latrend v1.4.1
Bug fixes
- Fixed bug in
predict.lcModel()
introduced by #116
- Attempt to fix the documentation warning about how the escaped
ampersand is not escaped
Breaking changes
- Default initialization of
lcMethodLcmmGMM
and
lcMethodLcmmGBTM
is set to init = "lme"
to
support lcmm v2.0.0 #121
latrend v1.4.0
New features
- Added RMSE and WRMSE metrics
plotMetric()
now shows legend when grouping
externalMetric(lcModels)
returns a named distance
matrix
Bug fixes
- Improved kml package compatibility; fixed errors on datasets with
variable-length short trajectories
- Resolved warnings from
latrendBoot()
and
latrendCV()
Breaking changes
- Removed redundant
lcModelCustom
in favor of
lcModelPartition
- Renamed
lcMethodCustom
to lcMethodFunction
for clarity
latrend v1.3.0
New features
- Parameterized method testing framework for
lcMethod
and
lcModel
implementations. See
test.latrend()
.
- Warnings for missing data observations
- Better handling of data with missing observations
Breaking changes
- Removed support for the
longclust
package as it is no
longer available on CRAN.
Other changes
- Updated examples, vignettes and tests to pass with
_R_CHECK_DEPENDS_ONLY_ = true
.
latrend v1.2.1
- Fewer required imports
- Reduced test and example time
- Documentation of metrics and external metrics
- Enabled renv for CI
New features
- Greatly expanded documentation of
lcMethod
,
lcModel
, transformFitted()
, and
transformPredict()
.
latrendBatch()
evaluates and validates methods and
datasets prior to any fitting (#49).
This informs users of any errors as soon as possible. Moreover it makes
it significantly easier to run parallel computations without the need to
export parts of the global environment.
- Added
seed
argument to latrendBatch()
(#47).
Similar to latrendRep()
, seeds are now generated for all
methods, allowing for reproducible results.
latrendBatch()
now supports an expression for its
"data"
argument (#50).
- Variable argument pass-through for
lcModel
methods.
- Default implementation for
predictForCluster()
.
- Added timing information to log output of
latrend*()
methods (#51).
- Added
"unit"
option to
estimationTime()
.
- Implemented
estimationTime()
for
lcModels
.
plot(lcModel)
only shows trajectories when
"what"
argument is not specified.
- Support for
lcModel
objects without training data (#36).
- Made it easier to define new
lcMethod
subclasses by
defining better default methods.
plot()
for lcModels
(#48)
latrend()
and derivative methods automatically suppress
console output when verbose = FALSE
(#45)
- Better automatic axis breaks in metric plots (#44).
trajectoryAssignments()
signature that accepts a
posterior probability matrix (#34)
- Added convenient mixture initialization options to
lcMethodLcmmGBTM
and lcMethodLcmmGMM
based on
standard (single cluster) linear mixed model fit.
lcMethodRandom()
accepts seed
argument.
- Expand trajectory assignment input options for
lcModelPartition
.
- Methods can now be initialized by instantiating the
S4
class using new()
#56, #57.
latrend()
functions accept a character name of the method
class.
- plotClusterTrajectories() to use logic of plotTrajectories() for
showing trajectories #65.
- plotClusterTrajectories() with ribbon for trajectory range #68.
logLik()
for k-means based methods #70.
- Standard (interpolated) non-parametric cluster trajectory estimation
through lcModelPartition and lcModelWeightedPartition #72.
- Option for disabling warning on redefining metrics and external
metrics #75.
- Output warning in default lcModel postprob implementation #78.
- default predictAssignments() returns the assignments of
trajectoryAssignments() when no newdata is specified #79.
- Lowered the number of required dependencies
- Implemented APPA and OCC metrics. #81.
Breaking changes
- Significant:
trajectories()
now returns the original
training data, instead of the fitted (predicted) data (#32).
This was done to improve clarity. Previous uses of
trajectories()
and plotTrajectories()
should
be replaced by fittedTrajectories()
and
plotFittedTrajectories()
, respectively.
- Significant: Reworked
lcMethod
initialization to use
the standard S4
mechanism #56.
- Minor:
lcMethod
implementations:
prepareData()
must now return an environment
(#39).
In the past, NULL
was allowed, but this increased code
complexity further down the process.
- Minor:
estimationTime()
is now an S4 generic method.
This does not affect existing code.
Bug fixes
- Critical: Fixed
predict()
when cluster membership is
specified for the new data (#40).
- Critical: Fixed computation of WMAE and WMSE metrics (#52).
- Fixed
lcMethod
argument evaluation for symbolic name
input that equals the respective argument name (#41).
- Fixed
strip()
error related to use of
eapply()
.
- Fixed output error for
latrendBatch()
when
errorHandling = "pass"
(#46)
- Defined estimation time for
lcModelPartition
and
lcModelWeightedPartition
(#38).
- Fixed default output of
logLik.lcModel
and other
implementations (#37).
- Default
metric()
did not compute any metrics.
- Fixed indentation of messages for
latrend()
and
derivative methods.
- Fixed computation of WMAE and WMSE metrics #52.
- sprintf warning when running latrendBoot() or latrendCV() #53.
- lcMethodLMKM cluster coefficients are wrong when standardization is
enabled #69.
- lcMethodGCKM fails to fit for nClusters = 1 in latrendBatch() #71.
- fittedTrajectories() now uses output of
fitted()
instead of predict()
#82.