Skip to content

Instantly share code, notes, and snippets.

View FardinAhsan146's full-sized avatar
🧿

flippy FardinAhsan146

🧿
View GitHub Profile
import numpy as np
ACCURACY = 0.95 # P(B|A)
FP = 1 - ACCURACY # P(B|~A)
base_rates = np.linspace(0.01,1) # P(A)
not_rates = 1 - base_rates # P(~A)
# P(A|B)
hyp_evd = ((ACCURACY)*(base_rates))\
/(((base_rates)*(ACCURACY))+((not_rates)*(FP)))
import numpy
ACCURACY = 0.95 # P(B|A)
FP = 1 - ACCURACY # P(B|~A)
base_rates = np.linspace(0.01,1) # P(A)
not_rates = 1 - base_rates # P(~A)
# P(A|B)
hyp_evd = ((ACCURACY)*(base_rates))\
/(((base_rates)*(ACCURACY))+((not_rates)*(FP)))
@FardinAhsan146
FardinAhsan146 / AutoML_data_preparation_AIA023.ipynb
Created March 13, 2021 12:18 — forked from yufengg/AutoML_data_preparation_AIA023.ipynb
Notebook for preparing a CSV for Google Cloud AutoML Vision
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.