Hello
I have a table that contains boolean column (which is extracted by searching for a certain pattern in another string output column, also in the table).
I would like to plot the “accuracy” (i.e positive values would contribute 1 for each row they are true, 1/0 or 1/-1 are also OK for me.)
Is there an option to convert the boolean column to float? i.e do something as
row["bool_column_name"].float()
within wandb, and to get ±1 or 0,1?
Tried to look for the correct weave expression to do that but did not find one
Help would be appreciated
Thanks!
Hi @tankwell! Thank you for writing in!
I will look into this and check internally and will get back to you!
Warmly,
Artsiom
Hi @tankwell! Apologies for the delay in reply. Had to check internally and looked at a couple of workaround, and unfortunately, as of right now, it is not possible to turn a Boolean column into a float column using the weave table. I would love to submit a feature request for you though relating to this thread.
Hi,
For me the easier workaround in the end was to make sure that the logger passes these as floats in the first place.
Thanks!
1 Like
Sweet! Thank you so much for the update. That is indeed a simple workaround.
Let us know if you have any follow up questions regarding this topic.