Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev rewrite v1.0.16 fix #518

Merged
merged 3 commits into from
Aug 19, 2021
Merged

Conversation

wangzhishi
Copy link
Contributor

  • fix unit tests for dlt
  • fix some unadopted changes in ktrx model

@wangzhishi wangzhishi requested a review from edwinnglabs August 18, 2021 22:58
@@ -520,11 +520,11 @@ def _set_knots_scale_matrix(self, df, training_meta):

# adjust knot scale with the multiplier derive by the average value and shift by 0.001 to avoid zeros in
# scale parameters
global_med = np.expand_dims(np.mean(np.fabs(self._positive_regressor_matrix), axis=0), -1)
test_flag = local_val < 0.01 * global_med
global_mean = np.expand_dims(np.mean(np.fabs(self._positive_regressor_matrix), axis=0), -1)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wangzhishi is this the same way we are doing in dev branch?

@@ -559,10 +559,10 @@ def _set_knots_scale_matrix(self, df, training_meta):

# adjust knot scale with the multiplier derive by the average value and shift by 0.001 to avoid zeros in
# scale parameters
global_med = np.expand_dims(np.median(np.fabs(self._regular_regressor_matrix), axis=0), -1)
test_flag = local_val < 0.01 * global_med
global_mean = np.expand_dims(np.mean(np.fabs(self._regular_regressor_matrix), axis=0), -1)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same question

@edwinnglabs edwinnglabs self-requested a review August 19, 2021 05:00
Copy link
Collaborator

@edwinnglabs edwinnglabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@edwinnglabs edwinnglabs merged commit 6bd4301 into dev-rewrite-v1.0.16 Aug 19, 2021
@edwinnglabs edwinnglabs deleted the dev-rewrite-v1.0.16-fix branch August 19, 2021 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants