English
Open in Telegram

Postimport math

19 August 2024
D
Deloitte | COGNIZANT | IBM | CAPGEMINI
import math def slidingWindowSpikes(measurements, measurementsLength, m, tolerance): sum_of_indices = 0 for i in range(measurementsLength - m + 1): window = measurements[i:i+m] mean = sum(window) / m variance = sum((x - mean) ** 2 for x in window) / m standard_error = math.sqrt(variance) if standard_error > tolerance: sum_of_indices += (i + 1) return sum_of_indices SLIDING WINDOW SPIKES ✅✅
1.9K ·

Nearby in the feed

MMachine Learning coderSOTI Round-2 ✅ Coding All Test cases passed ✅ Contact: @mlcoder2DDeloitte | COGNIZANT | IBM | CAPGEMINISLIDING WINDOW SPIKES ✅✅ #SOTI
this message
DDeloitte | COGNIZANT | IBM | CAPGEMINIWipro exam done successfully through Access ✅✅✅ Both codes passed all cases ✅✅✅DDeloitte | COGNIZANT | IBM | CAPGEMINIINFOR exam done through remote access ✅✅ Contact: @mlcoder2
DDeloitte | COGNIZANT | IBM | CAPGEMINIDeloitte | COGNIZANT | IBM | CAPGEMINI@python_java_Coding · channel · Tech
7 178subscribers406average post reach
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count