jonathanpeppers / inclusive-code-reviews-ml

Machine learning for code reviews!
MIT License
14 stars 6 forks source link

Add a "weight" column #24

Closed jonathanpeppers closed 2 years ago

jonathanpeppers commented 2 years ago

Context: https://docs.microsoft.com/en-us/dotnet/api/microsoft.ml.trainers.linearsvmtrainer.options.exampleweightcolumnname?view=ml-dotnet

The idea is that we could say some rows are more important than others.

So for example:

text,isnegative,importance
You suck,1,0.9
This kind of seems bad,1,0.5

The importance column could give the model a "score" on how important this row is. We might score some rows as being "worse" or "more important" in creation of the model.

jonathanpeppers commented 2 years ago

Completed in #49