Skip to content

Commit

Permalink
added logo and threshold is reversed in column selection
Browse files Browse the repository at this point in the history
  • Loading branch information
salil committed May 16, 2021
1 parent d58d114 commit e16acdf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
Binary file added Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 10 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import os
import streamlit as st
import numpy as np
from PIL import Image

# Custom imports
from multipage import MultiPage
Expand All @@ -9,14 +11,20 @@
app = MultiPage()

# Title of the main page
st.title("Data Storyteller Application")
display = Image.open('Logo.png')
display = np.array(display)
# st.image(display, width = 400)
# st.title("Data Storyteller Application")
col1, col2 = st.beta_columns(2)
col1.image(display, width = 400)
col2.title("Data Storyteller Application")

# Add all your application here
app.add_page("Upload Data", data_upload.app)
app.add_page("Change Metadata", metadata.app)
app.add_page("Machine Learning", machine_learning.app)
app.add_page("Data Analysis",data_visualize.app)
app.add_page("Redundant Columns",redundant.app)
app.add_page("Y-Parameter Optimization",redundant.app)

# The main app
app.run()
2 changes: 1 addition & 1 deletion pages/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def getRedundentColumns(corr, y: str, threshold =0.1):
redunt = []
k = 0
for ind, c in enumerate(corr[y]):
if c<threshold:
if c<1-threshold:
redunt.append(cols[ind])
return redunt

Expand Down

0 comments on commit e16acdf

Please sign in to comment.