ArchiMathur commited on
Commit
0de7c3c
·
verified ·
1 Parent(s): 24328ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -10,7 +10,8 @@ data = pd.read_csv("mldata.csv")
10
 
11
 
12
  #load prediction model from notebook
13
- pickleFile = open('rfweights (1).pkl','rb')
 
14
  rfmodel = pickle.load(pickleFile)
15
 
16
  #Obtain the categorical/nominal data because it is not coded according (but based on the first occurence, first come first assign number)
 
10
 
11
 
12
  #load prediction model from notebook
13
+ # pickleFile = open('rfweights (1).pkl','rb')
14
+ pickelFile=open('dtreeweights.pkl','rb')
15
  rfmodel = pickle.load(pickleFile)
16
 
17
  #Obtain the categorical/nominal data because it is not coded according (but based on the first occurence, first come first assign number)