Correct Answer : addSample(inp, target)
Explanation : addSample(inp, target) method will create a new sample from the input and target.