Fabio Passos commited on
Commit
f59c66a
1 Parent(s): 3402a30

info about requeriments

Browse files
Files changed (1) hide show
  1. README.md +17 -1
README.md CHANGED
@@ -17,6 +17,21 @@ The model was evaluated on a test set and achieved:
17
  - **Accuracy**: 0.6778
18
  - **AUC**: 0.7314
19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  ## Usage
21
 
22
  ```python
@@ -51,4 +66,5 @@ probability = model.predict_proba([processed_text])[0][1]
51
 
52
  print(f"Texto: {text}")
53
  print(f"脡 mis贸gino: {'Sim' if prediction == 1 else 'N茫o'}")
54
- print(f"Probabilidade: {probability:.4f}")
 
 
17
  - **Accuracy**: 0.6778
18
  - **AUC**: 0.7314
19
 
20
+ ## Requirements
21
+
22
+ This project requires the following libraries:
23
+
24
+ - `scikit-learn==1.7.0`
25
+ - `spacy==3.7.2`
26
+ - `joblib>=1.3.0`
27
+ - `pt_core_news_sm` (downloadable from [here](https://github.com/explosion/spacy-models/releases/download/pt_core_news_sm-3.7.0/pt_core_news_sm-3.7.0-py3-none-any.whl))
28
+
29
+ Install the dependencies using the `requirements.txt` file:
30
+
31
+ ```bash
32
+ pip install -r requirements.txt
33
+ ```
34
+
35
  ## Usage
36
 
37
  ```python
 
66
 
67
  print(f"Texto: {text}")
68
  print(f"脡 mis贸gino: {'Sim' if prediction == 1 else 'N茫o'}")
69
+ print(f"Probabilidade: {probability:.4f}")
70
+ ```