Instructions to use scikit-learn-examples/example with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use scikit-learn-examples/example with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("scikit-learn-examples/example", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
Omar Sanseviero commited on
Commit ·
36c5afb
1
Parent(s): 306bf08
Create class_definitions.py
Browse files- class_definitions.py +5 -0
class_definitions.py
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from sklearn.pipeline import Pipeline
|
| 2 |
+
|
| 3 |
+
class MyPipeline(Pipeline):
|
| 4 |
+
def __init__(self, steps):
|
| 5 |
+
super().__init__(steps)
|