Class HashingOptions

java.lang.Object
org.tribuo.hash.HashingOptions
All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Options

public class HashingOptions extends Object implements com.oracle.labs.mlrg.olcut.config.Options
An Options implementation which provides CLI arguments for the model hashing functionality.
  • Field Details

  • Constructor Details

  • Method Details

    • getHasher

      Get the specified hasher.
      Returns:
      The configured hasher.
    • getHashedTrainer

      public <T extends Output<T>> Trainer<T> getHashedTrainer(Trainer<T> innerTrainer)
      Gets the trainer wrapped in a hashing trainer.
      Type Parameters:
      T - The output type.
      Parameters:
      innerTrainer - The inner trainer.
      Returns:
      The hashing trainer.