Skip to content

Commit 13af4c4

Browse files
formatting code in adaptive_resonance_theory.py
1 parent 40398b9 commit 13af4c4

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

neural_network/adaptive_resonance_theory.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@ class ART1:
44
"""
55
Adaptive Resonance Theory 1 (ART1) model for binary data clustering.
66
7-
The ART1 algorithm is a type of neural network used for unsupervised learning and clustering of binary input data.
8-
It continuously learns to categorize inputs based on similarity while preserving previously learned categories.
9-
The vigilance parameter controls the degree of similarity required to assign an input to an existing category,
7+
The ART1 algorithm is a type of neural network used for unsupervised
8+
learning and clustering of binary input data. It continuously learns
9+
to categorize inputs based on similarity while preserving previously
10+
learned categories. The vigilance parameter controls the degree of
11+
similarity required to assign an input to an existing category,
1012
allowing for flexible and adaptive clustering.
1113
1214
Attributes:
1315
num_features (int): Number of features in the input data.
14-
vigilance (float): Threshold for similarity that determines whether an input matches an existing cluster.
16+
vigilance (float): Threshold for similarity that determines whether
17+
an input matches an existing cluster.
1518
weights (list): List of cluster weights representing the learned categories.
1619
"""
1720

0 commit comments

Comments
 (0)