You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now we're using a frequency prop which you'd still have to do the math to make sure that each TREE with that layer number adds up to 1.0. Petr and I had this exchange:
I'd like to know a little more about what you meant by "weighted importance".
If you have Trees A, B, C, D and they should ultimately have the frequencies (not that you would normally hand calculate this)
[.5, .25, .125, .125]
What values would you put in the UI for each tree?
tree_freq = (tree_weight / sum_of_all_weights) * 100
So for your example I can use weights like:
2, 1, 0.5, 0.5
or
4, 2, 1, 1
Seems fine enough! Though I'd like to stick to ints.
Replace frequency prop with Weighted Importance prop
Unit test showing that weights are properly used and all frequencies - per layer number (we'll have multiple layer numbers) add up to 100
Code for importance feature
The text was updated successfully, but these errors were encountered:
Right now we're using a
frequency prop
which you'd still have to do the math to make sure that each TREE with that layer number adds up to1.0
. Petr and I had this exchange:Seems fine enough! Though I'd like to stick to ints.
Weighted Importance
propThe text was updated successfully, but these errors were encountered: