From 0ffbf4b1b7d285ec2f8b9cbad3408ca9fefb75df Mon Sep 17 00:00:00 2001 From: yoshoku Date: Sun, 4 Feb 2024 11:41:37 +0900 Subject: [PATCH] docs: fix typos --- rumale-manifold/lib/rumale/manifold/hessian_eigenmaps.rb | 4 ++-- .../lib/rumale/manifold/locally_linear_embedding.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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'