Record Class LaplacianEigenmap.Options
java.lang.Object
java.lang.Record
smile.manifold.LaplacianEigenmap.Options
- Record Components:
k- k-nearest neighbor.d- the dimension of the manifold.t- the smooth/width parameter of heat kernel exp(-||x-y||2 / t). Non-positive value means discrete weights.
- Enclosing class:
LaplacianEigenmap
Laplacian Eigenmaps hyperparameters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintd()Returns the value of thedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intk()Returns the value of thekrecord component.static LaplacianEigenmap.Optionsof(Properties props) Returns the options from properties.doublet()Returns the value of thetrecord component.Returns the persistent set of hyperparameters.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Options
public Options(int k, int d, double t) Constructor. -
Options
public Options(int k) Constructor.- Parameters:
k- k-nearest neighbor.
-
-
Method Details
-
toProperties
Returns the persistent set of hyperparameters.- Returns:
- the persistent set.
-
of
Returns the options from properties.- Parameters:
props- the hyperparameters.- Returns:
- the options.
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
k
-
d
-
t
-