コード例 #1
0
        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));
        }