The Feature Normalizer Module

This class provides tools for normalizing features to have more desirable behavior under uniform scaling.

class ciderpress.dft.feat_normalizer.ConstantNormalizer(const)
fill_bwd(dfdxn, x, rho, inh, dfdx=None, dfdrho=None, dfdinh=None)
Parameters:
  • dfdxn

  • x

  • rho

  • inh

  • dfdx – Can be empty

  • dfdrho – Must be initialized because it is added to

  • dfdinh – Must be initialized because it is added to

Returns:

fill_fwd(x, rho, inh, xn=None)
Parameters:
  • x

  • rho

  • inh

  • xn – Can be empty

Returns:

class ciderpress.dft.feat_normalizer.DensityNormalizer(const, power)
fill_bwd(dfdxn, x, rho, inh, dfdx=None, dfdrho=None, dfdinh=None)
Parameters:
  • dfdxn

  • x

  • rho

  • inh

  • dfdx – Can be empty

  • dfdrho – Must be initialized because it is added to

  • dfdinh – Must be initialized because it is added to

Returns:

fill_fwd(x, rho, inh, xn=None)
Parameters:
  • x

  • rho

  • inh

  • xn – Can be empty

Returns:

class ciderpress.dft.feat_normalizer.FeatNormalizer
abstractmethod fill_bwd(dfdxn, x, rho, inh, dfdx=None, dfdrho=None, dfdinh=None)
Parameters:
  • dfdxn

  • x

  • rho

  • inh

  • dfdx – Can be empty

  • dfdrho – Must be initialized because it is added to

  • dfdinh – Must be initialized because it is added to

Returns:

abstractmethod fill_fwd(x, rho, inh, xn=None)
Parameters:
  • x

  • rho

  • inh

  • xn – Can be empty

Returns:

class ciderpress.dft.feat_normalizer.GeneralNormalizer(const1, const2, power1, power2)
fill_bwd(dfdxn, x, rho, inh, dfdx=None, dfdrho=None, dfdinh=None)
Parameters:
  • dfdxn

  • x

  • rho

  • inh

  • dfdx – Can be empty

  • dfdrho – Must be initialized because it is added to

  • dfdinh – Must be initialized because it is added to

Returns:

fill_fwd(x, rho, inh, xn=None)
Parameters:
  • x

  • rho

  • inh

  • xn – Can be empty

Returns:

class ciderpress.dft.feat_normalizer.InhomogeneityNormalizer(const1, const2, power)
fill_bwd(dfdxn, x, rho, inh, dfdx=None, dfdrho=None, dfdinh=None)
Parameters:
  • dfdxn

  • x

  • rho

  • inh

  • dfdx – Can be empty

  • dfdrho – Must be initialized because it is added to

  • dfdinh – Must be initialized because it is added to

Returns:

fill_fwd(x, rho, inh, xn=None)
Parameters:
  • x

  • rho

  • inh

  • xn – Can be empty

Returns: