Skip to content

Commit

Permalink
docs: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshoku committed Feb 4, 2024
1 parent 405ea35 commit 0ffbf4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions rumale-manifold/lib/rumale/manifold/hessian_eigenmaps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 0ffbf4b

Please sign in to comment.