minimel.train module

Train

minimel.train.train(vec_file: Path, *, outfile: Path | None = None, bits: int = 20)

Train Logistic Regression models

Writes

Parameters:
  • vec_file (Path) – Training data in Vowpal Wabbit format

  • outfile (Optional[Path])

  • bits (int)

Keyword Arguments:
  • outfile – Output file or directory (default: model.b{bits}.vw)

  • bits – Number of bits of the Vowpal Wabbit feature hash function