You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Weichen Xu (Jira)" <ji...@apache.org> on 2022/04/28 14:23:00 UTC
[jira] [Created] (SPARK-39058) Add `getInputSignature` and `getOutputSignature` APIs for spark ML models/transformers
Weichen Xu created SPARK-39058:
----------------------------------
Summary: Add `getInputSignature` and `getOutputSignature` APIs for spark ML models/transformers
Key: SPARK-39058
URL: https://issues.apache.org/jira/browse/SPARK-39058
Project: Spark
Issue Type: New Feature
Components: ML
Affects Versions: 3.4.0
Reporter: Weichen Xu
Add `getInputSignature` and `getOutputSignature` APIs for spark ML models/transformers:
The `getInputSignature` API return a list of column name and type which represent the ML model / transformer's input columns.
The `getOutputSignature` API return a list of column column name and type which represent the ML model / transformer's output columns.
These 2 APIs are useful to in third-party library such as mlflow, which requires the information of input / output signature of the Model.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org