Score API

edit

The following specialized API is available in the Score context.

  • See the Shared API for further API available in all contexts.

Static Methods

edit

The following methods are directly callable without a class/instance qualifier. Note parameters denoted by a (*) are treated as read-only values.

  • double cosineSimilarity(List *, String *)
  • double decayDateExp(String *, String *, String *, double *, ZonedDateTime)
  • double decayDateGauss(String *, String *, String *, double *, ZonedDateTime)
  • double decayDateLinear(String *, String *, String *, double *, ZonedDateTime)
  • double decayGeoExp(String *, String *, String *, double *, GeoPoint)
  • double decayGeoGauss(String *, String *, String *, double *, GeoPoint)
  • double decayGeoLinear(String *, String *, String *, double *, GeoPoint)
  • double decayNumericExp(double *, double *, double *, double *, double)
  • double decayNumericGauss(double *, double *, double *, double *, double)
  • double decayNumericLinear(double *, double *, double *, double *, double)
  • double dotProduct(List *, String *)
  • double l1norm(List *, String *)
  • double l2norm(List *, String *)
  • double randomScore(int *)
  • double randomScore(int *, String *)
  • double saturation(double, double)
  • double sigmoid(double, double, double)

Classes By Package

edit

The following classes are available grouped by their respective packages. Click on a class to view details about the available methods and fields.