Affirm / shparkley

Spark implementation of computing Shapley Values using monte-carlo approximation
BSD 3-Clause "New" or "Revised" License
74 stars 15 forks source link

Assignment operator is used in filter instead of equality operator #3

Closed Ge0dude closed 3 years ago

Ge0dude commented 3 years ago

I believe the line row = dataset.filter(dataset.row_id = 'xxxx').rdd.first() should instead use the equality operator like below row = dataset.filter(dataset.row_id == 'xxxx').rdd.first()

ijoseph commented 3 years ago

Just added this fix to my PR where I'm messing around with the readme anyhow.