the main idea behind the algorithm is to find a function which, using the numeric data that describe an individual observation as input, will return a number between 0 and 1.
that function will return a number close to respectively 0 or 1 for observations belonging to group 0 or 1.