Beispiel #1
0
 /// <summary>
 /// Create a Deepnet.
 /// </summary>
 /// <param name="dataset">A DataSet instance</param>
 /// <param name="name">The name you want to give to the new deepnet.</param>
 /// <param name="arguments">Other extra parameters.</param>
 public Task <Deepnet> CreateDeepnet(DataSet dataset, string name = null,
                                     Deepnet.Arguments arguments  = null)
 {
     arguments = arguments ?? new Deepnet.Arguments();
     if (!string.IsNullOrWhiteSpace(name))
     {
         arguments.Name = name;
     }
     arguments.DataSet = dataset.Resource;
     return(Create <Deepnet>(arguments));
 }
Beispiel #2
0
 /// <summary>
 /// Create a deepnet using supplied arguments.
 /// </summary>
 public Task <Deepnet> CreateDeepnet(Deepnet.Arguments arguments)
 {
     return(Create <Deepnet>(arguments));
 }