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

Update feature scaling #2165

Merged
merged 5 commits into from
Oct 16, 2024
Merged

Update feature scaling #2165

merged 5 commits into from
Oct 16, 2024

Conversation

RoyStegeman
Copy link
Member

@RoyStegeman RoyStegeman commented Oct 4, 2024

Some modifications to the feature scaling, in particular it makes sure that the input passed tot he photon computation is the correct one. This is because with feature scaling we pass both the scale and non-scaled input to the model, where the non-scaled input is used in the computation of sum rules and integrability.

Some reports of fits with this branch are:

@RoyStegeman RoyStegeman added the redo-regressions Recompute the regression data label Oct 16, 2024
@RoyStegeman RoyStegeman changed the base branch from master to n3lo_qed_covmat October 16, 2024 09:16
n3fit/src/n3fit/scaler.py Outdated Show resolved Hide resolved
n3fit/src/n3fit/scaler.py Outdated Show resolved Hide resolved
"chi2": 1.4108729362487793,
"erf_tr": 2.803447723388672,
"erf_vl": 2.2027039527893066,
"chi2": 1.5391007661819458,
Copy link
Member

Choose a reason for hiding this comment

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

so the mapping has changed?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes slightly, I think it's because now the x=1 is usually included in the scaled xgrid where before it was not

Copy link
Member

Choose a reason for hiding this comment

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

and why is it needed? Its contribution should be 0.

Copy link
Member Author

Choose a reason for hiding this comment

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

Because previously x=1 was not in the fktable xgrids so I could just use the largest x-grid point as the last step in the grid before x=1. With pineappl x=1 is there and it should remain at 1.

Before this change the x=1 in pineappl would be the last step/interval before 1 after scaling.

@RoyStegeman RoyStegeman merged commit e52aa61 into n3lo_qed_covmat Oct 16, 2024
6 checks passed
@RoyStegeman RoyStegeman deleted the update_fs branch October 16, 2024 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
redo-regressions Recompute the regression data
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants