From d2dbdc1136a5a82917e66abc0645be6128a671e2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 2 Oct 2024 11:07:01 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- machine_learning/dbscan.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/machine_learning/dbscan.py b/machine_learning/dbscan.py index 3b25bdcb4..1fd2174b0 100644 --- a/machine_learning/dbscan.py +++ b/machine_learning/dbscan.py @@ -28,13 +28,13 @@ class DbScan: obj.print_dbscan() obj.plot_dbscan() """ - + import math import matplotlib.pyplot as plt import pandas as pd from typing import dict, list - + def __init__( self, minpts: int, @@ -217,7 +217,8 @@ class DbScan: plt.legend(["Core", "Noise"]) plt.show() print("Plotted Successfully") - + + if __name__ == "__main__": import doctest