system HF staff commited on
Commit
c786e87
1 Parent(s): af9ac39

Commit From AutoTrain

Browse files
Files changed (4) hide show
  1. .gitattributes +3 -0
  2. README.md +46 -0
  3. config.json +3 -0
  4. model.joblib +3 -0
.gitattributes CHANGED
@@ -31,3 +31,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
31
  *.zip filter=lfs diff=lfs merge=lfs -text
32
  *.zst filter=lfs diff=lfs merge=lfs -text
33
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
31
  *.zip filter=lfs diff=lfs merge=lfs -text
32
  *.zst filter=lfs diff=lfs merge=lfs -text
33
  *tfevents* filter=lfs diff=lfs merge=lfs -text
34
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
35
+ *.tar.gz filter=lfs diff=lfs merge=lfs -text
36
+ *.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - autotrain
4
+ - tabular
5
+ - classification
6
+ - tabular-classification
7
+ datasets:
8
+ - kem000123/autotrain-data-model1-binary-class
9
+ co2_eq_emissions:
10
+ emissions: 4.092983833698762
11
+ ---
12
+
13
+ # Model Trained Using AutoTrain
14
+
15
+ - Problem type: Binary Classification
16
+ - Model ID: 1843363194
17
+ - CO2 Emissions (in grams): 4.0930
18
+
19
+ ## Validation Metrics
20
+
21
+ - Loss: 0.036
22
+ - Accuracy: 1.000
23
+ - Precision: 1.000
24
+ - Recall: 1.000
25
+ - AUC: 1.000
26
+ - F1: 1.000
27
+
28
+ ## Usage
29
+
30
+ ```python
31
+ import json
32
+ import joblib
33
+ import pandas as pd
34
+
35
+ model = joblib.load('model.joblib')
36
+ config = json.load(open('config.json'))
37
+
38
+ features = config['features']
39
+
40
+ # data = pd.read_csv("data.csv")
41
+ data = data[features]
42
+ data.columns = ["feat_" + str(col) for col in data.columns]
43
+
44
+ predictions = model.predict(data) # or model.predict_proba(data)
45
+
46
+ ```
config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a677993731c201cdb9a65cf7a547bb549f4a13f4f5863c0a725c38a0bfff2834
3
+ size 658
model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c6cbaf1a8ae8d752981be275082a772a70253386c8c6dd20c24bf5a3a5419a5
3
+ size 556862