Skip to content

Commit

Permalink
v2023.9.25
Browse files Browse the repository at this point in the history
2023.9.25 - Added AggregateNetwork class, evenness/entropy calculations, and .mad for median absolute devation to Symmetry.
  • Loading branch information
jolespin committed Sep 26, 2023
1 parent 6066744 commit 0bef277
Show file tree
Hide file tree
Showing 4 changed files with 799 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@


#### Completed:

* 2023.9.25 - Added `AggregateNetwork` class, `evenness/entropy` calculations, and `.mad` for median absolute devation to `Symmetry`.
* 2023.9.5 - Changed `method="biweight_midcorrelation"` to `method="bicor"`. Changed default method to `pearson` instead of `rho` to generalize (though, please use `rho`, `phi`, or `pcorr_bshrink` for compositional data). Added `partial_correlation_with_basis_shrinkage` support from `comositional` package using `method="pcorr_bshrink"` to use similar terminology with `Propr` and `ppcorr` R packages.
* 2023.8.15 - Added `ClusteredNetwork` for wrapper around `community_detection` and `edge_cluster_cooccurrence` (formerly known as `cluster_homogeneity`).
* 2023.8.14 - Changed `dense` to `redundant` to be more consistent with `scikit-bio`. Added `confidence_interval` to ensemble networks. Changed default metrics to `np.median` and `stats.median_abs_deviation`. Changed default `sampling_size` from `0.618...` to `1.0` and `with_replacement=False` to `with_replacement=True`.
Expand All @@ -18,4 +20,5 @@

#### Pending:
* Move arguments in `.fit` to `__init__` to better reflect usage in `scikit-learn`.
* Since iGraph is a dependency, just make code cleaner without the workarounds for not having it as a dependency
* Since iGraph is a dependency, just make code cleaner without the workarounds for not having it as a dependency
* Use `edge_weights_` and `node_weights_` in `Symmetric` objects like with `AggregateNetworks`? Are `Symmetric` objects immutable? Don't want node connectivity to be calclulated, the underlying network modified, and then will be inaccurate.
5 changes: 4 additions & 1 deletion ensemble_networkx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# =======
# Version
# =======
__version__= "2023.9.5"
__version__= "2023.9.25"
__author__ = "Josh L. Espinoza"
__email__ = "[email protected], [email protected]"
__url__ = "https://github.com/jolespin/ensemble_networkx"
Expand All @@ -27,6 +27,8 @@
"density",
"centralization",
"heterogeneity",
"entropy",
"evenness",
"topological_overlap_measure",
"community_detection",
"edge_cluster_cooccurrence",
Expand All @@ -38,6 +40,7 @@
'CategoricalEngineeredFeature',
'Symmetric',
"ClusteredNetwork",
"AggregateNetwork",
# "Network",
]

Expand Down
Loading

0 comments on commit 0bef277

Please sign in to comment.