pandera.decisions.NoulΒΆ

class pandera.decisions.Noul(instructions=None, *, threshold=0.5, true_description=None, false_description=None, provider=None, abstain_below=None, cache=None)[source]ΒΆ

A yes/no question, answered with a calibrated probability.

Fills a bool column by thresholding the probability, or a float column with the probability itself.

Attributes

frame_input

Methods

__init__(instructions=None, *, threshold=0.5, true_description=None, false_description=None, provider=None, abstain_below=None, cache=None)[source]ΒΆ
to_question(ctx)[source]ΒΆ
Return type:

Noul

to_value(question, ctx, decision)[source]ΒΆ
Return type:

Any