-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Begum Topcuoglu
committed
Aug 20, 2020
1 parent
349058a
commit 6c33480
Showing
16 changed files
with
60 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
## code to prepare `otu_medium` dataset goes here | ||
otu_medium <- read.delim("data-raw/otu_medium.csv", sep = ",") | ||
otu_large <- read.delim("data-raw/otu_large.csv", sep = ",") | ||
otu_medium <- otu_large[1:200,1:200] | ||
usethis::use_data(otu_medium, overwrite = TRUE) | ||
otu_med_results4 <- mikRopML::run_ml(otu_medium, | ||
"rpart2", | ||
outcome_colname = "dx", | ||
outcome_value = "cancer", | ||
hyperparameters = mikRopML::default_hyperparams, | ||
find_feature_importance = FALSE, | ||
seed = 2019 | ||
otu_med_results <- mikRopML::run_ml(otu_medium, | ||
"rpart2", | ||
outcome_colname = "dx", | ||
outcome_value = "cancer", | ||
hyperparameters = mikRopML::test_hyperparams, | ||
find_feature_importance = FALSE, | ||
seed = 2019, | ||
kfold = as.integer(3) | ||
) | ||
usethis::use_data(otu_med_results, overwrite = TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters