@@ -984,6 +984,38 @@ def score_model_with_cas(
984984 timeout : int = 300 ,
985985 input_mapping : dict = None ,
986986):
987+ """Runs a score test on the specified model.
988+
989+ Parameters
990+ --------
991+ score_def_name: str
992+ Name of score definition.
993+ model : str or dict
994+ The name or id of the model, or a dictionary representation of the model.
995+ table_name: str
996+ A user-inputted table name in CAS Management.
997+ table_file: str or Path, optional
998+ A user-provided path to an uploadable file. Defaults to None.
999+ description: str, optional
1000+ Description of score definition. Defaults to an empty string.
1001+ server_name: str, optional
1002+ The server within CAS that the table is in. Defaults to "cas-shared-default".
1003+ library_name: str, optional
1004+ The library within the CAS server the table exists in. Defaults to "Public".
1005+ model_version: str, optional
1006+ The user-chosen version of the model. Defaults to "latest".
1007+ use_cas_gateway: bool, optional
1008+ Determines if scoring uses CAS Gateway.
1009+ timeout: int, optional
1010+ The maximum time in seconds to wait for the score execution to complete. Defaults to 300.
1011+ input_mapping: dict, optional
1012+ A dictionary mapping variables from the data table to the variables in the model if they are different. Defaults to None.
1013+
1014+ Returns
1015+ -------
1016+ pandas.DataFrame
1017+
1018+ """
9871019 score_definition = sd .create_score_definition (
9881020 score_def_name ,
9891021 model ,
0 commit comments