Spaces:
Runtime error
Runtime error
sourav11295
commited on
Commit
·
f10abf9
1
Parent(s):
30527e5
Final changes app,py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def read(file,dep,ord):
|
|
50 |
else:
|
51 |
text = "regression"
|
52 |
result = regression(new_df,dep)
|
53 |
-
return df.
|
54 |
|
55 |
def classification(df,dep):
|
56 |
X = df.drop(dep,axis=1)
|
|
|
50 |
else:
|
51 |
text = "regression"
|
52 |
result = regression(new_df,dep)
|
53 |
+
return df.head(5),new_df.head(5),result, text, cat, ord, nom
|
54 |
|
55 |
def classification(df,dep):
|
56 |
X = df.drop(dep,axis=1)
|