1. An inspection apparatus comprising: a discrimination function determination unit that determines in an input space where learning samples are plotted, whether or not a discrimination function forms a single area, wherein the area includes a discrimination sample discriminated into a class, and wherein the discrimination function is used in non-parametric one-class discrimination.