Fork me on GitHub

percent

Normalizes the values of a JSON object

The percent transform allows you to get the percentage contribution of each element in an object. Suppose you have the following:

[{
    "a": 2,
    "b": 5,
    "c": 1,
    "d": 2
}]

The percent transform will return:

[{
    "a": .2,
    "b": .5,
    "c": .1,
    "d": .2
}]

This allows you to quickly normalize a JSON object’s values.


Transform Details

One-To-OneStatelessPeekInput SchemaOutput Schema
TrueTrueFalse

This Site

Contribute

ConnectorDB is a very new open-source project. If you are a designer/developer or ML enthusiast, head on over to the connectordb github, where you can choose which part of ConnectorDB you want to contribute towards! Pull requests or bug reports are welcome!