Esempio n. 1
0
        new public static ModelEvaluatorGaussian GetInstance(string nameAndParameters, ModelScorer scorer)
        {
            IDistributionSingleVariable     nullDistn = DistributionGaussianConditional.GetSingleVariableInstance(nameAndParameters);
            DistributionGaussianConditional altDistn  = DistributionGaussianConditional.GetInstance(nameAndParameters);

            return(new ModelEvaluatorGaussian(SpecialFunctions.CreateSingletonList(nullDistn), altDistn, scorer));
        }
 public static MessageInitializerGaussian GetInstance(
     Converter <Leaf, SufficientStatistics> predictorClassFunction,
     Converter <Leaf, SufficientStatistics> targetClassFunction,
     DistributionGaussianConditional gaussianDistribution,
     IEnumerable <Leaf> fullLeafList)
 {
     return(new MessageInitializerGaussian(predictorClassFunction, targetClassFunction, gaussianDistribution, fullLeafList));
 }
 protected MessageInitializerGaussian(
     Converter <Leaf, SufficientStatistics> predictorClassFunction,
     Converter <Leaf, SufficientStatistics> targetClassFunction,
     DistributionGaussianConditional gaussianDistribution,
     IEnumerable <Leaf> fullLeafList)
     : base(SpecialFunctions.CreateSingletonList(predictorClassFunction), targetClassFunction, gaussianDistribution, fullLeafList)
 {
     _allVarianceZero = AllVarianceZero(fullLeafList, targetClassFunction);
 }
Esempio n. 4
0
 protected ModelEvaluatorGaussian(List <IDistributionSingleVariable> nullDistns, DistributionGaussianConditional altDistn, ModelScorer scorer)
     : base(nullDistns, altDistn, scorer)
 {
 }