The decision to use a linear model vs. a nonlinear model in machine learning depends on the degree of nonlinearity in the data. Use Exploratory Data Analysis methods to check for nonlinearity in the data among the variables. If the relationship between the independent and dependent variables is linear, a linear model may suffice. However, if the relationship is more complex or nonlinear, a nonlinear model may be necessary.