1ccfdb79c77dca0c03f76f5f9ef90a8725143cc3,pynndescent/pynndescent_.py,NNDescent,update,#NNDescent#,1216
Before Change
if self._is_sparse:
self._raw_date = sparse_vstack([self._raw_data, X])
else:
self._raw_data = np.vstack([self._raw_data, X])
if self._is_sparse:
raise NotImplementedError("Sparse update not complete yet")
else:
After Change
self._raw_data = sparse_vstack([self._raw_data, X])
else:
self._raw_data = np.ascontiguousarray(
np.vstack([self._raw_data[original_order, :], X])
)
if self._is_sparse:
raise NotImplementedError("Sparse update not complete yet")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: lmcinnes/pynndescent
Commit Name: 1ccfdb79c77dca0c03f76f5f9ef90a8725143cc3
Time: 2020-05-06
Author: leland.mcinnes@gmail.com
File Name: pynndescent/pynndescent_.py
Class Name: NNDescent
Method Name: update
Project Name: donlnz/nonconformist
Commit Name: d07d17dfa54ac16e632e46419805a96413221b03
Time: 2016-10-19
Author: henrik.linusson@gmail.com
File Name: nonconformist/nc.py
Class Name: SignErrorErrFunc
Method Name: apply_inverse
Project Name: donlnz/nonconformist
Commit Name: d07d17dfa54ac16e632e46419805a96413221b03
Time: 2016-10-19
Author: henrik.linusson@gmail.com
File Name: nonconformist/nc.py
Class Name: AbsErrorErrFunc
Method Name: apply_inverse