{"api_version":2,"name":"piflow_scope_normalization","version":"1.0","role":"transform","type":"sdk","description":"Linearly map the observed minimum and maximum to a user-specified range. Constant values map to null.","icon":{"path":"M3 5h18v14H3zM3 10h18M9 5v14"},"inputs":{"source":{"representations":["records"],"formats":[]}},"outputs":{"result":{"view":"records"}},"parameters":{"type":"object","properties":{"inputCol":{"type":"string","description":"Name of the numeric input column.","minLength":1},"outputCol":{"type":"string","description":"Name of the numeric result column.","minLength":1},"range":{"type":"array","description":"Lower and upper bounds, in that order.","minItems":2,"maxItems":2,"items":{"type":"number"}}},"required":["inputCol","outputCol","range"],"additionalProperties":false},"documentation":{"inputs":{"source":"Arrow records. The example uses value."},"outputs":{"result":"Records stream. Linearly map the observed minimum and maximum to a user-specified range. Constant values map to null."},"parameters":{"inputCol":{"description":"Name of the numeric input column.","help":"Name of the numeric input column.","example":"value"},"outputCol":{"description":"Name of the numeric result column.","help":"Name of the numeric result column.","example":"scaled"},"range":{"description":"Lower and upper bounds, in that order.","help":"Lower and upper bounds, in that order.","example":[10,20]}},"example_job":"name: Range normalization\nsteps:\n- id: read\n  operator: item_source@1.0\n  inputs: {}\n  params:\n    uri: context:/piflow/example.jsonl\n    view: records\n- id: process\n  operator: piflow_scope_normalization@1.0\n  inputs:\n    source: read\n  params:\n    inputCol: value\n    outputCol: scaled\n    range:\n    - 10\n    - 20\n- id: receive\n  operator: client_sink@1.0\n  inputs:\n    result: process\n"},"runtime":{"image":"sha256:40db7fee594f1452790d1cc99c2e5429e187eb64633c716b8c6f903c47576975","archive":{"sha256":"e1844833e35390f2eaf9fc9ec7b67057ad0305ad713c0da6c8b055980a66946c","size":73825792,"filename":"python-arrow-2.0-runtime.tar"}},"execution":{"executor":"python","entrypoint":"xstream_piflow_scope_normalization","config":{}},"source_public":true,"provenance":{"license":"Apache-2.0","source_repository":"https://github.com/cas-bigdatalab/piflow","source_revision":"777361c4e72b2c5457479683916b7c8e635289ff","build_instructions":"Build the Python SDK adapter in src/ with python-arrow@2.0. See job.yaml for an example using the supplied fixtures.","source_archive":{"sha256":"a5242cf473572f0b2a53e47880637c77d8b19835d0917ce68d1ef5c282ad2fd8","size":11475,"filename":"piflow_scope_normalization-sources.zip"},"license_file":{"sha256":"c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4","size":11357,"filename":"LICENSE.txt"}},"artifact":{"sha256":"8d02ffbb8766ac8c0fdc92c6a8a0d7f33c726cf20929d5baa8321437d118c009","size":12956,"filename":"operator.zip"},"categories":["PiFlow","Statistics"],"trust":{"score":4,"assessed_by":"administrator","reviewed_at_ms":1795079325533},"publication":{"author":"dacp-examples","submitted_at_ms":1795079319451,"approved_at_ms":1795079325533,"last_submitted_at_ms":1795079319451,"last_approved_at_ms":1795079325533},"download_count":4}