I hereby claim:
- I am justincosentino on github.
- I am cosentino (https://keybase.io/cosentino) on keybase.
- I have a public key ASAN3Uk-_dcbfvYb4vhm4nx_meiDopoitsFkKsJlIQGC0wo
To claim this, I am signing this object:
var gradeEquiv = { | |
'A+': 4, | |
'A' : 4, | |
'A-': 3.67, | |
'B+': 3.33, | |
'B' : 3, | |
'B-': 2.67, | |
'C+': 2.33, | |
'C' : 2, | |
'C-': 1.67, |
def bootstrapDecipher(decipher, encoded_string, encoded_numeric, transition_matrix): | |
decoded_numeric = [decipher[s] for s in encoded_numeric] | |
decoded_string = numeric_to_text(decoded_numeric) | |
current_plausibility = plausibility(transition_matrix, decoded_string) | |
print ("Bootstrapping ", end="") | |
while current_plausibility == 0: | |
random.shuffle(decipher) | |
decoded_numeric = [decipher[s] for s in encoded_numeric] | |
decoded_string = numeric_to_text(decoded_numeric) |
I hereby claim:
To claim this, I am signing this object:
def selective_loss( | |
targets: torch.Tensor, | |
f_out: torch.Tensor, | |
g_out: torch.Tensor, | |
target_coverage: float, | |
lmbda: int = 32, | |
) -> torch.Tensor: | |
""" | |
Calculates the selective loss for the given slice. |