NEWS


mixvlmc 0.2.1.9000

Breaking changes

New features

Discrete time series class (dts)

In order to ease the introduction of multiple time series support, a single discrete time series can now be represented by the dts class, via the dts() function (see issue #76). All functions that use discrete time series now accept objects of this class in addition to simple vectors of a supported type (integer, factor, character and logical). This applies to model estimation functions such as vlmc() or covlmc(), to model selection functions (e.g. tune_vlmc) but also to functions that use new data such loglikelihood() and predict.vlmc().

Model representation (with draw())

A major change of draw() is the support of multiple output formats. This is done via a format parameter. It supports currently:

In addition, text based model representation has been improved (as per issue #66) as follows:

mixvlmc 0.2.1 (2023-10-31)

This release has no visible changes and fixes internal issues:

mixvlmc 0.2.0 (2023-10-28)

Breaking changes

New features

C++ backend

The main major new feature of this version is the inclusion of a C++ implementation of context tree and VLMC construction. A new option mixvlmc.backend can be used to switch globally from the original "R" implementation to the new "C++" back end. A new backend parameter has been added to ctx_tree(), vlmc() and tune_vlmc() to enable local back end selection.

The C++ implementation is significantly faster than the R implementation, at least by a factor 10. While it has been thoroughly tested, it is still considered experimental notably because it does not apply to COVLMC (setting the global option to "C++" has not effect on COVLMC model construction). For context trees and VLMC, results should not depend on the back end, at least within numerical precision. The only notable difference is the ordering of the contexts which differs between back ends: in a call to contexts(), the first context for the R back end will generally not be the first context for the C++ back end.

Other new features

Minor improvements and bug fixes

mixvlmc 0.1.1 (2023-07-10)

mixvlmc 0.1.0