Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the ModelStatistics class.
 /// </summary>
 /// <param name="totalDuration">The total duration</param>
 /// <param name="trainingDuration">The core training duration</param>
 /// <param name="storingUserHistoryDuration">The duration of storing
 /// usage events per user later to be used for user
 /// recommendations</param>
 /// <param name="catalogParsing">The catalog file parsing
 /// report</param>
 /// <param name="usageEventsParsing">The usage events files parsing
 /// report</param>
 /// <param name="numberOfCatalogItems">The number of items found in
 /// catalog</param>
 /// <param name="numberOfUsageItems">The number of valid (which are
 /// present in catalog if provided) unique items found in usage
 /// files</param>
 /// <param name="numberOfUsers">The number of unique users found in
 /// usage files</param>
 /// <param name="catalogCoverage">The ratio of unique items found in
 /// usage files and total items in catalog</param>
 /// <param name="evaluation">The model evaluation report</param>
 /// <param name="catalogFeatureWeights">The calculated catalog feature
 /// weights</param>
 public ModelStatistics(string totalDuration = default(string), string trainingDuration = default(string), string storingUserHistoryDuration = default(string), ParsingReport catalogParsing = default(ParsingReport), ParsingReport usageEventsParsing = default(ParsingReport), int?numberOfCatalogItems = default(int?), int?numberOfUsageItems = default(int?), int?numberOfUsers = default(int?), double?catalogCoverage = default(double?), ModelEvaluationResult evaluation = default(ModelEvaluationResult), System.Collections.Generic.IList <double?> catalogFeatureWeights = default(System.Collections.Generic.IList <double?>))
 {
     TotalDuration              = totalDuration;
     TrainingDuration           = trainingDuration;
     StoringUserHistoryDuration = storingUserHistoryDuration;
     CatalogParsing             = catalogParsing;
     UsageEventsParsing         = usageEventsParsing;
     NumberOfCatalogItems       = numberOfCatalogItems;
     NumberOfUsageItems         = numberOfUsageItems;
     NumberOfUsers              = numberOfUsers;
     CatalogCoverage            = catalogCoverage;
     Evaluation            = evaluation;
     CatalogFeatureWeights = catalogFeatureWeights;
 }
 /// <summary>
 /// Initializes a new instance of the ModelEvaluationResult class.
 /// </summary>
 /// <param name="duration">The model evaluation duration</param>
 /// <param name="usageEventsParsing">The usage events files parsing
 /// report</param>
 /// <param name="metrics">The model precision and diversity
 /// metrics</param>
 public ModelEvaluationResult(string duration = default(string), ParsingReport usageEventsParsing = default(ParsingReport), ModelMetrics metrics = default(ModelMetrics))
 {
     Duration           = duration;
     UsageEventsParsing = usageEventsParsing;
     Metrics            = metrics;
 }