lambda-guard-boosting 0.2.5__tar.gz → 0.2.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lambda_guard_boosting-0.2.5 → lambda_guard_boosting-0.2.6}/PKG-INFO +1 -1
- {lambda_guard_boosting-0.2.5 → lambda_guard_boosting-0.2.6}/lambda_guard_boosting.egg-info/PKG-INFO +1 -1
- {lambda_guard_boosting-0.2.5 → lambda_guard_boosting-0.2.6}/lambdaguard/ofi.py +2 -2
- {lambda_guard_boosting-0.2.5 → lambda_guard_boosting-0.2.6}/pyproject.toml +1 -1
- {lambda_guard_boosting-0.2.5 → lambda_guard_boosting-0.2.6}/LICENSE.md +0 -0
- {lambda_guard_boosting-0.2.5 → lambda_guard_boosting-0.2.6}/README.md +0 -0
- {lambda_guard_boosting-0.2.5 → lambda_guard_boosting-0.2.6}/lambda_guard_boosting.egg-info/SOURCES.txt +0 -0
- {lambda_guard_boosting-0.2.5 → lambda_guard_boosting-0.2.6}/lambda_guard_boosting.egg-info/dependency_links.txt +0 -0
- {lambda_guard_boosting-0.2.5 → lambda_guard_boosting-0.2.6}/lambda_guard_boosting.egg-info/requires.txt +0 -0
- {lambda_guard_boosting-0.2.5 → lambda_guard_boosting-0.2.6}/lambda_guard_boosting.egg-info/top_level.txt +0 -0
- {lambda_guard_boosting-0.2.5 → lambda_guard_boosting-0.2.6}/lambdaguard/__init__.py +0 -0
- {lambda_guard_boosting-0.2.5 → lambda_guard_boosting-0.2.6}/lambdaguard/cusum.py +0 -0
- {lambda_guard_boosting-0.2.5 → lambda_guard_boosting-0.2.6}/lambdaguard/lambdaguard.py +0 -0
- {lambda_guard_boosting-0.2.5 → lambda_guard_boosting-0.2.6}/setup.cfg +0 -0
- {lambda_guard_boosting-0.2.5 → lambda_guard_boosting-0.2.6}/tests/test_cusum.py +0 -0
- {lambda_guard_boosting-0.2.5 → lambda_guard_boosting-0.2.6}/tests/test_ofi.py +0 -0
|
@@ -252,10 +252,10 @@ def regression_test(df):
|
|
|
252
252
|
model = sm.OLS(y, X_const).fit()
|
|
253
253
|
print(model.summary())
|
|
254
254
|
plt.figure(figsize=(8,6))
|
|
255
|
-
plt.scatter(df['OFI_norm'],
|
|
255
|
+
plt.scatter(df['OFI_norm'], df['Gap'], alpha=0.6)
|
|
256
256
|
plt.plot(df['OFI_norm'], model.predict(X_const), color='red', linewidth=2)
|
|
257
257
|
plt.xlabel('Lambda')
|
|
258
258
|
plt.ylabel('RMSE gap (test - train)')
|
|
259
|
-
plt.title(f'Regression Gap RMSE vs Lambda - {
|
|
259
|
+
plt.title(f'Regression Gap RMSE vs Lambda - {df["model"].iloc[0]}')
|
|
260
260
|
plt.grid(True)
|
|
261
261
|
plt.show()
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "lambda-guard-boosting"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.6"
|
|
8
8
|
description = "Overfitting detection for Gradient Boosting models using λ-Guard methodology."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = {text = "MIT"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|