Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Rule-based Approach | Statistical Methods in Anomaly Detection
Data Anomaly Detection

Glissez pour afficher le menu

book
Challenge: Rule-based Approach

Tâche

Swipe to start coding

Your task is to create a function that identifies outliers based on the Euclidean distance between each data point and the mean value of the dataset:

  1. Calculate the Euclidean distance for each data point in the dataset.
  2. If the calculated distance of a data point falls outside a predefined range, classify it as an outlier.
  3. Create a list to store the identified outliers and print the list.

Once you've completed this task, click the button below the code to check your solution.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 2. Chapitre 2

Demandez à l'IA

expand
ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

book
Challenge: Rule-based Approach

Tâche

Swipe to start coding

Your task is to create a function that identifies outliers based on the Euclidean distance between each data point and the mean value of the dataset:

  1. Calculate the Euclidean distance for each data point in the dataset.
  2. If the calculated distance of a data point falls outside a predefined range, classify it as an outlier.
  3. Create a list to store the identified outliers and print the list.

Once you've completed this task, click the button below the code to check your solution.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 2. Chapitre 2
Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Nous sommes désolés de vous informer que quelque chose s'est mal passé. Qu'est-il arrivé ?
some-alt