-
Notifications
You must be signed in to change notification settings - Fork 160
Open
Description
The ART1 documentation says that calling predict/train on the same model multiple times, trains a new model: http://neupy.com/modules/generated/neupy.algorithms.ART1.html Thus I would expect that they give the same result. However, different calls of predict() on the same model give different results. With my data, the result is different for the second run and then stays the same. Code:
from neupy.algorithms import ART1
artnet = ART1(
step=0.1,
rho=0.5,
n_clusters=5,
)
for i in range(10):
clusters = artnet.predict(data)
print(clusters)
yields result:
[0. 1. 2. ... 1. 1. 1.]
[0. 1. 1. ... 1. 1. 1.]
[0. 1. 1. ... 1. 1. 1.]
[0. 1. 1. ... 1. 1. 1.]
[0. 1. 1. ... 1. 1. 1.]
[0. 1. 1. ... 1. 1. 1.]
[0. 1. 1. ... 1. 1. 1.]
[0. 1. 1. ... 1. 1. 1.]
[0. 1. 1. ... 1. 1. 1.]
[0. 1. 1. ... 1. 1. 1.]
The data is 2700 data points of about 200 features. If needed I can supply the data.
Metadata
Metadata
Assignees
Labels
No labels