
Laboratorio Python
Authored by Adilson 白
Information Technology (IT)
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
¿Qué función se usa para entrenar o crear un modelo en sklearn?
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
¿Cuál es la forma correcta de dividir los datos en entrenamiento y prueba?
split_data(X, Y, 0.2)
X.split(Y, size=0.2)
train_test_split(X, Y, test_size=0.3)
divide_data(X, Y)
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
En un árbol de decisión, ¿qué significa max_depth=5?
El árbol tiene 5 ramas
Limita la profundidad del árbol a 5 niveles
Solo se usan 5 datos para entrenar
El modelo predice en 5 pasos
4.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
¿Qué herramienta se usa para visualizar datos en el ejemplo?
Matplotlib
numpy
metrics
Seaborn
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
¿Qué línea de código se usa para predecir con un nuevo paciente?
model.learn(nuevo_paciente)
predict.fit(nuevo_paciente)
model.predict(nuevo_paciente)
model.fit(nuevo_paciente)
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
¿Qué cambio harías si quieres evaluar el modelo con el 100% de los datos disponibles?
Cambiar test_size=0.2 a 1.0
Usar model.test_all()
model.predict(X)
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
¿Cuál de las siguientes es una librería usada en los ejemplos para trabajar con modelos?
Pandas
scikit-learn (sklearn)
Flask
numpy
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?