Beispiel #1
0
        /// <summary>
        /// return mean of samples with the same label
        /// </summary>
        /// <param name="label">label of samples</param>
        /// <returns>return mean of samples with the same label</returns>
        public Vector GetMeanOfDataWithLabel(double label)
        {
            List <Sample> samples = this.GetSamplesOfLabel(label);

            return(Sample.GetXMeanOfSamples(samples));
        }