Class MinMaxNormalizer


  • public class MinMaxNormalizer
    extends Normalizer
    A Normalizer to scale a feature value using a (min,max) range.

    Example configuration:

     "norm" : {
       "class" : "org.apache.solr.ltr.norm.MinMaxNormalizer",
       "params" : { "min":"0", "max":"50" }
     }
     
    Example normalizations:
    • -5 will be normalized to -0.1
    • 55 will be normalized to 1.1
    • +5 will be normalized to +0.1
    • Constructor Detail

      • MinMaxNormalizer

        public MinMaxNormalizer()