Instructions to use bolewara/product-image-feature-analyzer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use bolewara/product-image-feature-analyzer with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("bolewara/product-image-feature-analyzer", "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
Product Image Feature Analyzer
Isolation Forest anomaly detector + KMeans clustering over the 100-dim PCA image features of a 75,000-product image dataset.
Model Characteristics
- Type: Unsupervised (IsolationForest + KMeans)
- Inputs: 100 normalized PCA image features (
img_pca_0..img_pca_99) - Outputs: anomaly flag (1/-1) and cluster assignment (0-7)
- Anomalies found: 2% of rows flagged
Data Overview
- Dataset:
anujbolewar/product-image-features(75,000 rows x 102 cols) - Built from the user's own product image feature extraction pipeline
Evaluation Results
- IsolationForest contamination set to 2%; 1500 anomalies detected
- KMeans with k=8; silhouette on 10% subsample reported
Files
scaler.joblibโ StandardScaleranomaly_detector.joblibโ trained IsolationForestcluster_model.joblibโ trained KMeans (8 clusters)feature_cols.npyโ PCA feature column namescluster_centers.npyโ cluster centroids
Usage
import joblib
scaler = joblib.load("scaler.joblib")
anomaly_detector = joblib.load("anomaly_detector.joblib")
cluster_model = joblib.load("cluster_model.joblib")
Provenance
Trained by Anuj Bolewar (anujbolewar on Kaggle) on the product-image-features dataset.
- Downloads last month
- -
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support