Releases: cdt15/lingam
Releases · cdt15/lingam
v1.9.0
New Features
- Added option
measure=pwling_fast
to accelerate DirectLiNGAM by parallelizing causal order on GPU with CUDA. - Added
tools.bootstrap_with_imputation
function to interpolate missing data by Multiple Imputation Method and perform causal discovery by bootstrap method for datasets containing missing value. - Added
HighDimDirectLiNGAM
class, a DirectLiNGAM algorithm suitable for high-dimensional data.
Code Fixes
v1.8.3
New Features
- Added
utils.evaluate_model_fit
function to calculate fit indices. - Added
ind_corr
option to use F-correlation to determine independence inBottomUpParceLiNGAM
,RCD
,MultiGroupRCD
, andCAMUV
algorithms. - Added
utils.calculate_distance_from_root_nodes
function to calculate the shortest distance from the root variable to other variables based on the structure of causal graphs. - Added
utils.calculate_total_effect
function to calculate causal effects based on the structure of causal graphs.
Code Fixes
v1.8.2
New Features
- Added
LiNA
andMDLiNA
algorithm.
Code Fixes
- Fixed standardization in
lingam.utils.predict_adaptive_lasso
function withoutnormalize
option insklearn.linear_model.LassoLarsIC
. - Changed to use
lingam.utils.predict_adaptive_lasso
function inVARLiNGAM
andVARMALiNGAM
. - Changed
prune
option to True by default inVARLiNGAM
andVARMALiNGAM
. Additionally, changed the description that this option is for the causal effect of lag.
v1.8.1
New Features
- Added
utils.f_correlation
function to calculate F-correlation. - Added
utils.visualize_nonlinear_causal_effect
function to plot nonlinear causal effects. - Added an option for
LiM
to perform the local search or not. - Added
resampled_indices_
property toBootstrapResult
.
Code Fixes
- Fixed a bug that labels specified in the
utlis.make_dot_highlight
function were not reflected in graphs. - Modified
MultiGroupDirectLiNGAM
algorithm to allow specifying datasets of different sizes. - Removed
LiNA
andMDLiNA
algorithm from this package. Independent as a new lina package. https://github.com/cdt15/lina
Installation
- Changed supported Python version to 3.8 or higher.
- Eliminated the fixed numpy version.
v1.8.0
New Features
- Added
MultiGroupRCD
algorithm, RCD for multiple datasets. - Add
extract_ancestors
method tolingam.utils
. - Modified
hsic.py
to speed up independence test HSIC. - Added to
utils.make_dot
the ability to highlight paths between variables in a causal graph. - Added
utils.make_dot_hightlight
method to highlight ancestors and descendants of a specified variable in a causal graph.
Experimental features
- Added
CausalDataGenerator
tool to lingam.experimental.
Code Fixes
- Fixed VAR trend argument used in
VARLiNGAM
(#86)
Documentation
- Minor text correction on causal_effect.rst
v1.7.1
v1.7.0
v1.6.0
New Features
- Added
LiNA
andMDLiNA
algorithm - Added
RESIT
algorithm
v1.5.5
New Features
- Added
get_paths
method to the result of bootstrapping that searches all paths between specified variables and outputs the bootstrap probability for each path inVARLiNGAM
,VARMALiNGAM
andLongitudinalLiNGAM
Code Fixes
- Changed the timing for creating the partial orders when applying prior knowledge in
DirectLiNGAM
- Fixed that prior knowledge is not applied when there are duplicate no_paths (#34)
v1.5.4
New Features
- Added
get_paths
method toBootstrapResult
that searches all paths between specified variables and outputs the bootstrap probability for each path inICALiNGAM
,DirectLiNGAM
,MultiGroupDirectLiNGAM
,BottomUpParceLiNGAM
andRCD