(self, s_X)
return result
Used internally by Lale for type-checking downstream operators.
Used internally by Lale for type-checking downstream operators.
Used internally by Lale for type - checking downstream operators .
def transform_schema(self, s_X):
        """Used internally by Lale for type-checking downstream operators."""
        if self._hyperparams["activate_flag"]:
            result = {
                "type": "array",
                "items": {"type": "array", "items": {"type": "number"}},
            }
        else:
            result = s_X
        return result
def transform_schema ( self , s_X ) : if self . _hyperparams [ "activate_flag" ] : result = { "type" : "array" , "items" : { "type" : "array" , "items" : { "type" : "number" } } , } else : result = s_X return result