ArchiMathur commited on
Commit
31f00e3
·
verified ·
1 Parent(s): 0de7c3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ data = pd.read_csv("mldata.csv")
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)
18
  #Therefore, need to read from the file to obtain the number.
 
12
  #load prediction model from notebook
13
  # pickleFile = open('rfweights (1).pkl','rb')
14
  pickelFile=open('dtreeweights.pkl','rb')
15
+ rfmodel = pickle.load(pickelFile)
16
 
17
  #Obtain the categorical/nominal data because it is not coded according (but based on the first occurence, first come first assign number)
18
  #Therefore, need to read from the file to obtain the number.