Description Usage Arguments Value Examples
View source: R/makeFizzbuzzProblem.R
This problem is inspired by this blog post http://joelgrus.com/2016/05/23/fizz-buzz-in-tensorflow/. Obviously this is not a serious benchmarking problem, but it isn't totally trivial to solve. Each observation is one number encoded in 32-bit binary. The target if
"fizz"
if the number is dividable by 3.
"buzz"
if the number is dividable by 5.
"fizzbuzz"
if the number is dividable by 15.
"number"
otherwise.
1 | makeFizzbuzzProblem(n = 10^4, create.task = TRUE)
|
n |
[ |
create.task |
[ |
ClassifTask
| data.frame
.
1 | makeFizzbuzzProblem(1, create.task = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.