Tabular Classification
Keras
Scikit-learn
English
tensorflow
random-forest
cnn
clustering
nlp
computer-vision
recommendation-system
time-series
streamlit
Instructions to use OKTAYBBS/DataScientst-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use OKTAYBBS/DataScientst-models with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://OKTAYBBS/DataScientst-models") - Scikit-learn
How to use OKTAYBBS/DataScientst-models with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("OKTAYBBS/DataScientst-models", "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
File size: 3,322 Bytes
e428729 c40104b d33b6db c40104b d33b6db c40104b e428729 c40104b e428729 d33b6db e428729 c40104b e428729 d33b6db e428729 c40104b e428729 c40104b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | ---
license: mit
language:
- en
tags:
- sklearn
- tensorflow
- keras
- random-forest
- cnn
- clustering
- nlp
- computer-vision
- recommendation-system
- time-series
- streamlit
pipeline_tag: tabular-classification
---
# DataScientst -- 30 Projects, 34 Trained Models
Trained models from a comprehensive ML/AI portfolio spanning 10 categories. All models were trained on real Kaggle datasets.
## Repository Structure
```
regression/ -- Gold, Student, Uber prediction models
classification/ -- Mobile, Wine, Churn classification models
clustering/ -- NBA, Credit Card, Spotify clustering models + scalers
computer_vision/ -- Face mask detection model
nlp/ -- Spam, IMDb, Fake News models + TF-IDF vectorizers
recommendation/ -- Movie, Book, Music recommendation data + similarity matrices
time_series/ -- Stock, Weather, Store prediction models
data_viz/ -- Visualization CSV datasets
deep_learning/ -- CNN models (Keras) + Markov text generator
metrics/ -- Performance metrics for all models (JSON, CSV, PNG)
```
## Models & Metrics
### Regression
| Model | File | Metric |
|-------|------|--------|
| Gold Price Prediction | `regression/gold_model.pkl` | R² = 0.990 |
| Student Exam Score | `regression/student_model.pkl` | R² = 0.849 |
| Uber/Taxi Fare | `regression/uber_model.pkl` | R² = 0.778 |
### Classification
| Model | File | Metric |
|-------|------|--------|
| Mobile Price Segment | `classification/mobile_model.pkl` | Accuracy = 81.2% |
| Wine Quality | `classification/wine_model.pkl` | Accuracy = 67.5% |
| Customer Churn | `classification/churn_model.pkl` | Accuracy = 78.9% |
### Clustering
| Model | File | Metric |
|-------|------|--------|
| NBA Player Clustering | `clustering/nba_model.pkl` | Silhouette = 0.452 |
| Credit Card Segmentation | `clustering/cc_model.pkl` | Silhouette = 0.531 |
| Spotify Song Clustering | `clustering/spotify_model.pkl` | Silhouette = 0.327 |
### NLP
| Model | File | Metric |
|-------|------|--------|
| SMS Spam Detection | `nlp/spam_model.pkl` | Accuracy = 98.0% |
| IMDb Sentiment Analysis | `nlp/imdb_model.pkl` | Accuracy = 87.3% |
| Fake News Detection | `nlp/news_model.pkl` | Accuracy = 97.6% |
### Deep Learning
| Model | File | Metric |
|-------|------|--------|
| Pneumonia Detection (CNN) | `deep_learning/pneumonia_model.keras` | Val Acc = 92.5% |
| Facial Emotion Recognition (CNN) | `deep_learning/fer_model.keras` | Val Acc = 65.4% |
## Usage
```python
from huggingface_hub import hf_hub_download
import joblib
# Download from a category folder
model_path = hf_hub_download(
repo_id="OKTAYBBS/DataScientst-models",
filename="regression/gold_model.pkl"
)
model = joblib.load(model_path)
prediction = model.predict([[1500, 70, 20, 1.1]])
```
```python
# For Keras models
import tensorflow as tf
model_path = hf_hub_download(
repo_id="OKTAYBBS/DataScientst-models",
filename="deep_learning/pneumonia_model.keras"
)
model = tf.keras.models.load_model(model_path)
```
## Links
- **Live Demo:** [Streamlit App](https://oktaybobus-datascientst.streamlit.app)
- **Portfolio:** [HF Space](https://huggingface.co/spaces/OKTAYBBS/DataScientst)
- **Source Code:** [GitHub](https://github.com/oktaybobus/DataScientst)
|