diff --git a/rumale-manifold/lib/rumale/manifold/hessian_eigenmaps.rb b/rumale-manifold/lib/rumale/manifold/hessian_eigenmaps.rb index 7a0a6cf9..7be866cd 100644 --- a/rumale-manifold/lib/rumale/manifold/hessian_eigenmaps.rb +++ b/rumale-manifold/lib/rumale/manifold/hessian_eigenmaps.rb @@ -41,9 +41,9 @@ def initialize(n_neighbors: 5, n_components: 2, reg_param: 1e-6) # Fit the model with given training data. # - # @overload fit(x) -> LocallyLinearEmbedding + # @overload fit(x) -> HessianEigenmaps # @param x [Numo::DFloat] (shape: [n_samples, n_features]) The training data to be used for fitting the model. - # @return [LocallyLinearEmbedding] The learned transformer itself. + # @return [HessianEigenmaps] The learned transformer itself. def fit(x, _y = nil) # rubocop:disable Metrics/AbcSize raise 'HessianEigenmaps#fit requires Numo::Linalg but that is not loaded' unless enable_linalg?(warning: false) diff --git a/rumale-manifold/lib/rumale/manifold/locally_linear_embedding.rb b/rumale-manifold/lib/rumale/manifold/locally_linear_embedding.rb index f2a9b0f0..5ad0faba 100644 --- a/rumale-manifold/lib/rumale/manifold/locally_linear_embedding.rb +++ b/rumale-manifold/lib/rumale/manifold/locally_linear_embedding.rb @@ -7,7 +7,7 @@ module Rumale module Manifold - # LocallyLinearEmbedding is a class that implements Loccaly Linear Embedding. + # LocallyLinearEmbedding is a class that implements Locally Linear Embedding. # # @example # require 'numo/linalg/autoloader'