@jefsummers quite simple let suppose we want to check others types of data model instead of Iris data
How we import this model for the predictions for example look at the codes as follow
This an iris data set but replace this model
Two types of data - continuous and categorical
Four types of predictions, then -
Continuous -> Continuous - use linear regression (or similar)
Continuous -> Categorical - use logistic regression
Categorical -> Continuous - use ANOVA (analysis of variance)
Categorical -> Categorical - use chi square
How we import this model for the predictions for example look at the codes as follow
This an iris data set but replace this model
from sklearn.datasets import load_iris iris = load_iris()I replace iris to other model how this will happen just for an example
from sklearn.datasets import Cancer_df Cancer = load_ Cancer_df()After that we apply your proposed model
Two types of data - continuous and categorical
Four types of predictions, then -
Continuous -> Continuous - use linear regression (or similar)
Continuous -> Categorical - use logistic regression
Categorical -> Continuous - use ANOVA (analysis of variance)
Categorical -> Categorical - use chi square