Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
Hot Topic_Cool Choices
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nc71qaxa
Hot Topic_Cool Choices
Commits
ff117b7f
Commit
ff117b7f
authored
6 months ago
by
nc71qaxa
Browse files
Options
Downloads
Plain Diff
matching models
parents
7d3f6452
031c3a97
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Scripts/logit/chr_vol_treat.R
+6
-0
6 additions, 0 deletions
Scripts/logit/chr_vol_treat.R
with
6 additions
and
0 deletions
Scripts/logit/chr_vol_treat.R
+
6
−
0
View file @
ff117b7f
...
...
@@ -141,6 +141,9 @@ table(labeled_data$Choice_Treat, labeled_data$PredictedGroup)
unlabeled_predictions
<-
predict
(
model3
,
newdata
=
unlabeled_data
)
unlabeled_data
$
PredictedGroup
<-
unlabeled_predictions
data_prediction
<-
select
(
unlabeled_data
,
c
(
"id"
,
"PredictedGroup"
))
saveRDS
(
data_prediction
,
"Data/predictions.RDS"
)
print
(
model3
$
bestTune
)
...
...
@@ -177,4 +180,7 @@ best_coords <- coords(roc_obj, "best", best.method="youden")
cut_off
<-
best_coords
$
threshold
<<<<<<<
HEAD
=======
>>>>>>>
refs
/
remotes
/
origin
/
main
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment