Optimal-Learning-Lab / LKT

12 stars 2 forks source link

The order of the columns for the components attribute #13

Open erkaner opened 1 year ago

erkaner commented 1 year ago

Dear Sir,

When creating an LKT model, we are supposed to pass a list of column names to the components attribute. In the example, you have the following: c("Anon.Student.Id","KC..Default.","KC..Default.")

In my case, I have columns like QuestionId, ExamId, and ObjectiveId (and even the id of the unit that objective belongs to). I wonder what should be the order of the columns to be passed. Is there a specific approach to follow? For example, is there a reason why KC.. prefix is used in the examples ?

Also, I do not understand why in the example snippets, "KC..Default." repeats many times.

imrryr commented 1 year ago

No there is no order, each component is used to compute the numeric value for the feature it is matched to. Then the numeric columns are used simultaneously in the logistic regression as the predictors.