{"id":68502,"date":"2026-12-01T09:18:20","date_gmt":"2026-12-01T01:18:20","guid":{"rendered":"https:\/\/www.biocloudservice.com\/wordpress\/?p=68502"},"modified":"2026-12-01T09:18:20","modified_gmt":"2026-12-01T01:18:20","slug":"%e5%9b%9b%e4%b8%aa%e6%a0%b7%e6%9c%ac%e9%83%bd%e7%94%bb%e5%87%ba%e4%ba%86%e7%bb%86%e8%83%9e%e9%80%9a%e8%ae%af%e7%bd%91%e7%bb%9c%ef%bc%8c%e6%80%8e%e6%a0%b7%e7%9c%8b%e5%87%ba%e5%93%aa%e4%ba%9b%e4%bf%a1","status":"publish","type":"post","link":"https:\/\/www.biocloudservice.com\/wordpress\/%e5%9b%9b%e4%b8%aa%e6%a0%b7%e6%9c%ac%e9%83%bd%e7%94%bb%e5%87%ba%e4%ba%86%e7%bb%86%e8%83%9e%e9%80%9a%e8%ae%af%e7%bd%91%e7%bb%9c%ef%bc%8c%e6%80%8e%e6%a0%b7%e7%9c%8b%e5%87%ba%e5%93%aa%e4%ba%9b%e4%bf%a1\/","title":{"rendered":"\u56db\u4e2a\u6837\u672c\u90fd\u753b\u51fa\u4e86\u7ec6\u80de\u901a\u8baf\u7f51\u7edc\uff0c\u600e\u6837\u770b\u51fa\u54ea\u4e9b\u4fe1\u53f7\u5728\u4e00\u8d77\u53d8\u5316\uff1f\u7528 cell2cell \u505a\u4e00\u6b21\u5f20\u91cf\u5206\u89e3"},"content":{"rendered":"<div id=\"articleContent\" style=\"max-width:860px;min-width:0;margin:auto;font-size:17px;line-height:1.85;\">\n<p>\u628a\u6bcf\u4e2a\u6837\u672c\u7684\u7ec6\u80de\u901a\u8baf\u753b\u6210\u4e00\u5f20\u5706\u5708\u56fe\uff0c\u9a6c\u4e0a\u5c31\u80fd\u770b\u51fa\u54ea\u4e2a\u7ec6\u80de\u7fa4\u8fde\u51fa\u53bb\u7684\u7ebf\u591a\u3002\u53ef\u4e00\u65e6\u8ffd\u95ee\u201c\u540c\u4e00\u6279\u914d\u4f53\u53d7\u4f53\uff0c\u5728\u4e0d\u540c\u6837\u672c\u91cc\u662f\u5426\u603b\u4ece\u540c\u4e00\u79cd\u7ec6\u80de\u53d1\u5f80\u540c\u4e00\u4e2a\u5bf9\u8c61\u201d\uff0c\u773c\u775b\u5c31\u5f97\u5728\u51e0\u5f20\u56fe\u4e4b\u95f4\u6765\u56de\u627e\u7ebf\u3002\u628a\u6240\u6709\u6837\u672c\u5408\u5728\u4e00\u8d77\u6c42\u5747\u503c\uff0c\u53c8\u4f1a\u62b9\u6389\u539f\u6765\u60f3\u6bd4\u8f83\u7684\u6837\u672c\u5dee\u5f02\u3002cell2cell \u4ed3\u5e93\u91cc\u6709\u4e00\u4e2a\u9488\u5bf9\u8fd9\u4e2a\u95ee\u9898\u7684\u65b9\u6cd5 Tensor-cell2cell\uff0c\u5b83\u628a\u6bcf\u6761\u8bb0\u5f55\u7684\u56db\u4e2a\u5750\u6807\u90fd\u4fdd\u7559\u4e0b\u6765\uff0c\u518d\u5bfb\u627e\u53cd\u590d\u51fa\u73b0\u7684\u7ec4\u5408\u3002<a href=\"https:\/\/github.com\/earmingol\/cell2cell\">\u8f6f\u4ef6\u4ed3\u5e93<\/a> \u00b7 <a href=\"https:\/\/doi.org\/10.1038\/s41467-022-31369-2\">\u4f5c\u8005\u53d1\u8868\u7684\u65b9\u6cd5\u8bba\u6587<\/a><\/p>\n<h2 style=\"margin-top:30px;color:#183850;\">\u4ece\u901a\u8baf\u957f\u8868\u7406\u89e3\u56db\u4e2a\u8f74<\/h2>\n<p>\u5047\u8bbe\u4e00\u884c\u5199\u7740\u201c\u6837\u672c\u7532\uff0c\u914d\u4f53\u4e00\u548c\u53d7\u4f53\u4e00\uff0c\u53d1\u9001\u65b9\u4e3a\u5de8\u566c\u7ec6\u80de\uff0c\u63a5\u6536\u65b9\u4e3a\u4e0a\u76ae\u7ec6\u80de\uff0c\u5f97\u5206\u4e3a\u67d0\u4e2a\u6570\u201d\u3002\u628a\u8fd9\u6837\u7684\u957f\u8868\u6309\u6837\u672c\u3001\u914d\u4f53\u53d7\u4f53\u5bf9\u3001\u53d1\u9001\u7ec6\u80de\u7c7b\u578b\u3001\u63a5\u6536\u7ec6\u80de\u7c7b\u578b\u6392\u5217\uff0c\u6bcf\u4e2a\u6570\u5c31\u6709\u4e86\u56fa\u5b9a\u4f4d\u7f6e\u3002\u8fd9\u4fbf\u662f\u8fd9\u91cc\u8bf4\u7684\u56db\u7ef4\u5f20\u91cf\u3002\u53ea\u628a\u53d1\u9001\u65b9\u548c\u63a5\u6536\u65b9\u4e92\u6362\uff0c\u5c31\u6362\u6210\u4e86\u53e6\u4e00\u6761\u751f\u7269\u5b66\u5047\u8bbe\u3002\u53ea\u628a\u6837\u672c\u6362\u6389\uff0c\u5219\u53ef\u4ee5\u6bd4\u8f83\u540c\u4e00\u6761\u901a\u8baf\u5728\u4e0d\u540c\u4e2a\u4f53\u91cc\u7684\u8868\u73b0\u3002\u5f97\u5206\u672c\u8eab\u6765\u81ea\u524d\u9762\u7684\u901a\u8baf\u63a8\u65ad\uff1b\u5b83\u53cd\u6620\u7684\u542b\u4e49\u53d6\u51b3\u4e8e\u4e0a\u6e38\u7528\u4e86\u54ea\u79cd\u8868\u8fbe\u6c47\u603b\u548c\u8bc4\u5206\u65b9\u6cd5\u3002<\/p>\n<p>\u5982\u679c\u4e00\u4e2a\u7ec4\u7ec7\u4e2d\u4e24\u79cd\u7ec6\u80de\u7ecf\u5e38\u5171\u540c\u51fa\u73b0\uff0c\u591a\u6761\u914d\u4f53\u53d7\u4f53\u5bf9\u4e5f\u53ef\u80fd\u540c\u6b65\u589e\u5f3a\u3002\u9010\u6761\u770b\uff0c\u8fd9\u4e9b\u8fb9\u597d\u50cf\u5404\u81ea\u4ee3\u8868\u4e00\u9879\u53d1\u73b0\u3002\u5f20\u91cf\u5206\u89e3\u5c1d\u8bd5\u7528\u5c11\u6570\u51e0\u4e2a\u6a21\u5f0f\u91cd\u6784\u8fd9\u4e9b\u5f97\u5206\u3002\u6bcf\u4e2a\u6a21\u5f0f\u7ed9\u56db\u6839\u8f74\u5404\u5206\u914d\u4e00\u5217\u6743\u91cd\uff0c\u53d6\u67d0\u4e2a\u6837\u672c\u3001\u67d0\u4e2a\u5206\u5b50\u5bf9\u3001\u67d0\u4e2a\u53d1\u9001\u65b9\u548c\u63a5\u6536\u65b9\u7684\u56db\u4e2a\u6743\u91cd\u76f8\u4e58\uff0c\u518d\u8ba1\u5165\u6a21\u5f0f\u7684\u6574\u4f53\u5c3a\u5ea6\uff0c\u5c31\u80fd\u7b97\u51fa\u8be5\u6a21\u5f0f\u5bf9\u90a3\u4e2a\u4f4d\u7f6e\u7684\u8d21\u732e\u3002\u628a\u6240\u6709\u6a21\u5f0f\u7684\u8d21\u732e\u76f8\u52a0\uff0c\u5f97\u5230\u5bf9\u539f\u59cb\u4f4d\u7f6e\u7684\u8fd1\u4f3c\u3002\u4e00\u4e2a\u6837\u672c\u53ef\u4ee5\u540c\u65f6\u53d7\u5230\u51e0\u79cd\u6a21\u5f0f\u5f71\u54cd\uff0c\u8fd9\u8ba9\u6a21\u578b\u80fd\u63cf\u8ff0\u7ec4\u7ec7\u91cc\u7684\u6df7\u5408\u53d8\u5316\u3002<a href=\"https:\/\/cell2cell.readthedocs.io\/en\/latest\/tutorials\/ASD\/01-Tensor-Factorization-ASD\/\">\u4f5c\u8005\u7684\u591a\u6837\u672c\u5206\u6790\u6559\u7a0b<\/a><\/p>\n<h2 style=\"margin-top:30px;color:#183850;\">\u5148\u653e\u8fdb\u53bb\u4e24\u79cd\u5df2\u77e5\u6a21\u5f0f\uff0c\u770b\u80fd\u5426\u627e\u56de\u6765<\/h2>\n<p>\u4e3a\u4e86\u4f7f\u8bfb\u8005\u80fd\u6838\u5bf9\u7b54\u6848\uff0c\u6211\u4eec\u9020\u4e86\u4e00\u5f20\u56db\u5341\u516b\u884c\u7684\u901a\u8baf\u8868\u3002\u56db\u4e2a\u6a21\u62df\u6837\u672c\u53eb C1\u3001C2\u3001P1\u3001P2\uff0c\u6709\u4e09\u79cd\u865a\u6784\u7684\u914d\u4f53\u53d7\u4f53\u5bf9\uff0c\u4e24\u79cd\u53d1\u9001\u7ec6\u80de\uff0c\u4e24\u79cd\u63a5\u6536\u7ec6\u80de\u3002\u7b2c\u4e00\u79cd\u6a21\u5f0f\u7ed9 C1 \u548c C2 \u8f83\u9ad8\u7684\u6743\u91cd\uff0c\u4e3b\u8981\u901a\u8fc7 L1-R1 \u4ece A \u6307\u5411 X\u3002\u7b2c\u4e8c\u79cd\u5728 P1 \u548c P2 \u8f83\u5f3a\uff0c\u901a\u8fc7 L3-R3 \u4ece B \u6307\u5411 Y\u3002\u5176\u4f59\u4f4d\u7f6e\u4e5f\u7ed9\u4e88\u5c0f\u7684\u6b63\u6743\u91cd\uff0c\u56e0\u6b64\u540c\u4e00\u683c\u53ef\u4ee5\u540c\u65f6\u5f97\u5230\u4e24\u79cd\u6a21\u5f0f\u7684\u8d21\u732e\u3002\u8fd9\u91cc\u6ca1\u6709\u771f\u5b9e\u75c5\u4eba\u3001\u5b9e\u9645\u57fa\u56e0\u6216\u4e34\u5e8a\u5206\u7ec4\uff0c\u5b57\u6bcd\u53ea\u7528\u6765\u6807\u8bc6\u884c\u5217\u3002<\/p>\n<p>\u628a\u4e24\u4e2a\u6a21\u5f0f\u76f8\u52a0\u751f\u6210\u8f93\u5165\u540e\uff0c\u6211\u4eec\u8c03\u7528 cell2cell 0.9.0 \u7684 PreBuiltTensor\uff0c\u5bf9\u540c\u4e00\u8f93\u5165\u5206\u522b\u62df\u5408\u4e00\u4e2a\u548c\u4e24\u4e2a\u6210\u5206\u3002\u6bcf\u4e2a\u79e9\u505a\u56db\u6b21\u968f\u673a\u521d\u59cb\u5316\uff0c\u56fa\u5b9a\u8d77\u59cb\u968f\u673a\u79cd\u5b50\uff0c\u518d\u4ece\u62df\u5408\u7ed3\u679c\u91cd\u6784\u8f93\u5165\u3002\u8bef\u5dee\u7528\u5dee\u503c\u5f20\u91cf\u7684\u8303\u6570\u9664\u4ee5\u8f93\u5165\u5f20\u91cf\u7684\u8303\u6570\u8ba1\u7b97\u3002\u8fd9\u4e2a\u5206\u6bcd\u5f88\u91cd\u8981\uff0c\u56e0\u4e3a\u540c\u6837\u5927\u5c0f\u7684\u7edd\u5bf9\u8bef\u5dee\uff0c\u653e\u5728\u6574\u4f53\u4fe1\u53f7\u5f3a\u5f31\u4e0d\u540c\u7684\u6570\u636e\u91cc\u542b\u4e49\u4e0d\u540c\u3002<\/p>\n<div style=\"max-width:100%;overflow-x:auto;\">\n<table style=\"min-width:525px;width:100%;border-collapse:collapse;\">\n<thead>\n<tr>\n<th style=\"padding:9px;text-align:left;background:#dcf2ff;color:#103d59;white-space:normal;\">\u62df\u5408\u8bbe\u7f6e<\/th>\n<th style=\"padding:9px;text-align:left;background:#dcf2ff;color:#103d59;white-space:normal;\">\u5b9e\u9645\u76f8\u5bf9\u91cd\u6784\u8bef\u5dee<\/th>\n<th style=\"padding:9px;text-align:left;background:#dcf2ff;color:#103d59;white-space:normal;\">\u5404\u8f74\u6700\u9ad8\u6743\u91cd\u62fc\u6210\u7684\u7ec4\u5408<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding:9px;border:1px solid #d1e6f0;vertical-align:top;white-space:normal;overflow-wrap:anywhere;\">\u4e00\u4e2a\u6210\u5206<\/td>\n<td style=\"padding:9px;border:1px solid #d1e6f0;vertical-align:top;white-space:normal;overflow-wrap:anywhere;\">0.6966<\/td>\n<td style=\"padding:9px;border:1px solid #d1e6f0;vertical-align:top;white-space:normal;overflow-wrap:anywhere;\">C1\uff0cL1-R1\uff0cA \u2192 X<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:9px;border:1px solid #d1e6f0;vertical-align:top;white-space:normal;overflow-wrap:anywhere;\">\u4e24\u4e2a\u6210\u5206<\/td>\n<td style=\"padding:9px;border:1px solid #d1e6f0;vertical-align:top;white-space:normal;overflow-wrap:anywhere;\">\u7ea6 9.18 \u00d7 10\u207b\u00b9\u00b9<\/td>\n<td style=\"padding:9px;border:1px solid #d1e6f0;vertical-align:top;white-space:normal;overflow-wrap:anywhere;\">C1\uff0cL1-R1\uff0cA \u2192 X\uff1b\u4ee5\u53ca P1\uff0cL3-R3\uff0cB \u2192 Y<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"860\" class=\"wp-image-68501\" style=\"width:100%;height:auto;\" alt=\"\u4e24\u4e2a\u5df2\u77e5\u6a21\u5f0f\u62df\u5408\u540e\uff0c\u56db\u4e2a\u6a21\u62df\u6837\u672c\u5728\u4e24\u4e2a\u6210\u5206\u4e0a\u7684\u6743\u91cd\u3002\u6bcf\u4e2a\u6570\u503c\u5747\u6765\u81ea\u672c\u6b21\u8fd0\u884c\u5bfc\u51fa\u7684\u6837\u672c\u8f7d\u8377\u8868\u3002\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/repo500-042-earmingol-cell2cell.png?resize=1080%2C860&#038;ssl=1\" srcset=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/repo500-042-earmingol-cell2cell.png?w=1080&amp;ssl=1 1080w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/repo500-042-earmingol-cell2cell.png?resize=300%2C239&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/repo500-042-earmingol-cell2cell.png?resize=1024%2C815&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/repo500-042-earmingol-cell2cell.png?resize=768%2C612&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/repo500-042-earmingol-cell2cell.png?resize=600%2C478&amp;ssl=1 600w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<p>\u8bef\u5dee\u5f88\u5c0f\u6709\u4e2a\u76f4\u63a5\u539f\u56e0\uff1a\u8f93\u5165\u5c31\u662f\u7528\u4e24\u4e2a\u6ca1\u6709\u566a\u58f0\u7684\u6210\u5206\u76f8\u52a0\u5f97\u5230\u7684\u3002\u8fd9\u4e2a\u5b9e\u9a8c\u68c0\u9a8c\u4e86\u8f74\u987a\u5e8f\u3001\u7a0b\u5e8f\u8c03\u7528\u548c\u7ed3\u679c\u8bfb\u53d6\uff0c\u4e5f\u8bf4\u660e\u5355\u6210\u5206\u4f1a\u6f0f\u6389\u4ec0\u4e48\u3002\u5b83\u5e76\u6ca1\u6709\u56de\u7b54\u771f\u5b9e\u7ec4\u7ec7\u6709\u51e0\u79cd\u901a\u8baf\u6a21\u5f0f\u3002\u53e6\u4e00\u4e2a\u5bb9\u6613\u5ffd\u7565\u7684\u7ec6\u8282\u662f\uff0c\u8868\u91cc\u53ea\u5217\u4e86\u5404\u8f74\u7684\u6700\u9ad8\u9879\uff0c\u56fe\u4e2d\u5374\u80fd\u770b\u5230 C2 \u548c P2 \u4e5f\u6709\u660e\u663e\u6743\u91cd\u3002\u82e5\u628a\u6700\u9ad8\u7684\u90a3\u4e2a\u6837\u672c\u53eb\u4f5c\u201c\u552f\u4e00\u643a\u5e26\u8be5\u6a21\u5f0f\u7684\u6837\u672c\u201d\uff0c\u8bfb\u8005\u5c31\u4f1a\u9519\u8fc7\u540c\u7ec4\u53e6\u4e00\u4e2a\u6837\u672c\u7684\u5927\u90e8\u5206\u4fe1\u606f\u3002<\/p>\n<h2 style=\"margin-top:30px;color:#183850;\">\u62ff\u5230\u771f\u5b9e\u8f7d\u8377\u8868\uff0c\u6309\u4ec0\u4e48\u987a\u5e8f\u8bfb<\/h2>\n<p>\u5148\u8bfb\u6837\u672c\u8f74\u3002\u4e00\u5217\u51e0\u4e4e\u5168\u7531\u4e00\u4e2a\u6837\u672c\u652f\u6491\uff0c\u5c31\u5148\u628a\u90a3\u4e2a\u6837\u672c\u7684\u7ec6\u80de\u6570\u3001\u6d4b\u5e8f\u60c5\u51b5\u548c\u6765\u6e90\u7ec4\u7ec7\u67e5\u6e05\u695a\u3002\u5982\u679c\u4e00\u4e2a\u4f9b\u4f53\u6709\u591a\u6b21\u6280\u672f\u91cd\u590d\uff0c\u5e94\u6807\u51fa\u5b83\u4eec\u7684\u5bf9\u5e94\u5173\u7cfb\uff1b\u4e00\u4f4d\u4f9b\u4f53\u8d21\u732e\u5f88\u591a\u6d4b\u91cf\uff0c\u6709\u53ef\u80fd\u8ba9\u56fe\u770b\u8d77\u6765\u5341\u5206\u4e00\u81f4\uff0c\u5374\u4e0d\u8db3\u4ee5\u8bf4\u660e\u8de8\u4e2a\u4f53\u53ef\u91cd\u590d\u3002\u518d\u6cbf\u540c\u4e00\u5217\u53bb\u8bfb\u914d\u4f53\u53d7\u4f53\u8f74\u53ca\u53d1\u9001\u3001\u63a5\u6536\u8f74\u3002\u62bd\u51fa\u6743\u91cd\u9760\u524d\u7684\u51e0\u6761\u7ec4\u5408\uff0c\u56de\u5230\u539f\u59cb\u901a\u8baf\u957f\u8868\uff0c\u9010\u6837\u672c\u67e5\u770b\u5b83\u4eec\u662f\u5426\u90fd\u6709\u53ef\u89c2\u5bdf\u7684\u4fe1\u53f7\u3002\u8fd9\u6837\u53ef\u4ee5\u533a\u5206\u591a\u4e2a\u6837\u672c\u4e00\u8d77\u62ac\u9ad8\u7684\u6a21\u5f0f\u548c\u4e2a\u522b\u5f02\u5e38\u503c\u6491\u8d77\u7684\u6a21\u5f0f\u3002<\/p>\n<p>\u5206\u5b50\u89e3\u91ca\u8fd8\u6709\u4e00\u9053\u5173\u3002\u5728\u5355\u7ec6\u80de\u8f6c\u5f55\u7ec4\u91cc\uff0c\u4e00\u4e2a\u7fa4\u8868\u8fbe\u914d\u4f53\u3001\u53e6\u4e00\u4e2a\u7fa4\u8868\u8fbe\u53d7\u4f53\uff0c\u4e3a\u4e24\u8005\u901a\u8baf\u63d0\u4f9b\u4e86\u5019\u9009\u7ebf\u7d22\u3002\u7ec4\u7ec7\u4e2d\u7684\u7a7a\u95f4\u90bb\u8fd1\u3001\u86cb\u767d\u5b9a\u4f4d\u53ca\u529f\u80fd\u4f5c\u7528\u8fd8\u8981\u9760\u72ec\u7acb\u8bc1\u636e\u786e\u8ba4\u3002\u5c24\u5176\u5728\u6bd4\u8f83\u5e72\u9884\u7ec4\u548c\u5bf9\u7167\u7ec4\u65f6\uff0c\u8981\u540c\u65f6\u770b\u53d1\u9001\u65b9\u548c\u63a5\u6536\u65b9\u5728\u6bcf\u4e2a\u6837\u672c\u7684\u6570\u91cf\u3002\u67d0\u7c7b\u7ec6\u80de\u5b8c\u5168\u6ca1\u91c7\u5230\uff0c\u4e0e\u91c7\u5230\u4e86\u5f88\u591a\u7ec6\u80de\u800c\u8f6f\u4ef6\u7ed9\u51fa\u96f6\u5206\uff0c\u662f\u4e24\u4e2a\u4e0d\u540c\u7684\u89c2\u5bdf\u6761\u4ef6\u3002\u5408\u5e76\u4e0d\u540c\u8f6f\u4ef6\u7684\u7ed3\u679c\u65f6\uff0c\u8fd8\u8981\u786e\u8ba4\u5206\u6570\u65b9\u5411\u4e00\u81f4\uff1b\u628a\u6570\u503c\u8d8a\u5c0f\u8d8a\u663e\u8457\u7684\u6982\u7387\u503c\u539f\u5c01\u4e0d\u52a8\u5730\u5f53\u4f5c\u5f3a\u5ea6\uff0c\u4f1a\u628a\u6743\u91cd\u89e3\u91ca\u5012\u8fc7\u6765\u3002<\/p>\n<h2 style=\"margin-top:30px;color:#183850;\">\u5b9e\u8dd1\u4e4b\u540e\uff0c\u54ea\u4e9b\u68c0\u67e5\u503c\u5f97\u5e26\u8fdb\u81ea\u5df1\u7684\u9879\u76ee<\/h2>\n<p>\u8fd9\u6b21\u6700\u5bb9\u6613\u590d\u6838\u7684\u6b65\u9aa4\uff0c\u662f\u5728\u5206\u89e3\u524d\u628a\u56db\u6839\u8f74\u7684\u540d\u79f0\u548c\u987a\u5e8f\u8ddf\u539f\u8868\u4e00\u8d77\u4fdd\u5b58\u3002\u968f\u624b\u53d6\u51fa\u4e00\u6761\u5df2\u77e5\u8bb0\u5f55\uff0c\u786e\u8ba4\u5b83\u7684\u6837\u672c\u3001\u5206\u5b50\u5bf9\u548c\u65b9\u5411\u6ca1\u6709\u88ab\u9519\u4f4d\u3002\u6570\u7ec4\u8f6c\u7f6e\u540e\u5f62\u72b6\u5076\u5c14\u4ecd\u7136\u5408\u6cd5\uff0c\u5c24\u5176\u53d1\u9001\u65b9\u4e0e\u63a5\u6536\u65b9\u6070\u597d\u4e00\u6837\u591a\u65f6\uff0c\u4ec5\u68c0\u67e5\u7ef4\u5ea6\u6293\u4e0d\u4f4f\u8fd9\u7c7b\u9519\u8bef\u3002\u56e0\u5b50\u7f16\u53f7\u4e5f\u6ca1\u6709\u56fa\u5b9a\u8eab\u4efd\uff1b\u91cd\u590d\u62df\u5408\u540e\uff0c\u5e94\u6839\u636e\u56db\u6839\u8f74\u7684\u8f7d\u8377\u5f62\u72b6\u5339\u914d\u6210\u5206\uff0c\u6309\u7f16\u53f7\u9010\u5217\u5bf9\u9f50\u53ef\u80fd\u6bd4\u8f83\u4e86\u4e0d\u540c\u7684\u6a21\u5f0f\u3002<\/p>\n<p>\u771f\u6b63\u9009\u79e9\u65f6\uff0c\u53ef\u540c\u65f6\u68c0\u67e5\u8bef\u5dee\u66f2\u7ebf\u3001\u4e0d\u540c\u521d\u59cb\u5316\u4e4b\u95f4\u7684\u7a33\u5b9a\u6027\uff0c\u4ee5\u53ca\u79fb\u9664\u67d0\u4e2a\u4f9b\u4f53\u540e\u539f\u6709\u6a21\u5f0f\u662f\u5426\u8fd8\u5728\u3002\u589e\u52a0\u6210\u5206\u540e\uff0c\u5982\u679c\u4f4e\u8bef\u5dee\u53ea\u6362\u6765\u4e00\u4e2a\u6781\u5c0f\u6837\u672c\u72ec\u6709\u7684\u5206\u91cf\uff0c\u628a\u8fd9\u4f4d\u4f9b\u4f53\u7684\u539f\u59cb\u8868\u8fbe\u548c\u7ec6\u80de\u7ec4\u6210\u5217\u51fa\u6765\uff0c\u4f1a\u6bd4\u6025\u7740\u7ed9\u65b0\u6210\u5206\u53d6\u4e00\u4e2a\u901a\u8def\u540d\u5b57\u66f4\u6709\u8bf4\u670d\u529b\u3002\u590d\u73b0\u4e0b\u65b9\u5b9e\u9a8c\u65f6\uff0c\u5c06\u4ee3\u7801\u4fdd\u5b58\u4e3a Python \u811a\u672c\u8fd0\u884c\uff1b\u5b83\u4f1a\u5199\u51fa\u5b8c\u6574\u8f93\u5165\u3001\u6bcf\u4e2a\u8f74\u7684\u8f7d\u8377\u53ca\u8bef\u5dee\uff0c\u8bfb\u8005\u53ef\u4ee5\u81ea\u884c\u6539\u53d8\u7b2c\u4e8c\u79cd\u6a21\u5f0f\u7684\u5f3a\u5f31\uff0c\u518d\u89c2\u5bdf\u5355\u6210\u5206\u62df\u5408\u6700\u5148\u4e22\u6389\u54ea\u90e8\u5206\u4fe1\u53f7\u3002<\/p>\n<pre style=\"max-width:100%;overflow-x:auto;background:#f1f8ff;padding:14px;\"><code class=\"language-python\" style=\"color:#16354b;background:#f1f8ff;text-shadow:none;\">&quot;&quot;&quot;Fit ranks one and two to the same synthetic communication tensor.&quot;&quot;&quot;\nfrom pathlib import Path\nimport json\nfrom importlib.metadata import version\nimport numpy as np\nimport pandas as pd\nimport tensorly as tl\nfrom cell2cell.tensor import PreBuiltTensor\n\nroot = Path(__file__).parent\nnames = [[&quot;C1&quot;,&quot;C2&quot;,&quot;P1&quot;,&quot;P2&quot;],[&quot;L1-R1&quot;,&quot;L2-R2&quot;,&quot;L3-R3&quot;],\n         [&quot;sender_A&quot;,&quot;sender_B&quot;],[&quot;receiver_X&quot;,&quot;receiver_Y&quot;]]\naxes = [&quot;context&quot;,&quot;pair&quot;,&quot;sender&quot;,&quot;receiver&quot;]\na = np.einsum(&quot;i,j,k,l-&gt;ijkl&quot;,[1,.9,.12,.15],[1,.1,.05],[1,.15],[1,.1])\nb = np.einsum(&quot;i,j,k,l-&gt;ijkl&quot;,[.12,.1,1,.85],[.05,.15,1],[.1,1],[.1,1])\nx = a+b\nidx = pd.MultiIndex.from_product(names,names=axes)\npd.Series(x.ravel(),index=idx,name=&quot;score&quot;).to_csv(root\/&quot;input.csv&quot;)\nresults = []\nfor rank in [1,2]:\n    model = PreBuiltTensor(x.copy(), names, order_labels=axes)\n    model.compute_tensor_factorization(rank=rank,init=&quot;random&quot;,runs=4,\n        random_state=42,n_iter_max=2000,tol=1e-10,verbose=False)\n    reconstructed = tl.cp_to_tensor(model.tl_object)\n    err = float(np.linalg.norm(x-reconstructed)\/np.linalg.norm(x))\n    result = {&quot;rank&quot;:rank,&quot;relative_error&quot;:err,&quot;peaks&quot;:{}}\n    for axis, table in model.factors.items():\n        table.to_csv(root\/f&quot;rank{rank}-{axis}.csv&quot;)\n        result[&quot;peaks&quot;][axis] = table.idxmax().tolist()\n    results.append(result)\nassert results[1][&quot;relative_error&quot;] &lt; results[0][&quot;relative_error&quot;]\nreport = dict(versions={n: version(n) for n in [&quot;cell2cell&quot;,&quot;tensorly&quot;,&quot;numpy&quot;]},results=results)\n(root\/&quot;results.json&quot;).write_text(json.dumps(report,indent=2))\nprint(json.dumps(report))\n<\/code><\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u6bd4\u8f83\u8de8\u7ec6\u80de\u7fa4\u7684\u76f8\u4e92\u4f5c\u7528<\/p>\n","protected":false},"author":1,"featured_media":68501,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1,75],"tags":[724,605],"class_list":["post-68502","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-part","category-compute-environment","tag-cell2cell","tag-github-"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2026\/11\/repo500-042-earmingol-cell2cell.png?fit=1080%2C860&ssl=1","_links":{"self":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/68502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/comments?post=68502"}],"version-history":[{"count":1,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/68502\/revisions"}],"predecessor-version":[{"id":82456,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/posts\/68502\/revisions\/82456"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media\/68501"}],"wp:attachment":[{"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/media?parent=68502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/categories?post=68502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.biocloudservice.com\/wordpress\/wp-json\/wp\/v2\/tags?post=68502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}