mirror of
https://github.com/20kaushik02/CSE515_MWDB_Project.git
synced 2026-01-25 14:14:06 +00:00
cp_factor transpose print
This commit is contained in:
@@ -1260,7 +1260,7 @@ def extract_CP_semantics_from_feature_model(
|
|||||||
key=lambda x: x[1],
|
key=lambda x: x[1],
|
||||||
reverse=True,
|
reverse=True,
|
||||||
)[:top_images]
|
)[:top_images]
|
||||||
for latent_semantic in factor_matrices[i]
|
for latent_semantic in factor_matrices[i].T
|
||||||
]
|
]
|
||||||
print(f"Showing {strs[i]}-weight latent semantic")
|
print(f"Showing {strs[i]}-weight latent semantic")
|
||||||
for idx, latent_semantic in enumerate(displayed_latent_semantics):
|
for idx, latent_semantic in enumerate(displayed_latent_semantics):
|
||||||
|
|||||||
Reference in New Issue
Block a user