Dear all,
In the sklearn.metrics module, the precision_recall_fscore_support and
precision_score have different default value for the "average" parameter, which
seems a bit counterintuitive -- but I did not go deep into the code. Is this
really the intended behavior ?
def precision_score(y_true, y_pred, labels=None, pos_label=1,
average='weighted')
def precision_recall_fscore_support(y_true, y_pred, beta=1.0, labels=None,
pos_label=1, average=None)
Best ,
Bertrand
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general