File size: 59,625 Bytes
b321188
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "import numpy as np\n",
    "import ast\n",
    "from pymilvus import MilvusClient\n",
    "from sklearn.metrics.pairwise import cosine_similarity"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 假设 MilvusClient、DataType、FieldSchema、CollectionSchema 已经正确导入\n",
    "# 例如:\n",
    "# from your_milvus_module import MilvusClient, DataType, FieldSchema, CollectionSchema\n",
    "\n",
    "\n",
    "# ----------------------------\n",
    "# 1. 从 CSV 中读取预计算的评分相似度数据(items_similar.csv)\n",
    "def compute_rating_similarity(csv_path):\n",
    "    \"\"\"\n",
    "    从 csv 文件中读取预计算的商品评分相似度数据.\n",
    "    CSV 文件应包含两列:\n",
    "      asin, top50_similar\n",
    "    其中 top50_similar 是字符串形式的列表,每个元素为 (asin, sim_score)。\n",
    "    返回:\n",
    "      rating_sim: dict, 格式为 {asin: {asin2: sim_score, ...} }\n",
    "    \"\"\"\n",
    "    df = pd.read_csv(csv_path)\n",
    "    rating_sim = {}\n",
    "    for _, row in df.iterrows():\n",
    "        asin = row[\"asin\"]\n",
    "        top50_similar_str = row[\"top50_similar\"]\n",
    "        try:\n",
    "            top50_similar_list = ast.literal_eval(top50_similar_str)\n",
    "        except Exception as e:\n",
    "            top50_similar_list = []\n",
    "        # 将列表转换为字典形式\n",
    "        rating_sim[asin] = {item[0]: item[1] for item in top50_similar_list}\n",
    "    return rating_sim\n",
    "\n",
    "\n",
    "# ----------------------------\n",
    "# 2. Milvus 查询模块:图片和描述相似度\n",
    "def query_image_similarity(client, asin, top_k=50):\n",
    "    \"\"\"\n",
    "    查询指定 asin 对应的图片向量,并在 Milvus 中搜索相似商品(图片相似度)。\n",
    "\n",
    "    返回:\n",
    "      字典格式 {asin: sim_score}\n",
    "      其中 sim_score 采用 COSINE 指标,计算方式: sim_score = 1 - hit.distance\n",
    "    \"\"\"\n",
    "    query_expr = f\"asin == '{asin}'\"\n",
    "    query_res = client.query(\n",
    "        collection_name=\"image_embeddings\",\n",
    "        filter=query_expr,\n",
    "        output_fields=[\"embedding\"],\n",
    "    )\n",
    "    if not query_res:\n",
    "        return {}\n",
    "\n",
    "    target_embedding = query_res[0][\"embedding\"]\n",
    "    search_params = {\"metric_type\": \"COSINE\", \"params\": {\"nprobe\": 10}}\n",
    "    search_results = client.search(\n",
    "        collection_name=\"image_embeddings\",\n",
    "        data=[target_embedding],\n",
    "        anns_field=\"embedding\",\n",
    "        search_params=search_params,\n",
    "        limit=top_k,\n",
    "        filter=f\"asin != '{asin}'\",  # 排除自身\n",
    "    )\n",
    "\n",
    "    sim_dict = {}\n",
    "    for hit in search_results[0]:\n",
    "        sim_asin = hit[\"id\"]\n",
    "        sim_score = 1 - hit[\"distance\"]\n",
    "        sim_dict[sim_asin] = sim_score\n",
    "    return sim_dict\n",
    "\n",
    "\n",
    "def query_desc_similarity(client, asin, top_k=50):\n",
    "    \"\"\"\n",
    "    查询指定 asin 对应的描述向量,并在 Milvus 中搜索相似商品(描述相似度)。\n",
    "\n",
    "    使用您提供的描述向量 schema,假设集合名称为 \"metadata_embeddings\"\n",
    "    返回:\n",
    "      字典格式 {asin: sim_score},sim_score = 1 - hit.distance\n",
    "    \"\"\"\n",
    "    query_expr = f\"asin == '{asin}'\"\n",
    "    query_res = client.query(\n",
    "        collection_name=\"metadata_embeddings\",\n",
    "        filter=query_expr,\n",
    "        output_fields=[\"embedding\"],\n",
    "    )\n",
    "    if not query_res:\n",
    "        return {}\n",
    "\n",
    "    target_embedding = query_res[0][\"embedding\"]\n",
    "    search_params = {\"metric_type\": \"COSINE\", \"params\": {\"nprobe\": 10}}\n",
    "    search_results = client.search(\n",
    "        collection_name=\"metadata_embeddings\",\n",
    "        data=[target_embedding],\n",
    "        anns_field=\"embedding\",\n",
    "        search_params=search_params,\n",
    "        limit=top_k,\n",
    "        filter=f\"asin != '{asin}'\",  # 排除自身\n",
    "    )\n",
    "\n",
    "    sim_dict = {}\n",
    "    for hit in search_results[0]:\n",
    "        sim_asin = hit[\"id\"]\n",
    "        sim_score = 1 - hit[\"distance\"]\n",
    "        sim_dict[sim_asin] = sim_score\n",
    "    return sim_dict\n",
    "\n",
    "\n",
    "def query_milvus_similarity(client, asin, similarity_type=\"image\", top_k=50):\n",
    "    \"\"\"\n",
    "    根据 similarity_type 参数调用不同的 Milvus 查询:\n",
    "      - \"image\":基于图片的查询\n",
    "      - \"description\":基于描述的查询\n",
    "    \"\"\"\n",
    "    if similarity_type == \"image\":\n",
    "        return query_image_similarity(client, asin, top_k)\n",
    "    elif similarity_type == \"description\":\n",
    "        return query_desc_similarity(client, asin, top_k)\n",
    "    else:\n",
    "        return {}\n",
    "\n",
    "\n",
    "# ----------------------------\n",
    "# 3. 混合相似度计算(利用预读取评分相似度及 Milvus 查询结果)\n",
    "def get_hybrid_similarity(\n",
    "    asin1, asin2, rating_sim_dict, weights, client, milvus_cache=None\n",
    "):\n",
    "    \"\"\"\n",
    "    计算 asin1 与 asin2 之间的混合相似度。\n",
    "\n",
    "    参数:\n",
    "      asin1, asin2: 商品标识符\n",
    "      rating_sim_dict: 从 CSV 中读取的评分相似度字典\n",
    "      weights: 各部分的权重字典,例如 {\"rating\": 0.6, \"image\": 0.2, \"description\": 0.2}\n",
    "      client: Milvus 客户端对象\n",
    "      milvus_cache: 缓存字典,用以减少重复查询\n",
    "\n",
    "    返回:\n",
    "      混合相似度分值\n",
    "    \"\"\"\n",
    "    # ① 获取评分相似度:从预计算字典中查找\n",
    "    rating_score = 0\n",
    "    if asin1 in rating_sim_dict:\n",
    "        rating_score = rating_sim_dict[asin1].get(asin2, 0)\n",
    "\n",
    "    if milvus_cache is None:\n",
    "        milvus_cache = {}\n",
    "\n",
    "    # ② 图片相似度\n",
    "    if (asin1, \"image\") in milvus_cache:\n",
    "        image_sim_dict = milvus_cache[(asin1, \"image\")]\n",
    "    else:\n",
    "        image_sim_dict = query_milvus_similarity(\n",
    "            client, asin1, similarity_type=\"image\", top_k=50\n",
    "        )\n",
    "        milvus_cache[(asin1, \"image\")] = image_sim_dict\n",
    "    image_score = image_sim_dict.get(asin2, 0)\n",
    "    if image_score != 0:\n",
    "        print(f\"Image similarity for {asin1} and {asin2}: {image_score}\")\n",
    "\n",
    "    # ③ 描述相似度\n",
    "    if (asin1, \"description\") in milvus_cache:\n",
    "        desc_sim_dict = milvus_cache[(asin1, \"description\")]\n",
    "    else:\n",
    "        desc_sim_dict = query_milvus_similarity(\n",
    "            client, asin1, similarity_type=\"description\", top_k=50\n",
    "        )\n",
    "        milvus_cache[(asin1, \"description\")] = desc_sim_dict\n",
    "    desc_score = desc_sim_dict.get(asin2, 0)\n",
    "    if desc_score != 0:\n",
    "        print(f\"Description similarity for {asin1} and {asin2}: {desc_score}\")\n",
    "    \n",
    "\n",
    "    # 融合三部分得分\n",
    "    hybrid_score = (\n",
    "        weights.get(\"rating\", 0) * rating_score\n",
    "        + weights.get(\"image\", 0) * image_score\n",
    "        + weights.get(\"description\", 0) * desc_score\n",
    "    )\n",
    "    return hybrid_score\n",
    "\n",
    "\n",
    "# ----------------------------\n",
    "# 4. 推荐函数:为用户生成个性化推荐\n",
    "def recommend_for_user(\n",
    "    user_id,\n",
    "    user_rating_df,\n",
    "    rating_sim_dict,\n",
    "    weights,\n",
    "    client,\n",
    "    milvus_cache=None,\n",
    "    top_n=10,\n",
    "):\n",
    "    \"\"\"\n",
    "    根据用户的历史评分和混合相似度为用户生成推荐。\n",
    "\n",
    "    参数:\n",
    "      user_id: 用户标识\n",
    "      user_rating_df: 包含 user_id, asin, rating 等信息的 DataFrame\n",
    "      rating_sim_dict: 预计算的评分相似度字典(从 CSV 读取)\n",
    "      weights: 各模块混合相似度的权重\n",
    "      client: Milvus 客户端对象\n",
    "      milvus_cache: 缓存字典(可选)\n",
    "      top_n: 返回推荐的商品数量\n",
    "\n",
    "    返回:\n",
    "      推荐列表,每个元素为 (asin, score)\n",
    "    \"\"\"\n",
    "    # 找出该用户已评分的商品\n",
    "    rated_items = set(user_rating_df[user_rating_df[\"user_id\"] == user_id][\"asin\"])\n",
    "    # 候选商品:在评分相似度字典中出现,但用户未评分的\n",
    "    candidate_items = set(rating_sim_dict.keys()) - rated_items\n",
    "\n",
    "    scores = {}\n",
    "    for candidate in candidate_items:\n",
    "        total_score = 0\n",
    "        count = 0\n",
    "        for rated in rated_items:\n",
    "            sim = get_hybrid_similarity(\n",
    "                rated, candidate, rating_sim_dict, weights, client, milvus_cache\n",
    "            )\n",
    "            total_score += sim\n",
    "            count += 1\n",
    "        avg_score = total_score / count if count > 0 else 0\n",
    "        scores[candidate] = avg_score\n",
    "\n",
    "    # 按照得分排序,返回 Top-N 推荐\n",
    "    recommended = sorted(scores.items(), key=lambda x: x[1], reverse=True)[:top_n]\n",
    "    return recommended\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [],
   "source": [
    "\n",
    "# ① 加载用户评分数据,CSV 文件中应至少包含 'user_id' 和 'asin' 字段\n",
    "user_rating_df = pd.read_csv(\"ratings.csv\")\n",
    "\n",
    "# ② 从预计算的 csv 文件中读取评分相似度数据(items_similar.csv)\n",
    "rating_sim_dict = compute_rating_similarity(\"items_similar.csv\")\n",
    "\n",
    "# ③ 配置混合相似度的权重\n",
    "weights = {\"rating\": 0.6, \"image\": 0.2, \"description\": 0.2}"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [],
   "source": [
    "\n",
    "# ④ 初始化 Milvus 客户端\n",
    "client = MilvusClient(uri=\"./Amazon_electronics.db\")\n",
    "\n",
    "# ⑤ 初始化 Milvus 查询缓存字典\n",
    "milvus_cache = {}\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Image similarity for B0055Q2VS8 and B00FDQQIJS: 0.08797657489776611\n",
      "Description similarity for B00171MWSO and B00SMQT014: 0.25822311639785767\n",
      "Description similarity for B0055Q2VS8 and B01A9DT8UU: 0.1503007411956787\n",
      "Image similarity for B005XU7OL0 and B00STOPZ18: 0.25617748498916626\n",
      "Image similarity for B00171MWSO and B013JRQRE8: 0.2458140254020691\n",
      "Description similarity for B00DY1R6PO and B00VER8E6A: 0.454379141330719\n",
      "Description similarity for B0055Q2VS8 and B01AT0WWI8: 0.12434381246566772\n",
      "Image similarity for B00171MWSO and B000EF1JEC: 0.263527512550354\n",
      "Description similarity for B005XU7OL0 and B000I3DTJS: 0.3128337860107422\n",
      "Image similarity for B008FKDK2M and B00PHGM3I4: 0.15652996301651\n",
      "Description similarity for B00171MWSO and B00004WJO4: 0.3122591972351074\n",
      "Description similarity for B007DJTBVK and B01A50RU9S: 0.25354552268981934\n",
      "Description similarity for B005XU7OL0 and B005J014VK: 0.3145676851272583\n",
      "Description similarity for B007DJTBVK and B01C5447XE: 0.2537350654602051\n",
      "Description similarity for B00DY1R6PO and B00FC4WJVC: 0.5086353421211243\n",
      "Image similarity for B007DJTBVK and B000WXJ5KQ: 0.3704742193222046\n",
      "Image similarity for B005XU7OL0 and B011ZCWI9W: 0.2788119912147522\n",
      "Description similarity for B008FKDK2M and B00K6JPPVY: 0.32407814264297485\n",
      "Image similarity for B00171MWSO and B017LUBO56: 0.27621376514434814\n",
      "Description similarity for B00171MWSO and B004M8WF90: 0.24394094944000244\n",
      "Image similarity for B008FKDK2M and B016ANCJYA: 0.16513365507125854\n",
      "Image similarity for B008FKDK2M and B013QR1JJY: 0.15907502174377441\n",
      "Image similarity for B005XU7OL0 and B004DEH3MW: 0.2722707986831665\n",
      "Image similarity for B007DJTBVK and B001U33MWE: 0.3480427861213684\n",
      "Description similarity for B00171MWSO and B0002LWLEU: 0.31445586681365967\n",
      "Image similarity for B00DY1R6PO and B00B8VXFK2: 0.2888890504837036\n",
      "Image similarity for B008FKDK2M and B00VJROWAC: 0.15008103847503662\n",
      "Image similarity for B007DJTBVK and B00QQTAF1S: 0.3835127353668213\n",
      "Description similarity for B007DJTBVK and B000R0DX66: 0.2530379891395569\n",
      "Image similarity for B008FKDK2M and B01H1RNPVU: 0.15713727474212646\n",
      "Image similarity for B00DY1R6PO and B00XYFK076: 0.25941169261932373\n",
      "Image similarity for B007DJTBVK and B001C4OTDM: 0.3704742193222046\n",
      "Description similarity for B007DJTBVK and B010EGV2YM: 0.24348855018615723\n",
      "Image similarity for B0055Q2VS8 and B00834SJNA: 0.07206374406814575\n",
      "Description similarity for B00171MWSO and B00IG0ETJE: 0.28258413076400757\n",
      "Description similarity for B008FKDK2M and B00K6B22WC: 0.2213039994239807\n",
      "Image similarity for B00DY1R6PO and B00DJKCWDQ: 0.2873784303665161\n",
      "Image similarity for B008FKDK2M and B01HJAHT02: 0.15624171495437622\n",
      "Description similarity for B00171MWSO and B00MUM4CZU: 0.2753235101699829\n",
      "Description similarity for B005XU7OL0 and B00GR4M7GI: 0.32069987058639526\n",
      "Image similarity for B008FKDK2M and B01G516D9O: 0.16154074668884277\n",
      "Description similarity for B00DY1R6PO and B00F9WV3F0: 0.35884523391723633\n",
      "Description similarity for B00DY1R6PO and B00XMHQVSI: 0.458885133266449\n",
      "Description similarity for B005XU7OL0 and B008P8FDPQ: 0.3098248839378357\n",
      "Image similarity for B007DJTBVK and B00DH3G9AC: 0.3757832646369934\n",
      "Description similarity for B00DY1R6PO and B00GP5E9P6: 0.43035924434661865\n",
      "Image similarity for B00171MWSO and B00176T9OY: 0.2941244840621948\n",
      "Image similarity for B00DY1R6PO and B01CGMP0CM: 0.2764616012573242\n",
      "Description similarity for B00171MWSO and B007J4BXMO: 0.3102991580963135\n",
      "Description similarity for B00DY1R6PO and B00P7K66ZQ: 0.47975051403045654\n",
      "Image similarity for B00171MWSO and B013JUD9TQ: 0.2458140254020691\n",
      "Image similarity for B0055Q2VS8 and B008VL43B2: 0.08758777379989624\n",
      "Image similarity for B00DY1R6PO and B00IEXBARC: 0.2818554639816284\n",
      "Description similarity for B00DY1R6PO and B00IEXBARC: 0.2994588613510132\n",
      "Image similarity for B00171MWSO and B0126J6WYK: 0.2892172336578369\n",
      "Description similarity for B005XU7OL0 and B00SXHARRI: 0.3287409543991089\n",
      "Description similarity for B007DJTBVK and B0055IX824: 0.24576199054718018\n",
      "Image similarity for B007DJTBVK and B0019D5CZK: 0.348324716091156\n",
      "Image similarity for B005XU7OL0 and B00SM8SEW8: 0.28543585538864136\n",
      "Image similarity for B00DY1R6PO and B012UFXCUM: 0.2880227565765381\n",
      "Image similarity for B00DY1R6PO and B005NI5F18: 0.2862279415130615\n",
      "Image similarity for B00171MWSO and B005ER3SDA: 0.28288161754608154\n",
      "Image similarity for B005XU7OL0 and B014OSULF2: 0.28096461296081543\n",
      "Description similarity for B008FKDK2M and B0090B591K: 0.3238760232925415\n",
      "Description similarity for B005XU7OL0 and B007IQNAOM: 0.30597561597824097\n",
      "Description similarity for B008FKDK2M and B00L6TNQJ6: 0.3021869659423828\n",
      "Description similarity for B00DY1R6PO and B00J0U8RG0: 0.22713983058929443\n",
      "Image similarity for B007DJTBVK and B001CI1FP8: 0.3704742193222046\n",
      "Image similarity for B008FKDK2M and B00OAYPDZE: 0.16428232192993164\n",
      "Description similarity for B008FKDK2M and B00MYIY2KK: 0.27774423360824585\n",
      "Image similarity for B0055Q2VS8 and B000WA0080: 0.059654414653778076\n",
      "Description similarity for B00171MWSO and B00138ZKV2: 0.30016201734542847\n",
      "Image similarity for B00171MWSO and B00N8PT2WQ: 0.24594545364379883\n",
      "Description similarity for B00171MWSO and B000BOWUG2: 0.30024003982543945\n",
      "Image similarity for B008FKDK2M and B00KN9YV0I: 0.16014641523361206\n",
      "Image similarity for B00171MWSO and B0091PS7TG: 0.27813541889190674\n",
      "Image similarity for B0055Q2VS8 and B006ICO0VE: 0.08095306158065796\n",
      "Description similarity for B007DJTBVK and B00BD9JR6K: 0.24962258338928223\n",
      "Image similarity for B007DJTBVK and B001HKPF20: 0.36890774965286255\n",
      "Description similarity for B005XU7OL0 and B00GMAYN6O: 0.3227913975715637\n",
      "Description similarity for B007DJTBVK and B017SPMAPC: 0.2551610469818115\n",
      "Image similarity for B0055Q2VS8 and B000H94W4O: 0.07223933935165405\n",
      "Description similarity for B008FKDK2M and B00JX9K770: 0.30310899019241333\n",
      "Description similarity for B00171MWSO and B00012UMT6: 0.31402552127838135\n",
      "Image similarity for B0055Q2VS8 and B00COQ4OF0: 0.07584154605865479\n",
      "Image similarity for B00DY1R6PO and B01H19U1GK: 0.28492438793182373\n",
      "Description similarity for B005XU7OL0 and B00JSP7GZ0: 0.3316425681114197\n",
      "Description similarity for B0055Q2VS8 and B000WA0012: 0.23907709121704102\n",
      "Description similarity for B00171MWSO and B000BOK3AM: 0.22139155864715576\n",
      "Description similarity for B007DJTBVK and B0032R9ZTK: 0.24878990650177002\n",
      "Description similarity for B00DY1R6PO and B00NIJZZTQ: 0.49997639656066895\n",
      "Description similarity for B008FKDK2M and B009X67FAA: 0.3178853988647461\n",
      "Image similarity for B007DJTBVK and B001OCX50U: 0.348324716091156\n",
      "Image similarity for B00171MWSO and B013E4YQZI: 0.2458140254020691\n",
      "Image similarity for B008FKDK2M and B016K1LN8A: 0.15339422225952148\n",
      "Image similarity for B00171MWSO and B00UX0414I: 0.29827141761779785\n",
      "Description similarity for B0055Q2VS8 and B000W9WKCK: 0.24082422256469727\n",
      "Description similarity for B005XU7OL0 and B00H98ZK1U: 0.33465564250946045\n",
      "Image similarity for B007DJTBVK and B001020DZO: 0.3704742193222046\n",
      "Image similarity for B00DY1R6PO and B00GUPB6T8: 0.28488826751708984\n",
      "Description similarity for B007DJTBVK and B005SEMYJS: 0.24084734916687012\n",
      "Image similarity for B007DJTBVK and B002NR1YOE: 0.36890774965286255\n",
      "Description similarity for B007DJTBVK and B00M0V02FA: 0.21180129051208496\n",
      "Description similarity for B005XU7OL0 and B01720ZLHC: 0.33031558990478516\n",
      "Image similarity for B005XU7OL0 and B00LUPI42U: 0.26484429836273193\n",
      "Description similarity for B007DJTBVK and B00NVMSDHQ: 0.24459189176559448\n",
      "Image similarity for B00171MWSO and B013K1MHHY: 0.2716689109802246\n",
      "Image similarity for B008FKDK2M and B00IXN6L3G: 0.14477324485778809\n",
      "Description similarity for B00DY1R6PO and B00DHHL6H4: 0.4700402021408081\n",
      "Image similarity for B0055Q2VS8 and B000MWSPJY: 0.07402437925338745\n",
      "Image similarity for B0055Q2VS8 and B00BOHNZ0A: 0.08201324939727783\n",
      "Image similarity for B00171MWSO and B00HG33E0M: 0.2800676226615906\n",
      "Image similarity for B008FKDK2M and B017LDFLE8: 0.15179961919784546\n",
      "Description similarity for B00DY1R6PO and B01GXBTMNK: 0.5041893720626831\n",
      "Description similarity for B00171MWSO and B001BXFKM8: 0.23650622367858887\n",
      "Image similarity for B0055Q2VS8 and B00PGNOL56: 0.0780838131904602\n",
      "Image similarity for B00DY1R6PO and B00ZEZTCPK: 0.285599946975708\n",
      "Image similarity for B007DJTBVK and B018V80DEK: 0.3785367012023926\n",
      "Description similarity for B005XU7OL0 and B01EJCJ5U0: 0.3261842727661133\n",
      "Description similarity for B008FKDK2M and B00X356BFW: 0.29914331436157227\n",
      "Description similarity for B008FKDK2M and B00JX9ES3Y: 0.3011532425880432\n",
      "Description similarity for B007DJTBVK and B01ABVIU90: 0.23171842098236084\n",
      "Description similarity for B00171MWSO and B00G4CWIHQ: 0.3188663125038147\n",
      "Image similarity for B007DJTBVK and B00C3UI8UE: 0.38364481925964355\n",
      "Description similarity for B00DY1R6PO and B000EHWCDW: 0.5040672421455383\n",
      "Description similarity for B00171MWSO and B000FIA4VW: 0.31983625888824463\n",
      "Description similarity for B00171MWSO and B00EVEIL9I: 0.2913728952407837\n",
      "Image similarity for B007DJTBVK and B004D1NX2O: 0.3771709203720093\n",
      "Description similarity for B0055Q2VS8 and B0000DC6B1: 0.2231159210205078\n",
      "Description similarity for B005XU7OL0 and B00DYB10ZG: 0.32270288467407227\n",
      "Description similarity for B007DJTBVK and B00FZ1ABQM: 0.23786771297454834\n",
      "Image similarity for B00171MWSO and B00MK9UD74: 0.27854204177856445\n",
      "Image similarity for B008FKDK2M and B013P01UDC: 0.14760088920593262\n",
      "Description similarity for B008FKDK2M and B00R4PGAU8: 0.3198254108428955\n",
      "Description similarity for B008FKDK2M and B00OT1B15O: 0.2668779492378235\n",
      "Image similarity for B005XU7OL0 and B00WPU24H0: 0.2788119912147522\n",
      "Description similarity for B007DJTBVK and B00KM9XD9E: 0.23742759227752686\n",
      "Description similarity for B007DJTBVK and B000WZ2AYM: 0.24611902236938477\n",
      "Description similarity for B007DJTBVK and B01GCFFGEG: 0.2329079508781433\n",
      "Image similarity for B005XU7OL0 and B01CKUUMMS: 0.28621262311935425\n",
      "Description similarity for B0055Q2VS8 and B00GYLGMBA: 0.18579554557800293\n",
      "Image similarity for B00171MWSO and B002MCAX1K: 0.25309067964553833\n",
      "Image similarity for B0055Q2VS8 and B00IRSX900: 0.08593612909317017\n",
      "Image similarity for B007DJTBVK and B00LHCAXBQ: 0.348324716091156\n",
      "Image similarity for B0055Q2VS8 and B01FIQZ0Q4: 0.04005861282348633\n",
      "Description similarity for B0055Q2VS8 and B01FIQZ0Q4: 0.14059758186340332\n",
      "Image similarity for B007DJTBVK and B00FQSAWDQ: 0.3736749291419983\n",
      "Image similarity for B00171MWSO and B013JRQTVE: 0.26642441749572754\n",
      "Image similarity for B007DJTBVK and B00UBQQCZK: 0.36930936574935913\n",
      "Image similarity for B0055Q2VS8 and B00019OWU4: 0.06297159194946289\n",
      "Description similarity for B0055Q2VS8 and B00019OWU4: 0.19488942623138428\n",
      "Image similarity for B00DY1R6PO and B003OSTER0: 0.2896268367767334\n",
      "Description similarity for B00171MWSO and B0002KH73Q: 0.26504361629486084\n",
      "Description similarity for B008FKDK2M and B00K6ARFTS: 0.28908276557922363\n",
      "Image similarity for B00DY1R6PO and B008O58GGI: 0.2861289978027344\n",
      "Image similarity for B005XU7OL0 and B01BVWVCU2: 0.2868584394454956\n",
      "Image similarity for B007DJTBVK and B001O92JEG: 0.3704742193222046\n",
      "Image similarity for B005XU7OL0 and B00SM8SHCA: 0.28543585538864136\n",
      "Description similarity for B008FKDK2M and B00QDEYTK4: 0.3178071975708008\n",
      "Description similarity for B005XU7OL0 and B006W3IWRW: 0.33436596393585205\n",
      "Image similarity for B0055Q2VS8 and B00OAK2N6U: 0.05189323425292969\n",
      "Description similarity for B008FKDK2M and B00U7OUZMC: 0.31906187534332275\n",
      "Description similarity for B0055Q2VS8 and B00AK9ZTRU: 0.23841005563735962\n",
      "Image similarity for B00DY1R6PO and B00G3ED5VS: 0.2252722978591919\n",
      "Description similarity for B00DY1R6PO and B00G3ED5VS: 0.4695131778717041\n",
      "Image similarity for B00DY1R6PO and B003Y7NM4M: 0.28935492038726807\n",
      "Image similarity for B005XU7OL0 and B018C2UK3Y: 0.2847612500190735\n",
      "Image similarity for B008FKDK2M and B00H5VQZZG: 0.13991516828536987\n",
      "Image similarity for B005XU7OL0 and B00B917QK6: 0.27571654319763184\n",
      "Description similarity for B007DJTBVK and B00UV7IUO0: 0.2531192898750305\n",
      "Image similarity for B007DJTBVK and B001CHZYRE: 0.3704742193222046\n",
      "Description similarity for B007DJTBVK and B001CHZYRE: 0.2531396150588989\n",
      "Description similarity for B0055Q2VS8 and B01A17DGGG: 0.21960145235061646\n",
      "Image similarity for B007DJTBVK and B003FSFEFK: 0.348324716091156\n",
      "Image similarity for B00171MWSO and B019F827KI: 0.28709477186203003\n",
      "Image similarity for B005XU7OL0 and B00WONKINK: 0.2788119912147522\n",
      "Image similarity for B00DY1R6PO and B019YQX48U: 0.26474374532699585\n",
      "Image similarity for B00DY1R6PO and B00F9P53JO: 0.2836672067642212\n",
      "Image similarity for B00DY1R6PO and B00777O1GS: 0.27621299028396606\n",
      "Image similarity for B008FKDK2M and B00KQS1BLS: 0.16014641523361206\n",
      "Description similarity for B00171MWSO and B001IQ7QAC: 0.23634934425354004\n",
      "Image similarity for B0055Q2VS8 and B00IOC9368: 0.0888986587524414\n",
      "Image similarity for B0055Q2VS8 and B004BDOTAE: 0.08748000860214233\n",
      "Description similarity for B008FKDK2M and B00CGU7SZW: 0.2926284074783325\n",
      "Image similarity for B00171MWSO and B0000659TT: 0.2805871367454529\n",
      "Description similarity for B00DY1R6PO and B01ET2ID9E: 0.5056321918964386\n",
      "Description similarity for B0055Q2VS8 and B000UPHZ30: 0.20434582233428955\n",
      "Image similarity for B008FKDK2M and B00H91U9VS: 0.16022813320159912\n",
      "Image similarity for B005XU7OL0 and B00JWZ5WX4: 0.2759869694709778\n",
      "Image similarity for B008FKDK2M and B00H5VPGUG: 0.13991516828536987\n",
      "Description similarity for B00DY1R6PO and B00LGMYH32: 0.31685322523117065\n",
      "Image similarity for B00DY1R6PO and B00S1OGNC6: 0.28968727588653564\n",
      "Image similarity for B007DJTBVK and B0019D6E66: 0.3480427861213684\n",
      "Description similarity for B007DJTBVK and B0074EKOS8: 0.23311328887939453\n",
      "Description similarity for B00171MWSO and B000F3NJUA: 0.25760430097579956\n",
      "Description similarity for B0055Q2VS8 and B0097C4WQU: 0.24135243892669678\n",
      "Image similarity for B007DJTBVK and B001CBUWRW: 0.3704742193222046\n",
      "Description similarity for B0055Q2VS8 and B00G21Z01A: 0.2407863736152649\n",
      "Image similarity for B005XU7OL0 and B000I2JUUG: 0.28018057346343994\n",
      "Description similarity for B008FKDK2M and B00IIWD8VA: 0.30001962184906006\n",
      "Description similarity for B005XU7OL0 and B00NJ592HA: 0.319094717502594\n",
      "Description similarity for B005XU7OL0 and B00PQKQCTM: 0.33299756050109863\n",
      "Description similarity for B00171MWSO and B0141PPNUG: 0.2884480953216553\n",
      "Description similarity for B00DY1R6PO and B00LGLP0AC: 0.31600403785705566\n",
      "Image similarity for B00DY1R6PO and B00ZGQY568: 0.2898740768432617\n",
      "Image similarity for B005XU7OL0 and B00WP4IRO0: 0.2788119912147522\n",
      "Image similarity for B008FKDK2M and B00JZSZI3C: 0.15843987464904785\n",
      "Image similarity for B008FKDK2M and B00VUS0STY: 0.15651369094848633\n",
      "Description similarity for B005XU7OL0 and B00J2PPEDW: 0.31692010164260864\n",
      "Image similarity for B0055Q2VS8 and B0007Q80IQ: 0.08978033065795898\n",
      "Description similarity for B005XU7OL0 and B00RGGVA46: 0.31361526250839233\n",
      "Image similarity for B005XU7OL0 and B00Q7VC8X8: 0.2827308177947998\n",
      "Description similarity for B00171MWSO and B00RL1EHR8: 0.3166053295135498\n",
      "Description similarity for B007DJTBVK and B00IGDJOW8: 0.24886232614517212\n",
      "Image similarity for B007DJTBVK and B001U35OMU: 0.3480427861213684\n",
      "Description similarity for B007DJTBVK and B001U35OMU: 0.254169225692749\n",
      "Image similarity for B007DJTBVK and B001CGE3XG: 0.3704742193222046\n",
      "Image similarity for B0055Q2VS8 and B004XW6W62: 0.0849388837814331\n",
      "Description similarity for B008FKDK2M and B00AI1BKQ4: 0.309070348739624\n",
      "Image similarity for B008FKDK2M and B00WNQ88MQ: 0.14963901042938232\n",
      "Image similarity for B00DY1R6PO and B017JZB78W: 0.2747529149055481\n",
      "Description similarity for B008FKDK2M and B005H4I5DS: 0.31671345233917236\n",
      "Image similarity for B007DJTBVK and B001CDCSOK: 0.3704742193222046\n",
      "Description similarity for B007DJTBVK and B00AF9LDKC: 0.2466369867324829\n",
      "Image similarity for B00DY1R6PO and B00JZH1P76: 0.2542814612388611\n",
      "Image similarity for B0055Q2VS8 and B008PQJWC8: 0.07996594905853271\n",
      "Image similarity for B0055Q2VS8 and B0084LZJ1M: 0.0815737247467041\n",
      "Image similarity for B00DY1R6PO and B016S7PGES: 0.28819751739501953\n",
      "Image similarity for B00171MWSO and B013JRQR0W: 0.2458140254020691\n",
      "Description similarity for B0055Q2VS8 and B00006Y0FB: 0.2303980588912964\n",
      "Image similarity for B008FKDK2M and B00H91Y856: 0.16022813320159912\n",
      "Image similarity for B0055Q2VS8 and B00GD78R3Q: 0.06790560483932495\n",
      "Description similarity for B008FKDK2M and B019Q3U72M: 0.31959742307662964\n",
      "Description similarity for B00DY1R6PO and B00FZLOH26: 0.4264441728591919\n",
      "Image similarity for B008FKDK2M and B01FZEK3V6: 0.1473885178565979\n",
      "Description similarity for B005XU7OL0 and B0117HSPWO: 0.32159852981567383\n",
      "Image similarity for B00171MWSO and B01F5E744A: 0.27147334814071655\n",
      "Description similarity for B007DJTBVK and B00U365Q3W: 0.2513483762741089\n",
      "Description similarity for B005XU7OL0 and B005POGL7W: 0.33528977632522583\n",
      "Image similarity for B0055Q2VS8 and B00PMM80MG: 0.07713115215301514\n",
      "Image similarity for B007DJTBVK and B0019D37MA: 0.348324716091156\n",
      "Description similarity for B008FKDK2M and B00DGIBJHG: 0.2911781072616577\n",
      "Image similarity for B007DJTBVK and B001FT8VJC: 0.3704742193222046\n",
      "Description similarity for B008FKDK2M and B00JX8ZD3E: 0.3241976499557495\n",
      "Description similarity for B0055Q2VS8 and B0000DC6AZ: 0.20279866456985474\n",
      "Image similarity for B005XU7OL0 and B00RXI5BME: 0.2748306393623352\n",
      "Description similarity for B005XU7OL0 and B00W6KGMKY: 0.29004955291748047\n",
      "Description similarity for B008FKDK2M and B00JTGRJZ0: 0.29934340715408325\n",
      "Description similarity for B007DJTBVK and B011CJ651K: 0.23974311351776123\n",
      "Image similarity for B008FKDK2M and B01CCX5N1S: 0.16377007961273193\n",
      "Description similarity for B00171MWSO and B00065L0U8: 0.25010502338409424\n",
      "Description similarity for B0055Q2VS8 and B000H6CBA4: 0.19636154174804688\n",
      "Description similarity for B00DY1R6PO and B00KAOT4LM: 0.46594107151031494\n",
      "Description similarity for B008FKDK2M and B008FW03V6: 0.2640991806983948\n",
      "Description similarity for B00DY1R6PO and B00Z6D0JI4: 0.39978528022766113\n",
      "Image similarity for B007DJTBVK and B0019D0YXA: 0.3480427861213684\n",
      "Description similarity for B005XU7OL0 and B00W0RNTKO: 0.3265773057937622\n",
      "Description similarity for B00DY1R6PO and B00N71QPL2: 0.49034273624420166\n",
      "Image similarity for B00DY1R6PO and B00RYS41FQ: 0.2898447513580322\n",
      "Image similarity for B005XU7OL0 and B011A1AEQ2: 0.2788119912147522\n",
      "Image similarity for B008FKDK2M and B00AF42WU2: 0.16172969341278076\n",
      "Description similarity for B008FKDK2M and B00KW193IM: 0.1274569034576416\n",
      "Image similarity for B00171MWSO and B01BX7WAOC: 0.2495042085647583\n",
      "Image similarity for B00171MWSO and B0007XP8FC: 0.2911888360977173\n",
      "Description similarity for B005XU7OL0 and B0067WL60I: 0.23306679725646973\n",
      "Image similarity for B00171MWSO and B005OV7U9E: 0.28873175382614136\n",
      "Description similarity for B0055Q2VS8 and B00VME3SY8: 0.17858588695526123\n",
      "Description similarity for B008FKDK2M and B00SIFTFBO: 0.18205153942108154\n",
      "Description similarity for B00DY1R6PO and B01A7XPZW2: 0.5068658590316772\n",
      "Image similarity for B005XU7OL0 and B005IX1H06: 0.28483426570892334\n",
      "Image similarity for B008FKDK2M and B01FG42HIM: 0.15651369094848633\n",
      "Image similarity for B007DJTBVK and B001CD9QJ0: 0.36890774965286255\n",
      "Image similarity for B005XU7OL0 and B00005UK9P: 0.28368186950683594\n",
      "Image similarity for B007DJTBVK and B0160KY1Y4: 0.382631778717041\n",
      "Description similarity for B005XU7OL0 and B013Q62O1W: 0.33064138889312744\n",
      "Description similarity for B0055Q2VS8 and B000A2AIKK: 0.24043548107147217\n",
      "Image similarity for B005XU7OL0 and B00WPU21E6: 0.2788119912147522\n",
      "Description similarity for B007DJTBVK and B009GQ55WC: 0.2469254732131958\n",
      "Image similarity for B0055Q2VS8 and B0015K903M: 0.019166111946105957\n",
      "Description similarity for B0055Q2VS8 and B0015K903M: 0.06473493576049805\n",
      "Image similarity for B008FKDK2M and B00XJDYEV6: 0.15651369094848633\n",
      "Image similarity for B00DY1R6PO and B01H46GEYI: 0.28927725553512573\n",
      "Image similarity for B008FKDK2M and B01FFG0ORW: 0.16310304403305054\n",
      "Image similarity for B00DY1R6PO and B00BYJW9MI: 0.281113862991333\n",
      "Description similarity for B005XU7OL0 and B01CHUUBZE: 0.33128613233566284\n",
      "Description similarity for B005XU7OL0 and B008VLMI6O: 0.2643502354621887\n",
      "Description similarity for B005XU7OL0 and B00MXWUO8Q: 0.3306847810745239\n",
      "Description similarity for B0055Q2VS8 and B0009K74PK: 0.20792686939239502\n",
      "Description similarity for B007DJTBVK and B0192I97SG: 0.23704135417938232\n",
      "Image similarity for B008FKDK2M and B00YTMZQH2: 0.15008103847503662\n",
      "Image similarity for B00DY1R6PO and B00B8VLEK0: 0.2888890504837036\n",
      "Description similarity for B008FKDK2M and B007VLV3KW: 0.2490370273590088\n",
      "Description similarity for B005XU7OL0 and B00DDXHAN6: 0.2909194231033325\n",
      "Image similarity for B00171MWSO and B01AL75ZMY: 0.2568977475166321\n",
      "Description similarity for B007DJTBVK and B004CEJTX4: 0.23471665382385254\n",
      "Image similarity for B008FKDK2M and B01E919T8Y: 0.13127213716506958\n",
      "Image similarity for B005XU7OL0 and B01D4JJ1O4: 0.20680809020996094\n",
      "Image similarity for B007DJTBVK and B001C3BA2G: 0.3704742193222046\n",
      "Image similarity for B00171MWSO and B01GTPT8IO: 0.2800692319869995\n",
      "Description similarity for B007DJTBVK and B00BUA4KTG: 0.23771846294403076\n",
      "Image similarity for B00DY1R6PO and B007BTULMU: 0.2847333550453186\n",
      "Image similarity for B0055Q2VS8 and B01F6P98GK: 0.09144032001495361\n",
      "Image similarity for B00171MWSO and B00P6MJLL6: 0.23982632160186768\n",
      "Description similarity for B007DJTBVK and B00SSWRE9C: 0.25423526763916016\n",
      "Description similarity for B00DY1R6PO and B00JDF8R1C: 0.45024430751800537\n",
      "Description similarity for B008FKDK2M and B00B0SZO0M: 0.3089861273765564\n",
      "Description similarity for B00DY1R6PO and B00JX6DSBA: 0.5081751346588135\n",
      "Description similarity for B007DJTBVK and B018USXZ0U: 0.2370852828025818\n",
      "Description similarity for B008FKDK2M and B00XQM3HBS: 0.319391667842865\n",
      "Description similarity for B0055Q2VS8 and B0000DCE6I: 0.2197015881538391\n",
      "Description similarity for B00171MWSO and B001E6VTMW: 0.31506139039993286\n",
      "Image similarity for B008FKDK2M and B01FZ3XIVE: 0.15966522693634033\n",
      "Description similarity for B00171MWSO and B00H4S4DZY: 0.3117333650588989\n",
      "Description similarity for B00DY1R6PO and B00MATVTB8: 0.5058420896530151\n",
      "Image similarity for B0055Q2VS8 and B00JFANUIK: 0.08132660388946533\n",
      "Image similarity for B007DJTBVK and B003L4SMBQ: 0.3480427861213684\n",
      "Image similarity for B00DY1R6PO and B003ZTYGPI: 0.2853543758392334\n",
      "Image similarity for B00171MWSO and B004MMEI5K: 0.2906101942062378\n",
      "Description similarity for B005XU7OL0 and B008DI0G3W: 0.32217085361480713\n",
      "Image similarity for B005XU7OL0 and B00ZE8UAQW: 0.2788119912147522\n",
      "Image similarity for B00171MWSO and B018UPHVH6: 0.25268489122390747\n",
      "Image similarity for B005XU7OL0 and B004DEJ21M: 0.2722707986831665\n",
      "Description similarity for B00DY1R6PO and B00KR6UWXW: 0.3891616463661194\n",
      "Image similarity for B007DJTBVK and B001GO000O: 0.348324716091156\n",
      "Description similarity for B007DJTBVK and B0017D0ENM: 0.2442944049835205\n",
      "Image similarity for B00171MWSO and B00J33XZNO: 0.2721872329711914\n",
      "Description similarity for B007DJTBVK and B004E2E50G: 0.25473833084106445\n",
      "Image similarity for B008FKDK2M and B00UFJW7PC: 0.16369831562042236\n",
      "Image similarity for B007DJTBVK and B001G5SPI2: 0.348324716091156\n",
      "Image similarity for B008FKDK2M and B00H5URJLG: 0.13991516828536987\n",
      "Description similarity for B005XU7OL0 and B00B5Q6DW2: 0.32696259021759033\n",
      "Description similarity for B008FKDK2M and B01H7HOQBW: 0.3123255968093872\n",
      "Description similarity for B0055Q2VS8 and B000CMIHCO: 0.23082184791564941\n",
      "Description similarity for B00171MWSO and B005R3WAVW: 0.22139155864715576\n",
      "Image similarity for B00171MWSO and B00YEH12ZW: 0.25764769315719604\n",
      "Description similarity for B00DY1R6PO and B00BH0QZYM: 0.4989163875579834\n",
      "Image similarity for B0055Q2VS8 and B00HMNDK5A: 0.07714962959289551\n",
      "Image similarity for B007DJTBVK and B019SZ4FLW: 0.37764406204223633\n",
      "Image similarity for B007DJTBVK and B013HU1OUO: 0.3786892890930176\n",
      "Description similarity for B0055Q2VS8 and B004DMBPPU: 0.24136829376220703\n",
      "Description similarity for B008FKDK2M and B00K6AHNWC: 0.25093114376068115\n",
      "Image similarity for B008FKDK2M and B00IS6A6VG: 0.15651369094848633\n",
      "Image similarity for B005XU7OL0 and B008B61C2U: 0.26944732666015625\n",
      "Image similarity for B007DJTBVK and B001OHGOYO: 0.348324716091156\n",
      "Description similarity for B0055Q2VS8 and B000CMGIRA: 0.2408517599105835\n",
      "Image similarity for B00DY1R6PO and B013SIZ5K0: 0.2719249725341797\n",
      "Description similarity for B005XU7OL0 and B008FXH2O6: 0.3024618625640869\n",
      "Description similarity for B00DY1R6PO and B00WRY5KMA: 0.4725853204727173\n",
      "Description similarity for B005XU7OL0 and B00ITLHPIW: 0.32192838191986084\n",
      "Image similarity for B00DY1R6PO and B0195YGJF6: 0.2740076780319214\n",
      "Description similarity for B00DY1R6PO and B00JV7WEDY: 0.47295236587524414\n",
      "Image similarity for B00171MWSO and B0152WJDJ4: 0.25651365518569946\n",
      "Description similarity for B00171MWSO and B00E1UFQK4: 0.2803024649620056\n",
      "Description similarity for B00171MWSO and B000FJ9E0S: 0.2565650939941406\n",
      "Description similarity for B007DJTBVK and B004E2JA1A: 0.2542746067047119\n",
      "Image similarity for B0055Q2VS8 and B00026CKAK: 0.07907688617706299\n",
      "Image similarity for B007DJTBVK and B003KZ31DK: 0.3704742193222046\n",
      "Image similarity for B00171MWSO and B00HN3UTQW: 0.29828059673309326\n",
      "Description similarity for B00DY1R6PO and B00VZYZX1Q: 0.4817928671836853\n",
      "Description similarity for B00171MWSO and B001ALGJCG: 0.22139155864715576\n",
      "Description similarity for B008FKDK2M and B00DGMC9XU: 0.2913787364959717\n",
      "Description similarity for B00171MWSO and B00JFB3QB0: 0.1840035319328308\n",
      "Image similarity for B008FKDK2M and B00VFSWLYO: 0.15008103847503662\n",
      "Image similarity for B005XU7OL0 and B00WPU21FA: 0.2788119912147522\n",
      "Description similarity for B007DJTBVK and B00MAJUYK0: 0.25487053394317627\n",
      "Image similarity for B0055Q2VS8 and B000ANO9X6: 0.09159499406814575\n",
      "Description similarity for B008FKDK2M and B018TG7I4W: 0.3149670362472534\n",
      "Image similarity for B00DY1R6PO and B014412BES: 0.279188871383667\n",
      "Image similarity for B00171MWSO and B01B41L8MM: 0.258247435092926\n",
      "Description similarity for B005XU7OL0 and B005WXL90K: 0.2771865129470825\n",
      "Image similarity for B0055Q2VS8 and B002VR9W1I: 0.08249026536941528\n",
      "Description similarity for B00171MWSO and B00O9PMOU6: 0.29606133699417114\n",
      "Image similarity for B008FKDK2M and B0142J0YIM: 0.1577301025390625\n",
      "Image similarity for B00DY1R6PO and B00XCWZFVW: 0.2833540439605713\n",
      "Image similarity for B00DY1R6PO and B017JYZ5AE: 0.2747529149055481\n",
      "Description similarity for B008FKDK2M and B008LQZSIO: 0.3211735486984253\n",
      "Image similarity for B005XU7OL0 and B008YL8GLW: 0.2876490354537964\n",
      "Description similarity for B00DY1R6PO and B00MATVRKQ: 0.49852627515792847\n",
      "Description similarity for B008FKDK2M and B0076UJVSY: 0.2977514863014221\n",
      "Image similarity for B007DJTBVK and B001SLSF5M: 0.3480427861213684\n",
      "Description similarity for B007DJTBVK and B0192R5SD0: 0.2504309415817261\n",
      "Description similarity for B00DY1R6PO and B00FGLBA1G: 0.48880118131637573\n",
      "Image similarity for B00171MWSO and B01F9KQ36K: 0.2663688659667969\n",
      "Image similarity for B007DJTBVK and B001GV5TMG: 0.36890774965286255\n",
      "Image similarity for B005XU7OL0 and B01ATOLD1Q: 0.27613043785095215\n",
      "Description similarity for B00DY1R6PO and B003ZWPS3O: 0.504329264163971\n",
      "Description similarity for B005XU7OL0 and B00JB5JME0: 0.33087438344955444\n",
      "Image similarity for B00171MWSO and B01G3K7Q4I: 0.23937642574310303\n",
      "Image similarity for B007DJTBVK and B001CHZPL4: 0.3704742193222046\n",
      "Description similarity for B00171MWSO and B00000DM9W: 0.2541472911834717\n",
      "Image similarity for B00DY1R6PO and B013S2RURC: 0.2842690944671631\n",
      "Image similarity for B008FKDK2M and B00KQRNTLY: 0.16014641523361206\n",
      "Image similarity for B008FKDK2M and B01GGUUO12: 0.15659767389297485\n",
      "Description similarity for B007DJTBVK and B004E2KV22: 0.2465829849243164\n",
      "Description similarity for B008FKDK2M and B004OLJHCI: 0.31132572889328003\n",
      "Image similarity for B005XU7OL0 and B01B6L2T3M: 0.28248000144958496\n",
      "Image similarity for B00171MWSO and B00UX044R2: 0.29571104049682617\n",
      "Description similarity for B00DY1R6PO and B00OCK4SAW: 0.33903467655181885\n",
      "Description similarity for B005XU7OL0 and B00JSP7HFO: 0.30988597869873047\n",
      "Image similarity for B008FKDK2M and B00Q6COC1E: 0.14651858806610107\n",
      "Description similarity for B005XU7OL0 and B00GMAS7K2: 0.32222282886505127\n",
      "Image similarity for B00DY1R6PO and B000L9FQUO: 0.2756049633026123\n",
      "Image similarity for B007DJTBVK and B003L3H5QA: 0.3480427861213684\n",
      "Description similarity for B007DJTBVK and B003L3H5QA: 0.2473546266555786\n",
      "Description similarity for B00DY1R6PO and B005F7CVDW: 0.4553264379501343\n",
      "Description similarity for B008FKDK2M and B0026SUMNY: 0.3093826174736023\n",
      "Description similarity for B005XU7OL0 and B00881QWP0: 0.3219897747039795\n",
      "Image similarity for B005XU7OL0 and B00EMMIFAY: 0.2599180340766907\n",
      "Description similarity for B00DY1R6PO and B00JTIBUDK: 0.4989163875579834\n",
      "Description similarity for B0055Q2VS8 and B00112DM9C: 0.23471474647521973\n",
      "Image similarity for B00DY1R6PO and B00BYJWDVU: 0.27382057905197144\n",
      "Image similarity for B008FKDK2M and B01FBQI8X8: 0.16154444217681885\n",
      "Description similarity for B007DJTBVK and B0046A0H44: 0.2447664737701416\n",
      "Image similarity for B0055Q2VS8 and B012B7SEY8: 0.0885077714920044\n",
      "Description similarity for B008FKDK2M and B0142EBSPK: 0.3131132125854492\n",
      "Description similarity for B00171MWSO and B001L31FJU: 0.2667006254196167\n",
      "Image similarity for B00DY1R6PO and B003ZU5V8S: 0.2853543758392334\n",
      "Description similarity for B008FKDK2M and B00AW73XR8: 0.30145782232284546\n",
      "Image similarity for B00171MWSO and B016Q0LHF4: 0.26445770263671875\n",
      "Image similarity for B0055Q2VS8 and B00KYF1LLI: 0.07083451747894287\n",
      "Description similarity for B005XU7OL0 and B00W56SRNO: 0.30723482370376587\n",
      "Image similarity for B00171MWSO and B01C86293Y: 0.2631804943084717\n",
      "Description similarity for B00171MWSO and B00EVEILXO: 0.2638061046600342\n",
      "Image similarity for B00171MWSO and B0003NGSPU: 0.29024356603622437\n",
      "Image similarity for B007DJTBVK and B001O94F8E: 0.3704742193222046\n",
      "Image similarity for B005XU7OL0 and B00ULZ0NYW: 0.2884257435798645\n",
      "Image similarity for B005XU7OL0 and B011QRWTIQ: 0.27700483798980713\n",
      "Image similarity for B00DY1R6PO and B00GNDV8ZE: 0.28693538904190063\n",
      "Image similarity for B005XU7OL0 and B012HYF4A2: 0.2870800495147705\n",
      "Description similarity for B00171MWSO and B001G6LJPW: 0.2852950096130371\n",
      "Description similarity for B0055Q2VS8 and B00KW2NHP6: 0.12970536947250366\n",
      "Description similarity for B007DJTBVK and B0055Q4OGU: 0.24334943294525146\n",
      "Description similarity for B005XU7OL0 and B00ELQGAIA: 0.32500898838043213\n",
      "Image similarity for B0055Q2VS8 and B001QTW9F8: 0.07890546321868896\n",
      "Description similarity for B00DY1R6PO and B00PE2Z7OS: 0.4976238012313843\n",
      "Description similarity for B005XU7OL0 and B00VUTLBK8: 0.3308902978897095\n",
      "Description similarity for B007DJTBVK and B004BOV9NI: 0.2536299228668213\n",
      "Description similarity for B00DY1R6PO and B00AF5E2KO: 0.5000194907188416\n",
      "Description similarity for B0055Q2VS8 and B0058UQ3X0: 0.238297700881958\n",
      "Description similarity for B0055Q2VS8 and B0000DC6B0: 0.19495362043380737\n",
      "Image similarity for B00DY1R6PO and B00JRV637C: 0.27955758571624756\n",
      "Image similarity for B005XU7OL0 and B01A90CH4M: 0.2592434883117676\n",
      "Image similarity for B008FKDK2M and B00SSNIKV2: 0.16286581754684448\n",
      "Description similarity for B00171MWSO and B01CTX7T7W: 0.2949177026748657\n",
      "Image similarity for B005XU7OL0 and B00L590V4U: 0.26769471168518066\n",
      "Description similarity for B0055Q2VS8 and B00112DMEC: 0.23664265871047974\n",
      "Description similarity for B0055Q2VS8 and B0000E659N: 0.20950430631637573\n",
      "Description similarity for B0055Q2VS8 and B0009Q1MM0: 0.18348127603530884\n",
      "Description similarity for B00171MWSO and B001LQN5KY: 0.28647559881210327\n",
      "Description similarity for B0055Q2VS8 and B000W9YKNC: 0.23850727081298828\n",
      "Description similarity for B007DJTBVK and B00CMVE2AO: 0.2520139813423157\n",
      "Image similarity for B00171MWSO and B00DFPSCRA: 0.2928234338760376\n",
      "Description similarity for B008FKDK2M and B01CYIFOHE: 0.3252204656600952\n",
      "Description similarity for B0055Q2VS8 and B00IZGR2V6: 0.08833950757980347\n",
      "Image similarity for B007DJTBVK and B01CHF9PHO: 0.37683093547821045\n",
      "Image similarity for B00DY1R6PO and B01FSBDFM0: 0.28056883811950684\n",
      "Description similarity for B00171MWSO and B00NHFHCVU: 0.28784215450286865\n",
      "Description similarity for B00DY1R6PO and B00PFGXIVM: 0.45308029651641846\n",
      "Image similarity for B0055Q2VS8 and B017S58DN0: 0.08557188510894775\n",
      "Image similarity for B0055Q2VS8 and B019ZTZV5A: 0.06376075744628906\n",
      "Description similarity for B0055Q2VS8 and B019ZTZV5A: 0.14141219854354858\n",
      "Image similarity for B008FKDK2M and B00GPUEOVK: 0.16022813320159912\n",
      "Description similarity for B008FKDK2M and B00AOCX0QU: 0.32143640518188477\n",
      "Description similarity for B00DY1R6PO and B00DHHFPA8: 0.49642157554626465\n",
      "Description similarity for B00171MWSO and B000BJ0CSU: 0.2892279624938965\n",
      "Description similarity for B005XU7OL0 and B00VGWUKGU: 0.32293081283569336\n",
      "Description similarity for B008FKDK2M and B00KR4ENV6: 0.24840277433395386\n",
      "Description similarity for B00DY1R6PO and B006YTWKMM: 0.4989163875579834\n",
      "Description similarity for B007DJTBVK and B00MX7YQ9O: 0.2505031228065491\n",
      "Image similarity for B005XU7OL0 and B01BVWVDU6: 0.28492021560668945\n",
      "Image similarity for B0055Q2VS8 and B019H55V84: 0.0715150237083435\n",
      "Description similarity for B005XU7OL0 and B00BUC1TDY: 0.33583390712738037\n",
      "Image similarity for B007DJTBVK and B00JD1CI34: 0.3803534507751465\n",
      "Image similarity for B005XU7OL0 and B00W77DZ0G: 0.27284401655197144\n",
      "Description similarity for B008FKDK2M and B00LUIKY4S: 0.22634923458099365\n",
      "Image similarity for B007DJTBVK and B001020MP0: 0.3704742193222046\n",
      "Image similarity for B005XU7OL0 and B00SMGMWVO: 0.28256434202194214\n",
      "Image similarity for B008FKDK2M and B00H91RRLI: 0.16022813320159912\n",
      "Image similarity for B007DJTBVK and B001CKMPOQ: 0.36890774965286255\n",
      "Image similarity for B0055Q2VS8 and B014KMW6XW: 0.06822013854980469\n",
      "Description similarity for B0055Q2VS8 and B014KH8XL6: 0.19582831859588623\n",
      "Image similarity for B005XU7OL0 and B016P81RZM: 0.28601324558258057\n",
      "Image similarity for B007DJTBVK and B00D85LGIE: 0.3664510250091553\n",
      "Image similarity for B007DJTBVK and B004D1UMNC: 0.3771709203720093\n",
      "Image similarity for B00DY1R6PO and B018JAJRAQ: 0.28262221813201904\n",
      "Description similarity for B00DY1R6PO and B018JAJRAQ: 0.27719390392303467\n",
      "Image similarity for B008FKDK2M and B01CD6A580: 0.14888757467269897\n",
      "Description similarity for B005XU7OL0 and B00R7CC3YK: 0.3095031976699829\n",
      "Description similarity for B00DY1R6PO and B01DF28CBI: 0.505385011434555\n",
      "Description similarity for B00171MWSO and B001JDI1LW: 0.2819158434867859\n",
      "Image similarity for B008FKDK2M and B00HSVWFVQ: 0.15651369094848633\n",
      "Image similarity for B00171MWSO and B016D6YV3G: 0.24935650825500488\n",
      "Image similarity for B0055Q2VS8 and B019ZU8QSI: 0.07487857341766357\n",
      "Description similarity for B005XU7OL0 and B01EJ2CQ7O: 0.29759520292282104\n",
      "Description similarity for B00DY1R6PO and B00KMNCPEO: 0.34610772132873535\n",
      "Description similarity for B005XU7OL0 and B00MYGFZLM: 0.3320024609565735\n",
      "Description similarity for B008FKDK2M and B00LUIHZZE: 0.18794280290603638\n",
      "Description similarity for B00DY1R6PO and B0056CDB62: 0.5074806809425354\n",
      "Image similarity for B0055Q2VS8 and B009A8ZHW4: 0.06836938858032227\n",
      "Image similarity for B005XU7OL0 and B00WPU23GM: 0.2788119912147522\n",
      "Description similarity for B00171MWSO and B000H69S32: 0.26857495307922363\n",
      "Image similarity for B00DY1R6PO and B00LVEJCW6: 0.2880479097366333\n",
      "Description similarity for B007DJTBVK and B001GLWSI4: 0.25456368923187256\n",
      "Image similarity for B00171MWSO and B00M5RPDQC: 0.2942962050437927\n",
      "Description similarity for B008FKDK2M and B00LWQ2GS0: 0.21220123767852783\n",
      "Image similarity for B005XU7OL0 and B00BTH2Y2A: 0.28702884912490845\n",
      "Description similarity for B00DY1R6PO and B01FXFZ0NS: 0.45749402046203613\n",
      "Image similarity for B005XU7OL0 and B00WHP6J7Y: 0.28256547451019287\n",
      "Image similarity for B00171MWSO and B00FPJ7TJ6: 0.2893744707107544\n",
      "Description similarity for B007DJTBVK and B008YIENXK: 0.24866998195648193\n",
      "Image similarity for B00171MWSO and B01CQZ5Y5C: 0.2705613374710083\n",
      "Description similarity for B005XU7OL0 and B00DDXHHCK: 0.30031001567840576\n",
      "Image similarity for B008FKDK2M and B01DM9VVY4: 0.1636713743209839\n",
      "Image similarity for B00DY1R6PO and B00NIQ5X8M: 0.27764225006103516\n",
      "Description similarity for B008FKDK2M and B01DA1SAVG: 0.2894187569618225\n",
      "Description similarity for B0055Q2VS8 and B0009PVUEG: 0.22774344682693481\n",
      "Image similarity for B00DY1R6PO and B00APDGIUS: 0.24600541591644287\n",
      "Image similarity for B0055Q2VS8 and B0018LO1R8: 0.0740429162979126\n",
      "Description similarity for B008FKDK2M and B00NNGUDLO: 0.31427472829818726\n",
      "Image similarity for B0055Q2VS8 and B00KYIK7C4: 0.08017641305923462\n",
      "Description similarity for B00DY1R6PO and B00PE2QWP6: 0.504217654466629\n",
      "Image similarity for B0055Q2VS8 and B000OIZ3QE: 0.06818187236785889\n",
      "Description similarity for B0055Q2VS8 and B01EIP37IY: 0.1540597677230835\n",
      "Image similarity for B00DY1R6PO and B00OTJX4JC: 0.28936171531677246\n",
      "Image similarity for B008FKDK2M and B01GOA6TFY: 0.16348809003829956\n",
      "Image similarity for B008FKDK2M and B01E5EBNJ8: 0.15827465057373047\n",
      "Image similarity for B00DY1R6PO and B00359NTBU: 0.28301215171813965\n",
      "Image similarity for B0055Q2VS8 and B0042KFLIU: 0.07618910074234009\n",
      "Description similarity for B007DJTBVK and B002MZXOOU: 0.2503345012664795\n",
      "Description similarity for B00171MWSO and B01G3YTCZU: 0.27370554208755493\n",
      "Image similarity for B005XU7OL0 and B00RCSU7OW: 0.2811446785926819\n",
      "Image similarity for B00DY1R6PO and B00377YJ64: 0.2891550064086914\n",
      "Description similarity for B007DJTBVK and B004BOQ0M8: 0.25371676683425903\n",
      "Description similarity for B005XU7OL0 and B00PQKQB5M: 0.3320005536079407\n",
      "Image similarity for B00171MWSO and B00XZD2020: 0.29558801651000977\n",
      "Image similarity for B008FKDK2M and B01EFRQC82: 0.1640404462814331\n",
      "Description similarity for B00171MWSO and B00004YJZQ: 0.31172239780426025\n",
      "Image similarity for B0055Q2VS8 and B008GQZMUI: 0.08398133516311646\n",
      "Description similarity for B00171MWSO and B001VNLRPC: 0.3029453754425049\n",
      "Image similarity for B0055Q2VS8 and B00IVI3FSM: 0.07427120208740234\n",
      "Image similarity for B008FKDK2M and B01FLDPOJ2: 0.1453566551208496\n",
      "Description similarity for B00DY1R6PO and B00O8KRURO: 0.4650959372520447\n",
      "Description similarity for B008FKDK2M and B00AQC5840: 0.31075984239578247\n",
      "Image similarity for B00171MWSO and B000F3RI3Y: 0.29139745235443115\n",
      "Image similarity for B005XU7OL0 and B0174UG82C: 0.2731475234031677\n",
      "Description similarity for B00DY1R6PO and B001TIQ6SW: 0.5047598481178284\n",
      "Description similarity for B00DY1R6PO and B01D8J828Q: 0.2752199172973633\n",
      "Image similarity for B005XU7OL0 and B01BY5FWRK: 0.2778925895690918\n",
      "Description similarity for B00DY1R6PO and B00DHHEJVO: 0.499825656414032\n",
      "Image similarity for B00171MWSO and B01C8CWLR2: 0.29827141761779785\n",
      "Image similarity for B0055Q2VS8 and B00GS0EI04: 0.08041560649871826\n",
      "Image similarity for B005XU7OL0 and B00JVLVKSK: 0.28784048557281494\n",
      "Image similarity for B0055Q2VS8 and B00I1AHH1Q: 0.091156005859375\n",
      "Description similarity for B0055Q2VS8 and B0009PM4W8: 0.21183288097381592\n",
      "Image similarity for B008FKDK2M and B002EVPAYY: 0.14657235145568848\n",
      "Description similarity for B005XU7OL0 and B00EUCKQ3A: 0.3273952007293701\n",
      "Description similarity for B007DJTBVK and B00B46XU60: 0.2536925673484802\n",
      "Description similarity for B008FKDK2M and B00HWLTUI8: 0.31299662590026855\n",
      "Image similarity for B00171MWSO and B00STH836E: 0.25184690952301025\n",
      "Description similarity for B0055Q2VS8 and B00009WO2S: 0.23858731985092163\n",
      "Description similarity for B0055Q2VS8 and B00GFSKQI2: 0.14971452951431274\n",
      "Description similarity for B007DJTBVK and B00B78EDIO: 0.24171841144561768\n",
      "Image similarity for B0055Q2VS8 and B005GRETMM: 0.08542561531066895\n",
      "Image similarity for B007DJTBVK and B00KH6MT4W: 0.38169026374816895\n",
      "Description similarity for B007DJTBVK and B01G1RZKBY: 0.24032771587371826\n",
      "Description similarity for B0055Q2VS8 and B0009PVUE6: 0.20193850994110107\n",
      "Image similarity for B00171MWSO and B0196AN9WU: 0.2972642183303833\n",
      "Image similarity for B0055Q2VS8 and B00HMNFW92: 0.07714962959289551\n",
      "Image similarity for B005XU7OL0 and B0174TY3SY: 0.2731475234031677\n",
      "Image similarity for B005XU7OL0 and B0196AN9Z2: 0.2810995578765869\n",
      "Description similarity for B008FKDK2M and B00WW0N2Q0: 0.25148093700408936\n",
      "Image similarity for B005XU7OL0 and B017VYOZLC: 0.28599339723587036\n",
      "Image similarity for B00171MWSO and B01ESSPTHS: 0.2725293040275574\n",
      "Description similarity for B0055Q2VS8 and B01DHFNZSI: 0.16154015064239502\n",
      "Description similarity for B007DJTBVK and B005K4700O: 0.248518705368042\n",
      "Description similarity for B005XU7OL0 and B005WXL8LK: 0.2986530065536499\n",
      "为用户 A0001528BGUBOEVR6T5U 推荐的商品列表:\n",
      "ASIN: B00NW32424,得分: 0.1804\n",
      "ASIN: B00022OCDC,得分: 0.1796\n",
      "ASIN: B00KGXFVVY,得分: 0.1792\n",
      "ASIN: B000F277QS,得分: 0.1787\n",
      "ASIN: B00SED9BSM,得分: 0.1696\n",
      "ASIN: B005Q2NX2O,得分: 0.1634\n",
      "ASIN: B005OM0URW,得分: 0.1631\n",
      "ASIN: B0051XHY14,得分: 0.1576\n",
      "ASIN: B000EZUDQ2,得分: 0.1575\n",
      "ASIN: B00M0DTI5I,得分: 0.0954\n"
     ]
    }
   ],
   "source": [
    "# ⑥ 指定目标用户(替换为实际用户ID)\n",
    "target_user = \"A0001528BGUBOEVR6T5U\"\n",
    "recommendations = recommend_for_user(\n",
    "    target_user,\n",
    "    user_rating_df,\n",
    "    rating_sim_dict,\n",
    "    weights,\n",
    "    client,\n",
    "    milvus_cache,\n",
    "    top_n=10,\n",
    ")\n",
    "\n",
    "print(f\"为用户 {target_user} 推荐的商品列表:\")\n",
    "for asin, score in recommendations:\n",
    "    print(f\"ASIN: {asin},得分: {score:.4f}\")"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": ".venv (3.12.3)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.12.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}