Skip to content

Commit

Permalink
revert to default decay function
Browse files Browse the repository at this point in the history
  • Loading branch information
JustGlowing committed Apr 24, 2024
1 parent 09d048c commit 53af1a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions minisom.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ class MiniSom(object):
Y_HEX_CONV_FACTOR = (3.0 / 2.0) / sqrt(3)

def __init__(self, x, y, input_len, sigma=None, learning_rate=0.5,
learning_rate_decay_function='inverse_decay_to_zero',
learning_rate_decay_function='asymptotic_decay',
neighborhood_function='gaussian', topology='rectangular',
activation_distance='euclidean', random_seed=None,
sigma_decay_function='inverse_decay_to_one'):
sigma_decay_function='asymptotic_decay'):
"""Initializes a Self Organizing Maps.
A rule of thumb to set the size of the grid for a dimensionality
Expand Down

0 comments on commit 53af1a1

Please sign in to comment.