/// <summary>
 /// Computes a class-label decision for a given <paramref name="input" />.
 /// </summary>
 /// <param name="input">The input vector that should be classified into
 /// one of the <see cref="ITransform.NumberOfOutputs" /> possible classes.</param>
 /// <param name="result">The location where to store the class-labels.</param>
 /// <returns>
 /// A class-label that best described <paramref name="input" /> according
 /// to this classifier.
 /// </returns>
 public double[][] Decide(TInput[] input, double[][] result)
 {
     return(Jagged.KHot <double>(Decide(input), result));
 }
        // Input[], result[]

        /// <summary>
        /// Computes a class-label decision for a given <paramref name="input" />.
        /// </summary>
        /// <param name="input">The input vector that should be classified into
        /// one of the <see cref="ITransform.NumberOfOutputs" /> possible classes.</param>
        /// <param name="result">The location where to store the class-labels.</param>
        /// <returns>
        /// A class-label that best described <paramref name="input" /> according
        /// to this classifier.
        /// </returns>
        public int[][] Decide(TInput[] input, int[][] result)
        {
            return(Jagged.KHot <int>(Decide(input), result));
        }