naive function

Naive density ratio estimation