Python में मशीन लर्निंग मॉनिटरिंग
Hakim Elakhrass
CEO and co-founder

Kolgomorov-Smirnov - केवल सतत
L-infinity - केवल श्रेणीबद्ध
Chi2 - केवल श्रेणीबद्ध
# एक-चर ड्रिफ्ट कैलकुलेटर इनिशियलाइज़ करें
uv_calc = nannyml.UnivariateDriftCalculator(
continuous_methods=['wasserstein', 'hellinger'],
categorical_methods=['jensen_shannon', 'l_infinity', 'chi2'],
column_names=feature_column_names,
timestamp_column_name='timestamp',
chunk_period='d'
)
# फिट करें, कैलकुलेट करें और परिणाम प्लॉट करें
uv_calc.fit(reference)
uv_results = uv_calc.calculate(analysis)
uv_results.plot().show()
# एक-चर परिणाम फ़िल्टर करें
filtered_figure = uv_results.filter(column_names=['trip_distance', 'fare_amount'],
methods=['jensen_shannon'])
# फ़िल्टर किए गए परिणाम प्लॉट करें
filtered_figure.show().plot()
# अलर्ट काउंट रैंकर इनिशियलाइज़ करें
alert_count_ranker = nannyml.AlertCountRanker()
alert_count_ranked_results = alert_count_ranker.rank(
uv_results,
only_drifting=False)
# परिणाम दिखाएँ
display(alert_count_ranked_results)

# कोरिलेशन रैंकर इनिशियलाइज़ करें
correlation_ranker = nannyml.CorrelationRanker()
correlation_ranker.fit(perf_results.filter(period='reference'))
correlation_ranked_results = correlation_ranker.rank(uv_results, perf_results)
# परिणाम दिखाएँ
display(correlation_ranked_results)

# डिस्ट्रीब्यूशन प्लॉट बनाएँ
distribution_results = uv_results.plot(kind='distribution')
# प्लॉट दिखाएँ
distribution_results.show()

Python में मशीन लर्निंग मॉनिटरिंग