readme: ---
  tags:
  - autotrain
  - tabular
  - classification
  - structured-data-classification
  datasets:
  - juliensimon/autotrain-data-tabular-demo
  co2_eq_emissions: 46.62250602085962
  ---
  
  # Model Trained Using AutoTrain
  
  - Problem type: Multi-class Classification
  - Model ID: 762523398
  - CO2 Emissions (in grams): 46.62250602085962
  
  ## Validation Metrics
  
  - Loss: 1.3056225842519276
  - Accuracy: 0.4233709501274117
  - Macro F1: 0.3350017906870798
  - Micro F1: 0.4233709501274117
  - Weighted F1: 0.4053758918787084
  - Macro Precision: 0.37638489440238765
  - Micro Precision: 0.4233709501274117
  - Weighted Precision: 0.4153646383331935
  - Macro Recall: 0.3408183122283034
  - Micro Recall: 0.4233709501274117
  - Weighted Recall: 0.4233709501274117
  
  ## Usage
  
  ```python
  import json
  import joblib
  
  model = joblib.load('model.joblib')
  config = json.load(open('config.json'))
  
  features = config['features']
  
  # data = pd.read_csv("data.csv")
  data = data[features]
  
  predictions = model.predict(data)  # or model.predict_proba(data)
  
  ```