benmiroglio / pymatch

MIT License
276 stars 129 forks source link

Find matches from minority group for majority group #32

Open jordantkohn opened 4 years ago

jordantkohn commented 4 years ago

"By default matches are found from the majority group for the minority group." I actually want Matcher to do the opposite; for each row in the majority group, I want to assign the best match from the minority group.

Is there an easy way to enable this without reworking the source code?

jordantkohn commented 4 years ago

If anybody is curious:

  1. majority and minority attributes can be set manually to 0/1 representing the yvar value
  2. the match() function doesn't even consider majority/minority attributes
KritiShah14 commented 2 years ago

Hi,

I’m not sure I understand, could you elaborate?