Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6ab73ae

Browse files
Merge branch 'heart_disease' of https://github.com/aaadddiii/Amazing-Python-Scripts into heart_disease
2 parents ced7522 + f487a74 commit 6ab73ae

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎Heart Disease Prediction/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Heart disease prediction
1+
## Heart disease prediction
22
This python script uses a machine learning model to predict whether a person has heart disease or not.
33

4-
# How to run program
4+
## How to run program
55
**1.** Fork [this](https://github.com/avinashkranjan/Amazing-Python-Scripts) repository.
66

77
**2.** Clone your forked copy of the project.
@@ -20,4 +20,4 @@ pip install -r requirements.txt
2020
```bash
2121
python script.py
2222
```
23-
#### By [Adithya Kurien Peter]("https://github.com/aaadddiii")
23+
#### By [Adithya Kurien Peter]("https://github.com/aaadddiii")

‎Heart Disease Prediction/script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
data["ca"] = int(input())
3737
print("[+] Enter 3 = normal, 6 = fixed defect, 7 = reversable defect")
3838
data["thal"] = int(input())
39-
model = pickle.load(open("./heart_model.pkl", "rb"))
39+
model = pickle.load(open("./Heart Disease Prediction/heart_model.pkl", "rb"))
4040
arr = pd.DataFrame(
4141
[
4242
[

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /