Skip to content

Commit

Permalink
lets try this again
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-alt committed Apr 5, 2024
1 parent bf6289a commit c6ae2b5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/conformal_models/inductive/inductive_models.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ function split_data(conf_model::InductiveModel, X, y)
train, calibration = partition(eachindex(y), conf_model.train_ratio)
Xtrain = selectrows(X, train)
ytrain = y[train]
Xtrain, ytrain = MMI.reformat(conf_model.model, Xtrain, ytrain)
Xcal = selectrows(X, calibration)
ycal = y[calibration]
Xcal, ycal = MMI.reformat(conf_model.model, Xcal, ycal)

return Xtrain, ytrain, Xcal, ycal
end

0 comments on commit c6ae2b5

Please sign in to comment.