AIMA.Core.Learning.Neural.NNExample.copyExample C# (CSharp) Méthode

copyExample() public méthode

public copyExample ( ) : NNExample
Résultat NNExample
        public NNExample copyExample() {
		List<Double> newInput = new List<Double>();
		List<Double> newTarget = new List<Double>();
		foreach (Double d in normalizedInput) {
			newInput.Add(d);
		}
		foreach (Double d in normalizedTarget) {
			newTarget.Add(d);
		}
		return new NNExample(newInput, newTarget);
	}