public double GetLikelihoodRatio(GeneralizedLinearRegression model)
        {
#pragma warning disable 612, 618
            return(regression.GetLogLikelihoodRatio(inputData, outputData, model));

#pragma warning restore 612, 618
        }
예제 #2
0
        //---------------------------------------------


        #region Public Methods
        /// <summary>
        ///   Gets the Log-Likelihood Ratio between this model and another model.
        /// </summary>
        ///
        /// <param name="model">Another logistic regression model.</param>
        /// <returns>The Likelihood-Ratio between the two models.</returns>
        ///
        public double GetLikelihoodRatio(GeneralizedLinearRegression model)
        {
            return(regression.GetLogLikelihoodRatio(inputData, outputData, model));
        }
예제 #3
0
        //---------------------------------------------


        #region Public Methods
        /// <summary>
        ///   Gets the Log-Likelihood Ratio between this model and another model.
        /// </summary>
        /// <param name="model">Another logistic regression model.</param>
        /// <returns>The Likelihood-Ratio between the two models.</returns>
        ///
        public double GetLikelihoodRatio(LogisticRegression model)
        {
            return(regression.GetLogLikelihoodRatio(inputData, outputData, model));
        }