Skip to content

Commit

Permalink
fix pca_numba_n
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderKalistratov committed Nov 3, 2023
1 parent 9751815 commit 05cb6ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dpbench/benchmarks/pca/pca_numba_n.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def pca(data, dims_rescaled_data=2):
evectors = evectors[:, :dims_rescaled_data]

# carry out the transformation on the data using eigenvectors
tdata = np.dot(evectors.T, data.T).T
tdata = np.dot(evectors.T.astype(data.dtype), data.T).T

# return the transformed data, eigenvalues, and eigenvectors
return tdata, evalues, evectors

0 comments on commit 05cb6ba

Please sign in to comment.