Skip to content

Add rbf_kernel Function #2313

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

Open
icfaust opened this issue Feb 10, 2025 · 2 comments
Open

Add rbf_kernel Function #2313

icfaust opened this issue Feb 10, 2025 · 2 comments
Labels
good first issue Good for newcomers hacktoberfest help wanted Open to community contribution

Comments

@icfaust
Copy link
Contributor

icfaust commented Feb 10, 2025

The rbf kernel converts data via a radial basis function into a new space. This is easy difficulty, but requires significant benchmarking to find when
the scikit-learn-intelex implementation provides better performance. This project will focus on the public API and including the benchmarking
results for a seamless, high-performance user experience. Combines with the other kernel projects to a medium time commitment.

Scikit-learn definition can be found at:
https://scikit-learn.org/stable/modules/generated/sklearn.metrics.pairwise.rbf_kernel.html

The onedal interface can be found at:
https://github.com/uxlfoundation/scikit-learn-intelex/blob/main/onedal/primitives/kernel_functions.py#L70

@icfaust icfaust added good first issue Good for newcomers hacktoberfest help wanted Open to community contribution labels Feb 10, 2025
@tanannie22
Copy link
Contributor

tanannie22 commented Mar 6, 2025

Hi @icfaust, SLintelex_Team2 is interested to work on this! But we are unclear on what is the expected outcome and would like to know more from you. If there are any references or examples we can follow, that would be really helpful.

@icfaust
Copy link
Contributor Author

icfaust commented Mar 6, 2025

Thanks for writing @tanannie22 ! Sorry about not being clearer. As of now, the rbf, polynomial and linear kernel functions are only available in the onedal folder, but we would like to have them available for users via sklearnex. This means we need to write python interfaces in the sklearnex folder which will use the code written in the onedal folder. An example of where this was done recently is this PR: #1957 Where the interfaces for the IncrementalRidge Algorithm was written in sklearnex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers hacktoberfest help wanted Open to community contribution
Projects
None yet
Development

No branches or pull requests

2 participants