C# Class BuildIt.CognitiveServices.Models.JobInfo

显示文件 Open project: builttoroam/BuildIt Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
JobInfo ( ) : System.Linq

Initializes a new instance of the JobInfo class.

JobInfo ( string apiName = default(string), string modelId = default(string), long buildId = default(long?), int numberOfResults = default(int?), bool includeMetadata = default(bool?), double minimalScore = default(double?) ) : System.Linq

Initializes a new instance of the JobInfo class.

Method Details

JobInfo() public method

Initializes a new instance of the JobInfo class.
public JobInfo ( ) : System.Linq
return System.Linq

JobInfo() public method

Initializes a new instance of the JobInfo class.
public JobInfo ( string apiName = default(string), string modelId = default(string), long buildId = default(long?), int numberOfResults = default(int?), bool includeMetadata = default(bool?), double minimalScore = default(double?) ) : System.Linq
apiName string Api Name /// The ApiName is internally an enum (see SupportedApis /// in BatchScoringManager) /// The valid values should be: ItemRecommend, /// UserRecommend, ItemFbtRecommend
modelId string The Model Id /// ModelId is the model id which batch scoring is /// requested to
buildId long The build Id /// BuildId is the build id which batch scoring is /// requested to /// It is optional. If it is not provided, the active /// build id will be used
numberOfResults int Number of recommendations /// It indicates the number of results (recommended items) /// each request should return /// It is optional. The default value is 10
includeMetadata bool Include Metadata /// it indicates whether the result should include /// metadata or not /// It is optional. The default value is false
minimalScore double The minimum score. Currently only /// supported for FbtBuilds /// It indicates the minimal score to return /// It is optional. The default value is 0.1
return System.Linq