对于类别中样本超过30个的采用K-Means算法截取前30个,存入向量数据库

This commit is contained in:
2026-03-03 17:07:06 +08:00
parent 8a50e2973b
commit dedf72f53c
4 changed files with 120 additions and 32 deletions
+2 -2
View File
@@ -57,8 +57,8 @@ GRID_PARAMS = {
'm': [0.32, 0.35, 0.38, 0.40,0.45,0.50], # margin参数
},
'whole_ingredient': {
's': [64.0],
'm': [0.40, 0.42, 0.43, 0.45],
's': [60.0,64.0],
'm': [0.42, 0.45],
},
'processed_ingredient': {
's': [56.0, 60.0, 64.0, 68.0],