|
|
|
|
|
|
|
|
|
import torch |
|
import torch.nn as nn |
|
import pandas as pd |
|
import numpy as np |
|
from sklearn.preprocessing import StandardScaler, MinMaxScaler |
|
from sklearn.model_selection import train_test_split |
|
from torch.utils.data import DataLoader, TensorDataset |
|
import plotly.express as px |
|
import streamlit as st |
|
|
|
c1, c2 = st.columns([6,6]) |
|
with c2: |
|
st.image('logo_vidad.png', width=300, caption='https://www.continental.edu.pe/') |
|
|
|
|
|
st.title("Predicción de Abandono o Permanencia") |
|
st.write("Cargue el archivo PKL para visualizar el análisis de su contenido.") |
|
uploaded_file = st.file_uploader("Cargar archivo: ", type='pkl') |
|
|
|
if uploaded_file is not None: |
|
|
|
df = pd.read_pickle(uploaded_file) |
|
|
|
c1, c2 = st.columns([6,6]) |
|
with c1: |
|
st.image('gdmklogo.png', width=100, caption='Powered by GestioDinámica 2024') |