SemScale icon indicating copy to clipboard operation
SemScale copied to clipboard

scale_supervised.py uncomment line 181?

Open patparsch opened this issue 1 year ago • 2 comments

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

patparsch avatar Nov 17 '24 12:11 patparsch

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

patparsch avatar Nov 17 '24 12:11 patparsch

No worries and all the best with your work!

fedenanni avatar Nov 18 '24 08:11 fedenanni