Created
September 7, 2018 23:20
-
-
Save klintan/55c14b6ba357a382897b7bb1a0639188 to your computer and use it in GitHub Desktop.
Truthfinder 7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def compute_final_confidence(data, confidence): | |
for idx, claim in data.iterrows(): | |
data.at[idx, 'confidence'] = 1 / (1 + np.exp(-DAMPING_FACTOR * claim['confidence'])) | |
return (data, confidence) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment