Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Tutorials as Vignettes #35

Merged
merged 22 commits into from
Jul 9, 2019
Merged

Adding Tutorials as Vignettes #35

merged 22 commits into from
Jul 9, 2019

Conversation

parismita
Copy link
Collaborator

@parismita parismita commented Apr 10, 2019

@tdhock Should I delete the examples that were supposed to be converted into Rd by inlinecodes as I have included examples in the Roxygen code.

Also, should we completely remove all the examples or keep the ones used in helper functions?

@parismita parismita closed this May 24, 2019
@parismita parismita deleted the vignettes branch May 24, 2019 10:42
@parismita parismita restored the vignettes branch May 24, 2019 10:45
This reverts commit c450a0a.
@parismita parismita reopened this May 24, 2019
@parismita
Copy link
Collaborator Author

should I set the seed in the function itself or in the examples of the doc?

@tdhock
Copy link
Collaborator

tdhock commented Jun 5, 2019 via email

Rpackage/R/fitAndScore.R Outdated Show resolved Hide resolved
@@ -1,6 +1,6 @@
.fit_and_score <- structure(function(target.mat, feature.mat,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@parismita please remove structure -- that is used to add attributes to an object, but here you do not add any, so it is just confusing

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@parismita
Copy link
Collaborator Author

i'll update the tutorials.rmd to include more details....currently it only has the user guidelines

@parismita
Copy link
Collaborator Author

should I include details about the splitting algorithm, minimum cost complexity pruning and algorithm of random forest etc?

@tdhock
Copy link
Collaborator

tdhock commented Jun 16, 2019

the more details that you can include (somewhere) the better

maybe it is more appropriate to include some details on the help pages, and then reference those pages from the vignette. your call.

@parismita
Copy link
Collaborator Author

@tdhock reference as in? should I add the details in vignettes and then give its reference in help page?

@tdhock
Copy link
Collaborator

tdhock commented Jul 3, 2019 via email

@parismita
Copy link
Collaborator Author

parismita commented Jul 4, 2019

i'll check it once. Might be I misunderstood the problem, as this is a very common practice to set seed of random forest in examples...

@parismita
Copy link
Collaborator Author

@tdhock The only problem coming is in crossvalidation where we used future_lapply. I am unable to set the seed, even after using L'Ecuyer's RNGStream. future has argument as future.seed...maybe we'll have to use that.

@@ -79,6 +76,9 @@ mmif <- structure(function(target.mat, feature.mat,
assert_that(ncol(feature.mat) >= n_features)

### sample features
if(is.null(seed)){
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't it be if(!is.null(seed)) ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah

Copy link
Collaborator

@tdhock tdhock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, please merge if travis passes

@parismita
Copy link
Collaborator Author

ok

@parismita parismita merged commit fd72041 into master Jul 9, 2019
@parismita parismita deleted the vignettes branch July 9, 2019 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants