We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3039564 + 3c87410 commit 3277900Copy full SHA for 3277900
gw_challenge/ingested_program/ingestion.py
@@ -77,7 +77,7 @@ def tp_cut(predictions):
77
# Read solutions
78
with np.load(test_data_file) as file:
79
y_test = file['ids']
80
- predictions = (predictions >= np.percentile(predictions[y_test == np.ones(len(y_test))], 90)).astype(int)
+ predictions = (predictions >= np.percentile(predictions[y_test == np.ones(len(y_test))], 10)).astype(int)
81
82
return predictions
83
@@ -142,4 +142,4 @@ def main():
142
143
144
if __name__ == '__main__':
145
- main()
+ main()
0 commit comments