segmentation_clustering: log distribution of snapshot durations
This commit is contained in:
parent
73abb61967
commit
29b24b1b41
@ -3481,6 +3481,7 @@ def apply_time_segmentation(
|
|||||||
sn_weightings = pd.Series(
|
sn_weightings = pd.Series(
|
||||||
weightings, index=snapshots, name="weightings", dtype="float64"
|
weightings, index=snapshots, name="weightings", dtype="float64"
|
||||||
)
|
)
|
||||||
|
logger.info("Distribution of snapshot durations:\n", weightings.value_counts())
|
||||||
|
|
||||||
n.set_snapshots(sn_weightings.index)
|
n.set_snapshots(sn_weightings.index)
|
||||||
n.snapshot_weightings = n.snapshot_weightings.mul(sn_weightings, axis=0)
|
n.snapshot_weightings = n.snapshot_weightings.mul(sn_weightings, axis=0)
|
||||||
|
Loading…
Reference in New Issue
Block a user