Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the HyperDriveExperimentBase class.
 /// </summary>
 /// <param name="generatorConfig">Hyperparameter space and the sampling
 /// method configuration.</param>
 /// <param name="name">Name of the Hyperdrive run.</param>
 /// <param name="platformConfig">Platform config object specifying the
 /// run definition structure.</param>
 /// <param name="policyConfig">Early termination policy
 /// configuration.</param>
 /// <param name="primaryMetricConfig">Name of the primary metric and
 /// goal of optimizing.</param>
 /// <param name="description">The description for Hyperdrive
 /// run.</param>
 /// <param name="maxConcurrentJobs">Maximum number of runs to run
 /// concurrently.</param>
 /// <param name="maxDurationMinutes">Maximum duration of the Hyperdrive
 /// run.</param>
 /// <param name="maxTotalJobs">Maximum number of runs.</param>
 /// <param name="studyId">Study Id of the Hyperdrive run.</param>
 public HyperDriveExperimentBase(HyperDriveExperimentBaseGeneratorConfig generatorConfig, string name, object platformConfig, HyperDrivePolicyConfigBase policyConfig, HyperDriveExperimentBasePrimaryMetricConfig primaryMetricConfig, string description = default(string), int?maxConcurrentJobs = default(int?), int?maxDurationMinutes = default(int?), int?maxTotalJobs = default(int?), int?studyId = default(int?))
 {
     Description        = description;
     GeneratorConfig    = generatorConfig;
     MaxConcurrentJobs  = maxConcurrentJobs;
     MaxDurationMinutes = maxDurationMinutes;
     MaxTotalJobs       = maxTotalJobs;
     Name                = name;
     PlatformConfig      = platformConfig;
     PolicyConfig        = policyConfig;
     PrimaryMetricConfig = primaryMetricConfig;
     StudyId             = studyId;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the HyperDriveExperiment class.
 /// </summary>
 /// <param name="generatorConfig">Hyperparameter space and the sampling
 /// method configuration.</param>
 /// <param name="name">Name of the Hyperdrive run.</param>
 /// <param name="platformConfig">Platform config object specifying the
 /// run definition structure.</param>
 /// <param name="policyConfig">Early termination policy
 /// configuration.</param>
 /// <param name="primaryMetricConfig">Name of the primary metric and
 /// goal of optimizing.</param>
 /// <param name="allJobsGenerated">Indicates if all runs have been
 /// generated.</param>
 /// <param name="cancellationRequested">Indicates if cancellation has
 /// been requested for this Hyperdrive run.</param>
 /// <param name="created">Hyperdrive run creation time.</param>
 /// <param name="createdByUserId">Id of the user who created the
 /// Hyperdrive run.</param>
 /// <param name="experimentId">Hyperdrive run id.</param>
 /// <param name="modified">Hyperdrive run modification time.</param>
 /// <param name="status">Hyperdrive run status.</param>
 /// <param name="hyperdriveRunId">Hyperdrive run id.</param>
 /// <param name="description">The description for Hyperdrive
 /// run.</param>
 /// <param name="maxConcurrentJobs">Maximum number of runs to run
 /// concurrently.</param>
 /// <param name="maxDurationMinutes">Maximum duration of the Hyperdrive
 /// run.</param>
 /// <param name="maxTotalJobs">Maximum number of runs.</param>
 /// <param name="studyId">Study Id of the Hyperdrive run.</param>
 /// <param name="experimentUri">Hyperdrive run Uri.</param>
 /// <param name="studyUri">Study Uri of the Hyperdrive run.</param>
 public HyperDriveExperiment(HyperDriveExperimentBaseGeneratorConfig generatorConfig, string name, object platformConfig, HyperDrivePolicyConfigBase policyConfig, HyperDriveExperimentBasePrimaryMetricConfig primaryMetricConfig, bool allJobsGenerated, bool cancellationRequested, System.DateTime created, int createdByUserId, string experimentId, System.DateTime modified, string status, string hyperdriveRunId, string description = default(string), int?maxConcurrentJobs = default(int?), int?maxDurationMinutes = default(int?), int?maxTotalJobs = default(int?), int?studyId = default(int?), string experimentUri = default(string), string studyUri = default(string))
     : base(generatorConfig, name, platformConfig, policyConfig, primaryMetricConfig, description, maxConcurrentJobs, maxDurationMinutes, maxTotalJobs, studyId)
 {
     AllJobsGenerated      = allJobsGenerated;
     CancellationRequested = cancellationRequested;
     Created         = created;
     CreatedByUserId = createdByUserId;
     ExperimentId    = experimentId;
     ExperimentUri   = experimentUri;
     Modified        = modified;
     Status          = status;
     StudyUri        = studyUri;
     HyperdriveRunId = hyperdriveRunId;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the HyperDriveCreateExperiment class.
 /// </summary>
 /// <param name="generatorConfig">Hyperparameter space and the sampling
 /// method configuration.</param>
 /// <param name="name">Name of the Hyperdrive run.</param>
 /// <param name="platformConfig">Platform config object specifying the
 /// run definition structure.</param>
 /// <param name="policyConfig">Early termination policy
 /// configuration.</param>
 /// <param name="primaryMetricConfig">Name of the primary metric and
 /// goal of optimizing.</param>
 /// <param name="user">User who is creating the Hyperdrive run.</param>
 /// <param name="description">The description for Hyperdrive
 /// run.</param>
 /// <param name="maxConcurrentJobs">Maximum number of runs to run
 /// concurrently.</param>
 /// <param name="maxDurationMinutes">Maximum duration of the Hyperdrive
 /// run.</param>
 /// <param name="maxTotalJobs">Maximum number of runs.</param>
 /// <param name="studyId">Study Id of the Hyperdrive run.</param>
 public HyperDriveCreateExperiment(HyperDriveExperimentBaseGeneratorConfig generatorConfig, string name, object platformConfig, HyperDrivePolicyConfigBase policyConfig, HyperDriveExperimentBasePrimaryMetricConfig primaryMetricConfig, string user, string description = default(string), int?maxConcurrentJobs = default(int?), int?maxDurationMinutes = default(int?), int?maxTotalJobs = default(int?), int?studyId = default(int?))
     : base(generatorConfig, name, platformConfig, policyConfig, primaryMetricConfig, description, maxConcurrentJobs, maxDurationMinutes, maxTotalJobs, studyId)
 {
     User = user;
     CustomInit();
 }