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

simulate_choice for list and data.frame. #68

Open
1 of 2 tasks
asiripanich opened this issue Mar 31, 2020 · 0 comments
Open
1 of 2 tasks

simulate_choice for list and data.frame. #68

asiripanich opened this issue Mar 31, 2020 · 0 comments

Comments

@asiripanich
Copy link
Member

asiripanich commented Mar 31, 2020

@asiripanich asiripanich changed the title simulate_choice for list, numeric and data.frame. Add S3 simulate_choice for list, numeric and data.frame. Mar 31, 2020
asiripanich added a commit that referenced this issue Mar 31, 2020
This is likely to cause errors for objects that don't have simulate_choice implemented such as data.table, list and numeric. #68
asiripanich added a commit that referenced this issue Mar 31, 2020
* add: a draft of a new Transition class

* add: microsimulate function

see NEWS

* add: transition function

* !remove: trans function

* !refactor: renamed Transition to Trans

* Increment version number

* remove: unfinished Transition2

* docs: update man

* fix: use NULL as default option when argument is not required.

* Update _pkgdown.yml

* minor fixes

* docs: minor fix transiton() doc

* docs: update transition's man

* add: preprocessing_fn field to Model

see NEWS.

* add: Transition supports Model's preprocessing function

* docs: minor fix

* test: add tests for Transition's preprocessing function support

* test: add a t-test to make sure Transition is fair

* add: pick_models now can return required models as Model objects

Transition needs a Model object to check for its preprocessing function.

* test: add more test case to Transition

* fix: rcmdcheck errors and warnings

* ci: fixed rcmdcheck warnings

* renamed `microsimulate` to `simulate_choice`

* renamed script `microsimulate` to `simulate_choice`

* test: use requireNamespace for tests that use suggested packages

* docs: update man

* refactor: add indents

* fix: s3 arg inconsistency in simulate_choice

* pass the dots!

* Update NEWS.md

* add: support mlr model objects in Model, transition and simulate_choice.

* docs: update pkgdown reference

* add: support mlr in TransitionClassification

* renamed script

* add: `transition` now support Model

This is likely to cause errors for objects that don't have simulate_choice implemented such as data.table, list and numeric. #68

* Update DESCRIPTION

* test: remove mboost

* fixed r cmd check warning

* ci: fix appveyor error "Package suggested but not available"

* docs: update README to include mlr

* refactor: a test script

* test: update t-test threshold in transition
@asiripanich asiripanich changed the title Add S3 simulate_choice for list, numeric and data.frame. Add S3 simulate_choice for list and data.frame. May 5, 2020
@asiripanich asiripanich changed the title Add S3 simulate_choice for list and data.frame. simulate_choice for list and data.frame. May 5, 2020
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

No branches or pull requests

1 participant