Browse Source

docs(ai-audits): fix format errors, rephrase, and typos

pull/1687/head
eslopfer 2 years ago
parent
commit
f8fae31cf0
  1. 6
      subjects/ai/classification/audit/README.md
  2. 2
      subjects/ai/credit-scoring/audit/README.md
  3. 2
      subjects/ai/data-wrangling/audit/README.md
  4. 2
      subjects/ai/keras-2/audit/README.md
  5. 2
      subjects/ai/keras/audit/README.md
  6. 2
      subjects/ai/linear-regression/audit/README.md
  7. 4
      subjects/ai/model-selection/audit/README.md
  8. 2
      subjects/ai/neural-networks/audit/README.md
  9. 2
      subjects/ai/nlp-spacy/audit/README.md
  10. 2
      subjects/ai/pipeline/audit/README.md
  11. 4
      subjects/ai/visualizations/audit/README.md

6
subjects/ai/classification/audit/README.md

@ -1,6 +1,6 @@
#### Exercise 0: Environment and libraries #### Exercise 0: Environment and libraries
##### The exercise is validated is all questions of the exercise are validated. ##### The exercise is validated if all questions of the exercise are validated.
##### Activate the virtual environment. If you used `conda` run `conda activate your_env` ##### Activate the virtual environment. If you used `conda` run `conda activate your_env`
@ -50,7 +50,7 @@ Score:
#### Exercise 3: Decision boundary #### Exercise 3: Decision boundary
##### The exercise is validated is all questions of the exercise are validated ##### The exercise is validated if all questions of the exercise are validated
###### Does the outputted plot for question 1 look like this? ###### Does the outputted plot for question 1 look like this?
@ -130,7 +130,7 @@ y_test:
#### Exercise 5: Breast Cancer prediction #### Exercise 5: Breast Cancer prediction
###### The exercise is validated is all questions of the exercise are validated ###### The exercise is validated if all questions of the exercise are validated
###### Is the proportion of class `Benign` 0.6552217453505007 for question 1? It means that if you always predict `Benign` your accuracy would be 66%. ###### Is the proportion of class `Benign` 0.6552217453505007 for question 1? It means that if you always predict `Benign` your accuracy would be 66%.

2
subjects/ai/credit-scoring/audit/README.md

@ -84,4 +84,4 @@ This [article](https://medium.com/thecyphy/home-credit-default-risk-part-2-84b58
###### Are the 3 clients selected as expected? 2 clients from the train set (1 on which the model is correct and 1 on which the model's wrong) and 1 client from the test set. ###### Are the 3 clients selected as expected? 2 clients from the train set (1 on which the model is correct and 1 on which the model's wrong) and 1 client from the test set.
###### SHAP values on predictions are computed for the 3 clients. The force plot shows what variables contributes the most to the score. **Check that the score outputted by the force plot corresponds to the one outputted by the model.** ###### SHAP values on predictions are computed for the 3 clients. The force plot shows what variables contributes the most to the score. Does the score outputted by the force plot correspond to the one outputted by the model?

2
subjects/ai/data-wrangling/audit/README.md

@ -81,7 +81,7 @@
#### Exercise 4: Groupby Apply #### Exercise 4: Groupby Apply
##### The exercise is validated is all questions of the exercise are validated and if the for loop hasn't been used. The goal is to use `groupby` and `apply`. ##### The exercise is validated if all questions of the exercise are validated and if the for loop hasn't been used. The goal is to use `groupby` and `apply`.
###### Is the output for question 1 the following? ###### Is the output for question 1 the following?

2
subjects/ai/keras-2/audit/README.md

@ -1,6 +1,6 @@
#### Exercise 0: Environment and libraries #### Exercise 0: Environment and libraries
##### The exercise is validated is all questions of the exercise are validated. ##### The exercise is validated if all questions of the exercise are validated.
##### Activate the virtual environment. If you used `conda` run `conda activate your_env`. ##### Activate the virtual environment. If you used `conda` run `conda activate your_env`.

2
subjects/ai/keras/audit/README.md

@ -1,6 +1,6 @@
#### Exercise 0: Environment and libraries #### Exercise 0: Environment and libraries
##### The exercise is validated is all questions of the exercise are validated ##### The exercise is validated if all questions of the exercise are validated
##### Activate the virtual environment. If you used `conda` run `conda activate your_env` ##### Activate the virtual environment. If you used `conda` run `conda activate your_env`

2
subjects/ai/linear-regression/audit/README.md

@ -2,7 +2,7 @@
#### Exercise 0: Environment and libraries #### Exercise 0: Environment and libraries
##### The exercise is validated is all questions of the exercise are validated ##### The exercise is validated if all questions of the exercise are validated
##### Activate the virtual environment. If you used `conda` run `conda activate your_env` ##### Activate the virtual environment. If you used `conda` run `conda activate your_env`

4
subjects/ai/model-selection/audit/README.md

@ -64,7 +64,7 @@ The model is consistent across folds: it is stable. That's a first sign that the
#### Exercise 3: GridsearchCV #### Exercise 3: GridsearchCV
##### The exercise is validated is all questions of the exercise are validated ##### The exercise is validated if all questions of the exercise are validated
###### For question 1, is the code that runs the grid search similar to the following? ###### For question 1, is the code that runs the grid search similar to the following?
@ -84,7 +84,7 @@ gridsearch.fit(X_train, y_train)
The answers that uses another list of parameters are accepted too ! The answers that uses another list of parameters are accepted too !
###### For question 2, whe these attributes used? ###### For question 2, were these attributes used?
```python ```python
print(gridsearch.best_score_) print(gridsearch.best_score_)

2
subjects/ai/neural-networks/audit/README.md

@ -8,7 +8,7 @@
###### Does it print `Python 3.x`? x >= 8 ###### Does it print `Python 3.x`? x >= 8
##### Do `import jupyter` and `import numpy` run without any error? ###### Do `import jupyter` and `import numpy` run without any error?
--- ---

2
subjects/ai/nlp-spacy/audit/README.md

@ -1,6 +1,6 @@
#### Exercise 0: Environment and libraries #### Exercise 0: Environment and libraries
##### The exercise is all questions of the exercise are validated. ##### The exercise is is validated if all questions of the exercise are validated.
##### Activate the virtual environment. If you used `conda` run `conda activate your_env`. ##### Activate the virtual environment. If you used `conda` run `conda activate your_env`.

2
subjects/ai/pipeline/audit/README.md

@ -1,6 +1,6 @@
#### Exercise 0: Environment and libraries #### Exercise 0: Environment and libraries
##### The exercise is validated is all questions of the exercise are validated. ##### The exercise is validated if all questions of the exercise are validated.
##### Activate the virtual environment. If you used `conda` run `conda activate your_env`. ##### Activate the virtual environment. If you used `conda` run `conda activate your_env`.

4
subjects/ai/visualizations/audit/README.md

@ -8,7 +8,7 @@
###### Does it print `Python 3.x`? x >= 8 ###### Does it print `Python 3.x`? x >= 8
##### Do `import jupyter`, `import numpy`, `import pandas`, `matplotlib` and `plotly` run without any error ? ###### Do `import jupyter`, `import numpy`, `import pandas`, `matplotlib` and `plotly` run without any errors?
--- ---
@ -16,7 +16,7 @@
#### Exercise 1: Pandas plot 1 #### Exercise 1: Pandas plot 1
##### The exercise is validated is all questions of the exercise are validated ##### The exercise is validated if all questions of the exercise are validated
###### For question 1, does the plot reproduce the plot in the image and respect those criteria? ###### For question 1, does the plot reproduce the plot in the image and respect those criteria?

Loading…
Cancel
Save