Normalize

Returns the normalized value of the data expression (specified PetroVisor signal) using specified method.

Syntax

Normalize(method, expression)
  • method: normalization method
    • Feature scaling - this is the Min-Max Feature Scaling
    • Student's t-statistic
    • Standard score
  • expression: signal or data expression

Example

Normalize(“Feature scaling”, “oil production rate” in “m3/h”)

Returns the normalized value of the data expression (specified PetroVisor signal) for current entity or all entities in current entity set using specified normalizeMethod.

Supported methods:

  • 'Feature scaling' (value - min) / (max - min)
  • 'Student’s t-statistic' (value - mean) / st.dev
  • 'Standard score' (value - mean) / pop.st.dev

Syntax

Normalize(string normalizeMethod, numericExpression, string normalizeEntityOption)

Examples

Normalize("Feature scaling", "oil production rate" in "m3/h", "Current") 

Normalize("Feature scaling", "oil production rate" in "m3/h", "EntitySet")

Returns the normalized value of the two data expressions (two specified PetroVisor signals) for current entity or all entities in current entity set using specified normalizeMethod.

Supported methods:

  • 'Feature scaling' (value - min) / (max - min)
  • 'Student’s t-statistic' (value - mean) / st.dev
  • 'Standard score' (value - mean) / pop.st.dev

Syntax

Normalize(string normalizeMethod, numericExpression1, 
numericExpression2, string normalizeEntityOption)

Example

Normalize("Feature scaling", "oil production rate" in "m3/h", 
"water production rate" in "m3/h", "Current")

Normalize("Feature scaling", "oil production rate" in "m3/h",
"water production rate" in "m3/h", "EntitySet")