Commit ยท
06d38ce
1
Parent(s): f46731f
Update algos/classification/logistic.py
Browse files
algos/classification/logistic.py
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import numpy as np
|
| 3 |
from sklearn.linear_model import LogisticRegression
|
| 4 |
-
|
| 5 |
|
| 6 |
def process(data):
|
| 7 |
-
if
|
| 8 |
st.info('Please Upload Data')
|
| 9 |
return None
|
| 10 |
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import numpy as np
|
| 3 |
from sklearn.linear_model import LogisticRegression
|
| 4 |
+
|
| 5 |
|
| 6 |
def process(data):
|
| 7 |
+
if data[0] == None or data[1] == None: # if either training or testing dataset is still missing
|
| 8 |
st.info('Please Upload Data')
|
| 9 |
return None
|
| 10 |
|