moved class_prior in NB to __init__
added deprecation warning to fit function
fixed docstring tests
fixed typos
added warnings
updated based on comments
fixed local variables
renamed the new parameter to class_wieght
fixed docstring test
COSMIT update warning, pep8