added negative sample ratio (set to 1.0)