When creating artificial experimental X-ray profile in the example notebooks, we select a particular level of the tree and then assign weights to the nodes. For instance, for file hiAPP_clustering.ipynb we have in cell 13:
weights = [0.00, 0.13, 0.0, 0.55, 0.0, 0.32, 0.00] # the weights add up to one
When creating artificial experimental X-ray profile in the example notebooks, we select a particular level of the tree and then assign weights to the nodes. For instance, for file
hiAPP_clustering.ipynb
we have in cell 13:weights = [0.00, 0.13, 0.0, 0.55, 0.0, 0.32, 0.00] # the weights add up to one
Then in after executing cell 18 we obtain
Containing three nodes with non-zero weigths, as expected.
If instead we use
weights = [0.00, 0.13, 0.0, 0.55, 0.0, 0.00, 0.32] # the weights add up to one
The we obtain
There's no node with weight 32 ! This happens allways when we assign a non-zero weight to the last item of list
weights
.