/// <summary> /// Initializes a new instance of the <see cref="SmoothHingeLoss"/> class. /// </summary> /// /// <param name="expected">The expected outputs (ground truth).</param> /// public SmoothHingeLoss(bool[] expected) { hinge = new HingeLoss(expected); }
/// <summary> /// Initializes a new instance of the <see cref="SmoothHingeLoss"/> class. /// </summary> /// /// <param name="expected">The expected outputs (ground truth).</param> /// public SmoothHingeLoss(int[] expected) { hinge = new HingeLoss(expected); }
/// <summary> /// Initializes a new instance of the <see cref="SquaredHingeLoss"/> class. /// </summary> /// /// <param name="expected">The expected outputs (ground truth).</param> /// public SquaredHingeLoss(bool[] expected) { hinge = new Losses.HingeLoss(expected); }
/// <summary> /// Initializes a new instance of the <see cref="SmoothHingeLoss"/> class. /// </summary> /// /// <param name="expected">The expected outputs (ground truth).</param> /// public SmoothHingeLoss(double[] expected) { hinge = new HingeLoss(expected); }
/// <summary> /// Initializes a new instance of the <see cref="SquaredHingeLoss"/> class. /// </summary> /// /// <param name="expected">The expected outputs (ground truth).</param> /// public SquaredHingeLoss(double[] expected) { hinge = new Losses.HingeLoss(expected); }