File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616from turftopic .base import ContextualModel , Encoder
1717from turftopic .dynamic import DynamicTopicModel
1818from turftopic .encoders .multimodal import MultimodalEncoder
19- from turftopic .multimodal import ImageRepr , MultimodalEmbeddings , MultimodalModel
19+ from turftopic .multimodal import (
20+ ImageRepr ,
21+ MultimodalEmbeddings ,
22+ MultimodalModel ,
23+ )
2024from turftopic .namers .base import TopicNamer
2125from turftopic .vectorizers .default import default_vectorizer
2226
@@ -142,7 +146,7 @@ def fit_transform(
142146 status .update ("Decomposing embeddings" )
143147 if isinstance (self .decomposition , FastICA ) and (y is not None ):
144148 warnings .warn (
145- "Supervisory signal is specified but decomposition method is FastICA. y will be ignored. Use a metric learning method for supervised S^3."
149+ "y is specified but decomposition method is FastICA, which can't use labels . y will be ignored. Use a metric learning method for semi- supervised S^3."
146150 )
147151 doc_topic = self .decomposition .fit_transform (self .embeddings , y = y )
148152 console .log ("Decomposition done." )
You can’t perform that action at this time.
0 commit comments