Classification


Work with your assigned partner to write a Python script to fit a logistic regression, K-nearest neighbors, and a decision tree classfier to this obesity data. There are a variety of different types of features/explanatory variables, make sure to do some exploratory analysis first. The goal is to predict the NObeyesdad.

Make sure to do the following:


How do the different models compare to each other?

This page was last modified on 2025-04-01 at 20:14:02.

Copyright © 2018–2026 George Fox University. All rights reserved.