Data Science, Causal Inference, Machine Learning, Optimization, Notes From Industry.
[alpha_initial_estimate, lam_initial_estimate] popt, pcov = curve_fit(michaelis_menten, df_scoring['T'], treatment_effect, p0=initial_guess, maxfev=maxfev) return popt, pcov We do this for each product: popt_1, pcov_1 = response_curves(treatment_effect_1, df_scoring_1) popt_2, pcov_2 =