FIX bug in f_score with beta !=1
FIX formula inversion for sample-based precision/recall
FIX set same default behavior for precision, recall and f-score
ENH raise warning with ill define precision, recall and fscore
Backport assert_warns and assert_no_warnings from np 1.7
TST test warning + ENH Add warning average=samples
FIX TST with warnings thx to @jnothman
flake8
ENH set warning to stacklevel 2
TST silence warning
ENH use with np.errstate
DOC TST correct comment