You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-06-12 20:52:24.284970
Traceback (most recent call last):
File "loadMat.py", line 165, in
ratingMat,trustMat,categoryMat=filterData(ratingMat,trustMat,categoryMat)
File "loadMat.py", line 74, in filterData
trustMat=trustMat[idx][:,idx]
File "/root/anaconda3/envs/xytf/fjx_HGCL/lib/python3.7/site-packages/scipy/sparse/_index.py", line 33, in getitem
row, col = self._validate_indices(key)
File "/root/anaconda3/envs/xytf/fjx_HGCL/lib/python3.7/site-packages/scipy/sparse/_index.py", line 138, in _validate_indices
row = self._asindices(row, M)
File "/root/anaconda3/envs/xytf/fjx_HGCL/lib/python3.7/site-packages/scipy/sparse/_index.py", line 170, in _asindices
raise IndexError('index (%d) out of range' % max_indx)
IndexError: index (1968701) out of range
请问为什么越界了呢?使用的是dataraw里面的数据
The text was updated successfully, but these errors were encountered:
2024-06-12 20:52:24.284970
Traceback (most recent call last):
File "loadMat.py", line 165, in
ratingMat,trustMat,categoryMat=filterData(ratingMat,trustMat,categoryMat)
File "loadMat.py", line 74, in filterData
trustMat=trustMat[idx][:,idx]
File "/root/anaconda3/envs/xytf/fjx_HGCL/lib/python3.7/site-packages/scipy/sparse/_index.py", line 33, in getitem
row, col = self._validate_indices(key)
File "/root/anaconda3/envs/xytf/fjx_HGCL/lib/python3.7/site-packages/scipy/sparse/_index.py", line 138, in _validate_indices
row = self._asindices(row, M)
File "/root/anaconda3/envs/xytf/fjx_HGCL/lib/python3.7/site-packages/scipy/sparse/_index.py", line 170, in _asindices
raise IndexError('index (%d) out of range' % max_indx)
IndexError: index (1968701) out of range
请问为什么越界了呢?使用的是dataraw里面的数据
The text was updated successfully, but these errors were encountered: