/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the personalize-2018-05-22.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Personalize.Model
{
///
/// Describes the configuration properties for the solution.
///
public partial class SolutionConfig
{
private Dictionary _algorithmHyperParameters = new Dictionary();
private AutoMLConfig _automlConfig;
private string _eventValueThreshold;
private Dictionary _featureTransformationParameters = new Dictionary();
private HPOConfig _hpoConfig;
private OptimizationObjective _optimizationObjective;
private TrainingDataConfig _trainingDataConfig;
///
/// Gets and sets the property AlgorithmHyperParameters.
///
/// Lists the hyperparameter names and ranges.
///
///
[AWSProperty(Max=100)]
public Dictionary AlgorithmHyperParameters
{
get { return this._algorithmHyperParameters; }
set { this._algorithmHyperParameters = value; }
}
// Check to see if AlgorithmHyperParameters property is set
internal bool IsSetAlgorithmHyperParameters()
{
return this._algorithmHyperParameters != null && this._algorithmHyperParameters.Count > 0;
}
///
/// Gets and sets the property AutoMLConfig.
///
/// The AutoMLConfig
/// object containing a list of recipes to search when AutoML is performed.
///
///
public AutoMLConfig AutoMLConfig
{
get { return this._automlConfig; }
set { this._automlConfig = value; }
}
// Check to see if AutoMLConfig property is set
internal bool IsSetAutoMLConfig()
{
return this._automlConfig != null;
}
///
/// Gets and sets the property EventValueThreshold.
///
/// Only events with a value greater than or equal to this threshold are used for training
/// a model.
///
///
[AWSProperty(Max=256)]
public string EventValueThreshold
{
get { return this._eventValueThreshold; }
set { this._eventValueThreshold = value; }
}
// Check to see if EventValueThreshold property is set
internal bool IsSetEventValueThreshold()
{
return this._eventValueThreshold != null;
}
///
/// Gets and sets the property FeatureTransformationParameters.
///
/// Lists the feature transformation parameters.
///
///
[AWSProperty(Max=100)]
public Dictionary FeatureTransformationParameters
{
get { return this._featureTransformationParameters; }
set { this._featureTransformationParameters = value; }
}
// Check to see if FeatureTransformationParameters property is set
internal bool IsSetFeatureTransformationParameters()
{
return this._featureTransformationParameters != null && this._featureTransformationParameters.Count > 0;
}
///
/// Gets and sets the property HpoConfig.
///
/// Describes the properties for hyperparameter optimization (HPO).
///
///
public HPOConfig HpoConfig
{
get { return this._hpoConfig; }
set { this._hpoConfig = value; }
}
// Check to see if HpoConfig property is set
internal bool IsSetHpoConfig()
{
return this._hpoConfig != null;
}
///
/// Gets and sets the property OptimizationObjective.
///
/// Describes the additional objective for the solution, such as maximizing streaming
/// minutes or increasing revenue. For more information see Optimizing
/// a solution.
///
///
public OptimizationObjective OptimizationObjective
{
get { return this._optimizationObjective; }
set { this._optimizationObjective = value; }
}
// Check to see if OptimizationObjective property is set
internal bool IsSetOptimizationObjective()
{
return this._optimizationObjective != null;
}
///
/// Gets and sets the property TrainingDataConfig.
///
/// Specifies the training data configuration to use when creating a custom solution
/// version (trained model).
///
///
public TrainingDataConfig TrainingDataConfig
{
get { return this._trainingDataConfig; }
set { this._trainingDataConfig = value; }
}
// Check to see if TrainingDataConfig property is set
internal bool IsSetTrainingDataConfig()
{
return this._trainingDataConfig != null;
}
}
}