flowchart LR
ad[Todos\nlos datos]
style ad fill:#fff,stroke:#666,color:#000
tr[Entrenamiento]
style tr fill:#FBE9BF,stroke:#666,color:#000
ts[Prueba]
style ts fill:#E5E7FD,stroke:#666,color:#000
ad --> tr
ad --> ts
rs[Remuestreo]
style rs fill:#FDF4E3,stroke:#666,color:#000
tr --> rs
lg[Regresión\nlogística]
style lg fill:#FDF4E3,stroke:#666,color:#000
rs --> lg
dt[Arbol de\nDecisión]
style dt fill:#FDF4E3,stroke:#666,color:#000
rs --> dt
rf[Bosque\nAleatorio]
style rf fill:#FDF4E3,stroke:#666,color:#000
rs --> rf
sm[Seleccionar\nmodelo]
style sm fill:#FDF4E3,stroke:#666,color:#000
lg --> sm
dt --> sm
rf --> sm
fm[Entrenar modelo\nselecionado]
style fm fill:#FBE9BF,stroke:#666,color:#000
sm --> fm
tr --> fm
vm[Verificar la\ncalidad]
style vm fill:#E5E7FD,stroke:#666,color:#000
fm --> vm
ts --> vm