question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature request] Scikit learn integration

See original GitHub issue

As an initial step, a simple integration in the Inference API would be similar to what is done in this repo.

model = joblib.load(cached_download(
    hf_hub_url(REPO_ID, "sklearn_model.joblib")
))

We could do something similar to the Table QA widget and add a structured-data-classification task.

Unless there’s a bigger plan at the moment, this could be a simple enough thing to add from our side to showcase simple classification/regression use cases. We could upload some of the example models from the documentation to a scikit-learn-examples org and let users test them directly in the browser.

WDYT @julien-c?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
julien-ccommented, Jun 10, 2021

security-wise I think we’ll be able to find ways to make it work!

1reaction
adrinjalalicommented, Aug 18, 2022

With the work being done in https://github.com/skops-dev/skops/ and the work being done on the api-inference-community side (e.g.: https://github.com/huggingface/api-inference-community/pull/67, https://github.com/huggingface/api-inference-community/pull/79, https://github.com/huggingface/api-inference-community/pull/83), support for scikit-learn is improving. It’s an ongoing work, but a basic support is now there and this issue can be closed since the work is done on other repos.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Contributing — scikit-learn 1.2.0 documentation
We use GitHub issues to track all bugs and feature requests; feel free to open an issue if you have found a bug...
Read more >
Integrating mvlearn with scikit-learn
A simple way to transform a multiview dataset in a single view dataset is simply by stacking each features. The class mvlearn.compose.ConcatMerger implements ......
Read more >
Use Scikit-learn with Amazon SageMaker - AWS Documentation
I want to use Scikit-learn for data processing, feature engineering, or model evaluation in SageMaker. For a sample Jupyter notebook, see https://github.com/ ...
Read more >
End-to-end example using scikit-learn on Databricks
This notebook uses scikit-learn to illustrate a complete end-to-end example of loading data, model training, distributed hyperparameter tuning, ...
Read more >
scikit-learn Integration - Cnvrg.io
scikit -learn Integration. cnvrg allows you to instantly connect scikit-learn to automate your work and accelerate your development. Request a Demo.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found