A script is compiled source code written in WhizzML, BigML's custom scripting language for automating Machine Learning workflows. Once a script has been created and compiled, it can be used as an input for an execution resource. The complete and updated reference with all available parameters is in our documentation website.
Inheritance: Response
 /// <summary>
 /// Create a dataset.
 /// </summary>
 /// <param name="sourceCode">The source from which you want to generate a dataset.</param>
 /// <param name="name">The optional name you want to give to the new dataset. </param>
 public Task<Script> CreateScript(string sourceCode, string name = null, Script.Arguments arguments = null)
 {
     arguments = arguments ?? new Script.Arguments();
     if (!string.IsNullOrWhiteSpace(name)) arguments.Name = name;
     arguments.SourceCode = sourceCode;
     return Create<Script>(arguments);
 }
 /// <summary>
 /// Create a dataset.
 /// </summary>
 /// <param name="script">The source from which you want to generate a dataset.</param>
 /// <param name="name">The optional name you want to give to the new dataset. </param>
 public Task<Execution> CreateExecution(Script script, string name = null, Execution.Arguments arguments = null)
 {
     arguments = arguments ?? new Execution.Arguments();
     if (!string.IsNullOrWhiteSpace(name)) arguments.Name = name;
     arguments.Script = script;
     return Create<Execution>(arguments);
 }
 /// <summary>
 ///  Create a whizzml script using the supplied arguments.
 /// </summary>
 public Task<Script> CreateScript(Script.Arguments arguments)
 {
     return Create<Script>(arguments);
 }