def __init__(self, namespace="ML", class_name="Model", indent=4, function_name="Score", *args, **kwargs): self.namespace = namespace self.class_name = class_name self.indent = indent self.function_name = function_name cg = CSharpCodeGenerator(indent=indent) super().__init__(cg, *args, **kwargs)
def __init__(self, namespace="ML", class_name="Model", indent=4, *args, **kwargs): self.namespace = namespace self.class_name = class_name self.indent = indent cg = CSharpCodeGenerator(indent=indent) super(CSharpInterpreter, self).__init__(cg, *args, **kwargs)
def create_code_generator(self): return CSharpCodeGenerator(self.indent)