Skip to content
CampusEduX

Problem 2: Compare Different eps Values

Easypython
Learn the Concept: DBSCAN

Problem Description

Write a Python program that applies DBSCAN with two different eps values on the same dataset, comparing how the resulting clusters (and noise points) differ.

Input

A 2D dataset.

Output

Cluster assignments using each eps value.

Constraints

  • Use the same min_samples for both runs.

Example Input

text
(A dataset with 2 groups of varying spread)

Example Output

text
eps=1: [...] eps=3: [...]

Concepts Covered

eps parameter comparison.

Related Problems

  • Problem 1: Apply DBSCAN to a Dataset with an Outlier
    Easy · python
    Solve Problem
  • Problem 3: Count Core, Border, and Noise Points
    Easy · python
    Solve Problem
  • Problem 4: Manually Check the Core Point Condition
    Easy · python
    Solve Problem

Input (stdin)

Output

Run your code to see output here...