jcmachicao
commited on
Commit
•
2d6f8f6
1
Parent(s):
0d7c039
Delete app.py
Browse files
app.py
DELETED
@@ -1,32 +0,0 @@
|
|
1 |
-
# Actualizado por: José Carlos Machicao, Fecha de actualización: 2024_07_08, Lima
|
2 |
-
# Esta vinculado a los PKL de https://sites.google.com/continental.edu.pe/edusights/inicio
|
3 |
-
|
4 |
-
# Importacion de librerias
|
5 |
-
import torch
|
6 |
-
import torch.nn as nn
|
7 |
-
import pandas as pd
|
8 |
-
import numpy as np
|
9 |
-
from sklearn.preprocessing import StandardScaler, MinMaxScaler
|
10 |
-
from sklearn.model_selection import train_test_split
|
11 |
-
from torch.utils.data import DataLoader, TensorDataset
|
12 |
-
import plotly.express as px
|
13 |
-
import streamlit as st
|
14 |
-
|
15 |
-
c1, c2 = st.columns([6,6])
|
16 |
-
with c2:
|
17 |
-
st.image('logo_vidad.png', width=300, caption='https://www.continental.edu.pe/')
|
18 |
-
|
19 |
-
# Títulos y carga de archivo
|
20 |
-
st.title("Predicción de Abandono o Permanencia")
|
21 |
-
st.write("Cargue el archivo PKL para visualizar el análisis de su contenido.")
|
22 |
-
uploaded_file = st.file_uploader("Cargar archivo: ", type='pkl')
|
23 |
-
|
24 |
-
cat_sel = pd.read_excel('df_cat_prior.xlsx')
|
25 |
-
|
26 |
-
if uploaded_file is not None:
|
27 |
-
|
28 |
-
df = pd.read_pickle(uploaded_file)
|
29 |
-
|
30 |
-
c3, c4 = st.columns([6,6])
|
31 |
-
with c3:
|
32 |
-
st.image('gdmklogo.png', width=100, caption='Powered by GestioDinámica 2024')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|