Instructions to use ModelForge/spam-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use ModelForge/spam-classifier with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("ModelForge/spam-classifier", "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
| """Data embedding techniques.""" | |
| # Authors: The scikit-learn developers | |
| # SPDX-License-Identifier: BSD-3-Clause | |
| from ._isomap import Isomap | |
| from ._locally_linear import LocallyLinearEmbedding, locally_linear_embedding | |
| from ._mds import MDS, smacof | |
| from ._spectral_embedding import SpectralEmbedding, spectral_embedding | |
| from ._t_sne import TSNE, trustworthiness | |
| __all__ = [ | |
| "locally_linear_embedding", | |
| "LocallyLinearEmbedding", | |
| "Isomap", | |
| "MDS", | |
| "smacof", | |
| "SpectralEmbedding", | |
| "spectral_embedding", | |
| "TSNE", | |
| "trustworthiness", | |
| ] | |