Share via


CountVectorizer.GetBinary Method

Definition

Gets the binary toggle to control the output vector values. If True, all nonzero counts (after minTF filter applied) are set to 1. This is useful for discrete probabilistic models that model binary events rather than integer counts. Default: false

public bool GetBinary ();
member this.GetBinary : unit -> bool
Public Function GetBinary () As Boolean

Returns

boolean

Applies to