Skip to content

Commit

Permalink
pca
Browse files Browse the repository at this point in the history
  • Loading branch information
codebasics committed Oct 8, 2021
1 parent 5aab293 commit de2814b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ML/18_PCA/pca_exercise.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Download heart disease dataset heart.csv in Exercise folder and do following, (credits of dataset: https://www.kaggle.com/fedesoriano/heart-failure-prediction)
Download heart disease dataset heart.csv in [Exercise](https://github.com/codebasics/py/tree/master/ML/18_PCA/Exercise) folder and do following, (credits of dataset: https://www.kaggle.com/fedesoriano/heart-failure-prediction)

1. Load heart disease dataset in pandas dataframe
1. Remove outliers using Z score. Usual guideline is to remove anything that has Z score > 3 formula or Z score < -3
Expand All @@ -8,7 +8,7 @@ Download heart disease dataset heart.csv in Exercise folder and do following, (c
1. Now use PCA to reduce dimensions, retrain your model and see what impact it has on your model in terms of accuracy. Keep in mind that many times doing PCA reduces the accuracy but computation is much lighter and that's the trade off you need to consider while building models in real life


[Solution Link]()
[Solution Link](https://github.com/codebasics/py/blob/master/ML/18_PCA/Exercise/PCA_heart_disease_prediction_exercise_solution.ipynb)



Expand Down

0 comments on commit de2814b

Please sign in to comment.