Angel-ML / angel

A Flexible and Powerful Parameter Server for large-scale machine learning
Other
6.74k stars 1.6k forks source link

2022Tencent Rhino-bird Open-source Training Program—Angel-Zihan Li-Week3&4 #1229

Open 1123469 opened 2 years ago

1123469 commented 2 years ago

Angel项目第三周&第四周进展

当前进展:

算法需要进行的优化:

当前代码工作的测试及相应结果:

  1. 输入: (1,1)Barbell Graph

             测试使用的图为 Barbell-Graph (1,1), 其对应邻接矩阵为:[[0,1,INF],[1,0,1],[INF,1,0]]
  2. 期望输出(3x3x3 的结构相似度矩阵 structSimi, 显然 structSimi[k][i][j] = fk(Nodei,Nodej))

    • 手算验证结果: verification

      [ [[0,1,0],[1,0,1],[0,1,0]], [[0,3,0],[3,0,3],[0,3,0]], [[0,NaN,0],[NaN,NaN,NaN],[0,NaN,NaN]] ]

  3. 实际输出:(与手算验证结果一致)

    • java: res

    • scala: structSimi

遇到的问题: