mirror of
https://github.com/20kaushik02/CSE515_MWDB_Project.git
synced 2025-12-06 09:24:07 +00:00
cp_factor transpose print
This commit is contained in:
parent
eb0d50b1cd
commit
8ebf13d597
@ -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):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user