From d2397384efc2e1a443e8289f34b958c1b78eb6a4 Mon Sep 17 00:00:00 2001 From: paolobighignoliaccenture Date: Mon, 27 Jan 2025 23:21:47 +0100 Subject: [PATCH] Remove useless (and wrong) import of class SquareLoss. --- mlfromscratch/examples/gradient_boosting_regressor.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/mlfromscratch/examples/gradient_boosting_regressor.py b/mlfromscratch/examples/gradient_boosting_regressor.py index 663bf4f8..73cfe045 100644 --- a/mlfromscratch/examples/gradient_boosting_regressor.py +++ b/mlfromscratch/examples/gradient_boosting_regressor.py @@ -2,11 +2,9 @@ import numpy as np import pandas as pd import matplotlib.pyplot as plt -import progressbar from mlfromscratch.utils import train_test_split, standardize, to_categorical from mlfromscratch.utils import mean_squared_error, accuracy_score, Plot -from mlfromscratch.utils.loss_functions import SquareLoss from mlfromscratch.utils.misc import bar_widgets from mlfromscratch.supervised_learning import GradientBoostingRegressor