Skip to content

Commit b8068ae

Browse files
bugfix related to group validation mse
1 parent 807db62 commit b8068ae

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cpp/APLRRegressor.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -944,6 +944,7 @@ void APLRRegressor::revert_scaling_if_using_log_link_function()
944944
if(link_function=="log")
945945
{
946946
intercept+=std::log(1/scaling_factor_for_log_link_function);
947+
y_validation/=scaling_factor_for_log_link_function;
947948
}
948949
}
949950

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
setuptools.setup(
1717
name='aplr',
18-
version='1.7.0',
18+
version='1.7.1',
1919
description='Automatic Piecewise Linear Regression',
2020
ext_modules=[sfc_module],
2121
author="Mathias von Ottenbreit",

0 commit comments

Comments
 (0)