umanlp / SemScale

A tool for Semantic Scaling of Political Text (branch of Topfish, a suite of tools for Political Text Analysis)
26 stars 4 forks source link

scale_supervised.py uncomment line 181? #4

Open patschw opened 5 days ago

patschw commented 5 days ago

Hi, I'm playing around with your supervised scaler.

Could it be for it to work one needs to uncomment line 181 because that would set the two pivot text?

As I now understand it the algorithm chooses the most dissimilar texts also in the nlp.scale_supervised just as is also done in nlp.scale.

Or am I misunderstanding the code?

Best,

Patrick

patschw commented 5 days ago

Got it, line 178 only compares the two pivot texts :) Sorry for the unnecessary ticket!

fedenanni commented 4 days ago

No worries and all the best with your work!