mirror of
https://github.com/20kaushik02/CSE515_MWDB_Project.git
synced 2026-01-25 14:14:06 +00:00
utils
This commit is contained in:
@@ -878,7 +878,7 @@ def extract_latent_semantics_from_feature_model(
|
||||
# singular value decomposition
|
||||
# sparse version of SVD to get only k singular values
|
||||
case 1:
|
||||
U, S, V_T = svd(feature_vectors, k=k)
|
||||
U, S, V_T = svds(feature_vectors, k=k)
|
||||
|
||||
all_latent_semantics = {
|
||||
"image-semantic": U.tolist(),
|
||||
|
||||
Reference in New Issue
Block a user