एंड-टू-एंड मशीन लर्निंग
Joshua Stapleton
Machine Learning Engineer


ks_2samp() फंक्शन दो वैल्यू लौटाता है: टेस्ट स्टैटिस्टिक, p-value.from scipy.stats import ks_2samp
# load the 1D data distribution samples for comparison
sample_1, sample_2 = training_dataset_sample, current_inference_sample
# perform the KS-test - ensure input samples are numpy arrays
test_statistic, p_value = ks_2samp(sample_1, sample_2)
if p_value < 0.05:
print("Reject null hypothesis - data drift might be occuring")
else:
print("Samples are likely to be from the same dataset")
नए डेटा के अनुसार मॉडल अपडेट करें
नया/इन्फेरेंस डेटा कम है?


एंड-टू-एंड मशीन लर्निंग