上传者: 42110469
|
上传时间: 2022-04-10 10:31:31
|
文件大小: 2KB
|
文件类型: ZIP
Kohonen_python_implementation
这是无监督Kohonen映射的优化python实现,用于信号(= 1d观测值),还包含matplotlib FuncAnimation实现,以可视化收敛。
from SOM_implementation import *
x_size = len ( data [ 0 ])
size = 10
alpha = 0.05
ap = Animation_prototypes ( size = size , dataset = data_norm_temp , alpha = alpha , nb_it = 50000 , x_size = x_size )
ap . run_animation ( speed = 50 )