Run this model with HF Jobs
Run saifhmb/Credit-Card-Risk-Model on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/saifhmb/Credit-Card-Risk-Model. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/saifhmb/Credit-Card-Risk-Model on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use saifhmb/Credit-Card-Risk-Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use saifhmb/Credit-Card-Risk-Model with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("saifhmb/Credit-Card-Risk-Model", "skops-akmmropo.pkl") ) # 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
pushing model to the Hugging Face Hub
Browse filesFiles changed (4)
- README.mdAdded+148
- config.jsonAdded+107
- confusion_matrix.pngAdded
- skops-_rlm9nbx.pklAdded+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148---library_name: sklearntags:- sklearn- skops- tabular-classificationmodel_format: picklemodel_file: skops-_rlm9nbx.pklwidget:- structuredData: x0: - 1.0086665077175379 - 1.0086665077175379 - -0.9914079553041198 x1: - -1.0086665077175376 - -1.0086665077175376 - 0.99140795530412 x10: - -0.22650043789522045 - 1.0087085512107812 - -1.1535683034040811 x11: - -0.3931869525722032 - -1.2502276872280191 - -0.3931869525722032 x12: - -0.22475360373860484 - -1.2736037545187613 - -1.2736037545187613 x13: - -0.36644465957257716 - -0.36644465957257716 - -0.36644465957257716 x14: - -0.43989052441881077 - -1.6043722933752058 - -0.43989052441881077 x2: - -0.5244627009562925 - -0.5244627009562925 - -0.5244627009562925 x3: - -1.0038424733297755 - -1.0038424733297755 - 0.9961722347560998 x4: - 1.594238352724291 - 1.594238352724291 - -0.6272587773911873 x5: - -0.9810049179827242 - 1.0193628815402107 - 1.0193628815402107 x6: - 0.981004917982724 - -1.019362881540211 - -1.019362881540211 x7: - 1.901326970246757 - -0.525948464229825 - -0.525948464229825 x8: - -1.9013269702467568 - 0.5259484642298251 - 0.5259484642298251 x9: - -0.7015627248979232 - 0.8218167103592607 - -1.3109144990007968---
# Model description
[More Information Needed]
## Intended uses & limitations
[More Information Needed]
## Training Procedure
[More Information Needed]
### Hyperparameters
<details><summary> Click to expand </summary>
| Hyperparameter | Value ||-------------------|---------|| C | 1.0 || class_weight | || dual | False || fit_intercept | True || intercept_scaling | 1 || l1_ratio | || max_iter | 100 || multi_class | auto || n_jobs | || penalty | l2 || random_state | || solver | lbfgs || tol | 0.0001 || verbose | 0 || warm_start | False |
</details>
### Model Plot
<style>#sk-container-id-4 {color: black;background-color: white;}#sk-container-id-4 pre{padding: 0;}#sk-container-id-4 div.sk-toggleable {background-color: white;}#sk-container-id-4 label.sk-toggleable__label {cursor: pointer;display: block;width: 100%;margin-bottom: 0;padding: 0.3em;box-sizing: border-box;text-align: center;}#sk-container-id-4 label.sk-toggleable__label-arrow:before {content: "▸";float: left;margin-right: 0.25em;color: #696969;}#sk-container-id-4 label.sk-toggleable__label-arrow:hover:before {color: black;}#sk-container-id-4 div.sk-estimator:hover label.sk-toggleable__label-arrow:before {color: black;}#sk-container-id-4 div.sk-toggleable__content {max-height: 0;max-width: 0;overflow: hidden;text-align: left;background-color: #f0f8ff;}#sk-container-id-4 div.sk-toggleable__content pre {margin: 0.2em;color: black;border-radius: 0.25em;background-color: #f0f8ff;}#sk-container-id-4 input.sk-toggleable__control:checked~div.sk-toggleable__content {max-height: 200px;max-width: 100%;overflow: auto;}#sk-container-id-4 input.sk-toggleable__control:checked~label.sk-toggleable__label-arrow:before {content: "▾";}#sk-container-id-4 div.sk-estimator input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-4 div.sk-label input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-4 input.sk-hidden--visually {border: 0;clip: rect(1px 1px 1px 1px);clip: rect(1px, 1px, 1px, 1px);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;}#sk-container-id-4 div.sk-estimator {font-family: monospace;background-color: #f0f8ff;border: 1px dotted black;border-radius: 0.25em;box-sizing: border-box;margin-bottom: 0.5em;}#sk-container-id-4 div.sk-estimator:hover {background-color: #d4ebff;}#sk-container-id-4 div.sk-parallel-item::after {content: "";width: 100%;border-bottom: 1px solid gray;flex-grow: 1;}#sk-container-id-4 div.sk-label:hover label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-4 div.sk-serial::before {content: "";position: absolute;border-left: 1px solid gray;box-sizing: border-box;top: 0;bottom: 0;left: 50%;z-index: 0;}#sk-container-id-4 div.sk-serial {display: flex;flex-direction: column;align-items: center;background-color: white;padding-right: 0.2em;padding-left: 0.2em;position: relative;}#sk-container-id-4 div.sk-item {position: relative;z-index: 1;}#sk-container-id-4 div.sk-parallel {display: flex;align-items: stretch;justify-content: center;background-color: white;position: relative;}#sk-container-id-4 div.sk-item::before, #sk-container-id-4 div.sk-parallel-item::before {content: "";position: absolute;border-left: 1px solid gray;box-sizing: border-box;top: 0;bottom: 0;left: 50%;z-index: -1;}#sk-container-id-4 div.sk-parallel-item {display: flex;flex-direction: column;z-index: 1;position: relative;background-color: white;}#sk-container-id-4 div.sk-parallel-item:first-child::after {align-self: flex-end;width: 50%;}#sk-container-id-4 div.sk-parallel-item:last-child::after {align-self: flex-start;width: 50%;}#sk-container-id-4 div.sk-parallel-item:only-child::after {width: 0;}#sk-container-id-4 div.sk-dashed-wrapped {border: 1px dashed gray;margin: 0 0.4em 0.5em 0.4em;box-sizing: border-box;padding-bottom: 0.4em;background-color: white;}#sk-container-id-4 div.sk-label label {font-family: monospace;font-weight: bold;display: inline-block;line-height: 1.2em;}#sk-container-id-4 div.sk-label-container {text-align: center;}#sk-container-id-4 div.sk-container {/* jupyter's `normalize.less` sets `[hidden] { display: none; }` but bootstrap.min.css set `[hidden] { display: none !important; }` so we also need the `!important` here to be able to override the default hidden behavior on the sphinx rendered scikit-learn.org. See: https://github.com/scikit-learn/scikit-learn/issues/21755 */display: inline-block !important;position: relative;}#sk-container-id-4 div.sk-text-repr-fallback {display: none;}</style><div id="sk-container-id-4" class="sk-top-container" style="overflow: auto;"><div class="sk-text-repr-fallback"><pre>LogisticRegression()</pre><b>In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook. <br />On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.</b></div><div class="sk-container" hidden><div class="sk-item"><div class="sk-estimator sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-4" type="checkbox" checked><label for="sk-estimator-id-4" class="sk-toggleable__label sk-toggleable__label-arrow">LogisticRegression</label><div class="sk-toggleable__content"><pre>LogisticRegression()</pre></div></div></div></div></div>
## Evaluation Results
| Metric | Value ||-----------|----------|| accuracy | 0.699187 || precision | 0.688411 || recall | 0.699187 |
### Confusion Matrix

# How to Get Started with the Model
[More Information Needed]
# Model Card Authors
This model card is written by following authors:
[More Information Needed]
# Model Card Contact
You can contact the model card authors through following channels:[More Information Needed]
# Citation
Below you can find information related to citation.
**BibTeX:**```[More Information Needed]```123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107{ "sklearn": { "columns": [ "x0", "x1", "x2", "x3", "x4", "x5", "x6", "x7", "x8", "x9", "x10", "x11", "x12", "x13", "x14" ], "environment": [ "scikit-learn=1.2.2" ], "example_input": { "x0": [ 1.0086665077175379, 1.0086665077175379, -0.9914079553041198 ], "x1": [ -1.0086665077175376, -1.0086665077175376, 0.99140795530412 ], "x10": [ -0.22650043789522045, 1.0087085512107812, -1.1535683034040811 ], "x11": [ -0.3931869525722032, -1.2502276872280191, -0.3931869525722032 ], "x12": [ -0.22475360373860484, -1.2736037545187613, -1.2736037545187613 ], "x13": [ -0.36644465957257716, -0.36644465957257716, -0.36644465957257716 ], "x14": [ -0.43989052441881077, -1.6043722933752058, -0.43989052441881077 ], "x2": [ -0.5244627009562925, -0.5244627009562925, -0.5244627009562925 ], "x3": [ -1.0038424733297755, -1.0038424733297755, 0.9961722347560998 ], "x4": [ 1.594238352724291, 1.594238352724291, -0.6272587773911873 ], "x5": [ -0.9810049179827242, 1.0193628815402107, 1.0193628815402107 ], "x6": [ 0.981004917982724, -1.019362881540211, -1.019362881540211 ], "x7": [ 1.901326970246757, -0.525948464229825, -0.525948464229825 ], "x8": [ -1.9013269702467568, 0.5259484642298251, 0.5259484642298251 ], "x9": [ -0.7015627248979232, 0.8218167103592607, -1.3109144990007968 ] }, "model": { "file": "skops-_rlm9nbx.pkl" }, "model_format": "pickle", "task": "tabular-classification", "use_intelex": false }}123version https://git-lfs.github.com/spec/v1oid sha256:091ce918a8a505dd0c46bbf1d1019b08b175a03cf03072e652cf21a4e0ffafbcsize 1095README.mdAdded+148
config.jsonAdded+107
confusion_matrix.pngAdded

skops-_rlm9nbx.pklAdded+3