Class StandardNormalizer


  • public class StandardNormalizer
    extends Normalizer
    A Normalizer to scale a feature value around an average-and-standard-deviation distribution.

    Example configuration:

     "norm" : {
       "class" : "org.apache.solr.ltr.norm.StandardNormalizer",
       "params" : { "avg":"42", "std":"6" }
     }
     

    Example normalizations:

    • 39 will be normalized to -0.5
    • 42 will be normalized to 0
    • 45 will be normalized to +0.5
    • Constructor Detail

      • StandardNormalizer

        public StandardNormalizer()