def lrLearner(data, protectedIndex, protectedValue):
    h = lr.lrSKL(data)
    return randomOneSideRelabelData(h, data, protectedIndex, protectedValue)
def svmLinearLearner(data, protectedIndex, protectedValue):
    h = svm.svmSKL(data, kernel='linear', verbose=True)
    return randomOneSideRelabelData(h, data, protectedIndex, protectedValue)
def boostingLearner(data, protectedIndex, protectedValue):
    h = boosting.boost(data)
    return randomOneSideRelabelData(h, data, protectedIndex, protectedValue)
Exemple #4
0
def lrLearner(data, protectedIndex, protectedValue):
   h = lr.lrSKL(data)
   return randomOneSideRelabelData(h, data, protectedIndex, protectedValue)
Exemple #5
0
def svmLinearLearner(data, protectedIndex, protectedValue):
   h = svm.svmSKL(data, kernel='linear', verbose=True)
   return randomOneSideRelabelData(h, data, protectedIndex, protectedValue)
Exemple #6
0
def boostingLearner(data, protectedIndex, protectedValue):
   h = boosting.boost(data)
   return randomOneSideRelabelData(h, data, protectedIndex, protectedValue)