public TrainOneModelAndFailDuringTheTrainingFixture(OsdrTestHarness harness)
 {
     FolderId = harness.TrainModel(harness.JohnId.ToString(), "drugbank_10_records.sdf", new Dictionary <string, object>()
     {
         { "parentId", harness.JohnId }, { "case", "train one model and fail during the training" }
     }).Result;
 }
示例#2
0
 public TrainOneValidModelFixture(OsdrTestHarness harness)
 {
     FolderId = harness.TrainModel(harness.JohnId.ToString(), "combined lysomotrophic.sdf", new Dictionary <string, object>()
     {
         { "parentId", harness.JohnId }, { "case", "valid one model" }
     }).Result;
 }
 public TrainOneValidModelWithFailedOptimizationFixture(OsdrTestHarness harness)
 {
     FolderId = harness.TrainModel(harness.JohnId.ToString(), "combined lysomotrophic.sdf", new Dictionary <string, object>()
     {
         { "parentId", harness.JohnId }, { "case", "train model with failed optimization" }
     }).Result;
 }
示例#4
0
 public TrainOneModelAndFailBeforeTrainingFixture(OsdrTestHarness harness)
 {
     FolderId = harness.TrainModel(harness.JohnId.ToString(), "drugbank_10_records.sdf", new Dictionary <string, object>()
     {
         { "parentId", harness.JohnId }, { "case", "fail before starting training" }
     }).Result;
 }
        public TrainOneValidModelFixture(OsdrTestHarness harness)
        {
            //SourceBlobId = harness.JohnBlobStorageClient.AddResource(harness.JohnId.ToString(), "combined lysomotrophic.sdf", new Dictionary<string, object>() { { "parentId", harness.JohnId }, { "case", "valid one model" } }).Result;

            //harness.WaitWhileRecordsFileProcessed(SourceBlobId);

            FolderId = harness.TrainModel(harness.JohnId.ToString(), "combined lysomotrophic.sdf", new Dictionary <string, object>()
            {
                { "parentId", harness.JohnId }, { "case", "valid one model" }
            }).Result;
        }