Assignment 10 1d)

Assignment 10 1d)

by Jinyuru Yang -
Number of replies: 1

Hi,

For assignment 10 1d it states that the function takes two arguments - a pre trained model, and the test data. Does this mean the first argument itself will be a function that we previously created? Or is the first argument supposed to define the type of pretrained model (DT, KNN, SVM) and then we call the function for these models within 1d? My issue with the second approach is that don’t we also need to pass the training data into 1d in order to call on the previous functions that rely on the training data?

In reply to Jinyuru Yang

Re: Assignment 10 1d)

by Erik Spence -
Neither. The argument is a model which has already been trained.