diff --git a/404.html b/404.html index e69b71cc..bfdf17ed 100644 --- a/404.html +++ b/404.html @@ -30,7 +30,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/LICENSE.html b/LICENSE.html index 8b14a370..98d11a7a 100644 --- a/LICENSE.html +++ b/LICENSE.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/articles/callbacks.html b/articles/callbacks.html index 94e0abb7..9714e873 100644 --- a/articles/callbacks.html +++ b/articles/callbacks.html @@ -29,7 +29,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -224,7 +224,7 @@ Writing a Custom Logger## load_state_dict: function (state_dict) ## on_before_valid: function () ## on_batch_end: function () -## Parent env: <environment: 0x55d884044cc8> +## Parent env: <environment: 0x55962825c778> ## Locked objects: FALSE ## Locked class: FALSE ## Portable: TRUE @@ -239,12 +239,9 @@ Using the Custom Loggertask = tsk("iris") mlp = lrn("classif.mlp", callbacks = custom_logger, cb.custom_logger.alpha = 0.05, - epochs = 5, batch_size = 64, neurons = 20) -## Warning in warn_deprecated("Learner$initialize argument 'data_formats'"): -## Learner$initialize argument 'data_formats' is deprecated and will be removed in -## the future. - -mlp$train(task) + epochs = 5, batch_size = 64, neurons = 20) + +mlp$train(task) ## Epoch 1: 1.22 ## Epoch 2: 1.27 ## Epoch 3: 1.48 @@ -252,7 +249,7 @@ Using the Custom Logger## Epoch 5: 1.09 The information that is returnede by state_dict() is now accessible via the Learner’s $model-slot: - + mlp$model$callbacks$custom_logger ## [1] 1.090038 diff --git a/articles/get_started.html b/articles/get_started.html index a6b661d4..261e6714 100644 --- a/articles/get_started.html +++ b/articles/get_started.html @@ -29,7 +29,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -131,9 +131,6 @@ Quickstart# training arguments batch_size = 32, epochs = 30, device = "cpu" ) -#> Warning in warn_deprecated("Learner$initialize argument 'data_formats'"): -#> Learner$initialize argument 'data_formats' is deprecated and will be removed in -#> the future. mlp #> <LearnerTorchMLP[regr]:regr.mlp>: My Little Powny #> * Model: - @@ -237,7 +234,7 @@ Loss #> clone: function (deep = FALSE, ..., replace_values = TRUE) #> Private: #> .__clone_r6__: function (deep = FALSE) -#> Parent env: <environment: 0x55a8f10bdd40> +#> Parent env: <environment: 0x5623e49e5338> #> Locked objects: FALSE #> Locked class: FALSE #> Portable: TRUE diff --git a/articles/index.html b/articles/index.html index 2c11e5d7..6e352587 100644 --- a/articles/index.html +++ b/articles/index.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/articles/internals_pipeop_torch.html b/articles/internals_pipeop_torch.html index 15e0ff7e..23184899 100644 --- a/articles/internals_pipeop_torch.html +++ b/articles/internals_pipeop_torch.html @@ -29,7 +29,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -103,8 +103,8 @@ A torch Primerinput = torch_randn(2, 3) input #> torch_tensor -#> -0.4543 -0.7073 -0.4273 -#> -0.3004 0.8236 -2.1463 +#> -2.1368 -1.2160 -0.3406 +#> 1.7231 1.2108 0.3678 #> [ CPUFloatType{2,3} ] A nn_module is constructed from a nn_module_generator. nn_linear is one of the @@ -116,8 +116,8 @@ A torch Primeroutput = module_1(input) output #> torch_tensor -#> -0.7792 -0.2227 -0.2119 -0.7816 -#> 0.2286 -0.1710 -1.9581 0.3222 +#> 0.5183 -0.0587 0.4278 -0.7907 +#> 0.0200 -0.3574 -0.1785 -0.2368 #> [ CPUFloatType{2,4} ][ grad_fn = <AddmmBackward0> ] A neural network with one (4-unit) hidden layer and two outputs needs the following ingredients @@ -133,8 +133,8 @@ A torch Primeroutput = softmax(output) output #> torch_tensor -#> 0.3672 0.3972 0.2356 -#> 0.3622 0.4338 0.2039 +#> 0.4626 0.3689 0.1685 +#> 0.4455 0.3801 0.1744 #> [ CPUFloatType{2,3} ][ grad_fn = <SoftmaxBackward0> ] We will now continue with showing how such a neural network can be represented in mlr3torch. @@ -169,8 +169,8 @@ Neural Networks as Graphsoutput = po_module_1$train(list(input))[[1]] output #> torch_tensor -#> -0.7792 -0.2227 -0.2119 -0.7816 -#> 0.2286 -0.1710 -1.9581 0.3222 +#> 0.5183 -0.0587 0.4278 -0.7907 +#> 0.0200 -0.3574 -0.1785 -0.2368 #> [ CPUFloatType{2,4} ][ grad_fn = <AddmmBackward0> ] Note we only use the $train(), since torch modules do not have anything that maps to the state (it is filled by @@ -195,8 +195,8 @@ Neural Networks as Graphsoutput = module_graph$train(input)[[1]] output #> torch_tensor -#> 0.3672 0.3972 0.2356 -#> 0.3622 0.4338 0.2039 +#> 0.4626 0.3689 0.1685 +#> 0.4455 0.3801 0.1744 #> [ CPUFloatType{2,3} ][ grad_fn = <SoftmaxBackward0> ] While this object allows to easily perform a forward pass, it does not inherit from nn_module, which is useful for various @@ -244,8 +244,8 @@ Neural Networks as Graphs graph_module(input) #> torch_tensor -#> 0.3672 0.3972 0.2356 -#> 0.3622 0.4338 0.2039 +#> 0.4626 0.3689 0.1685 +#> 0.4455 0.3801 0.1744 #> [ CPUFloatType{2,3} ][ grad_fn = <SoftmaxBackward0> ] @@ -362,8 +362,8 @@ small_module(input) #> torch_tensor -#> 0.0345 -0.7338 -0.3838 -0.4150 -#> -0.4062 0.2396 -0.4599 0.0549 +#> 0.7524 -1.0820 0.9185 -0.1570 +#> -1.0718 0.9983 -0.4566 -0.8549 #> [ CPUFloatType{2,4} ][ grad_fn = <AddmmBackward0> ] @@ -428,9 +428,9 @@ Using ModelDescriptor to small_module(batch$x[[1]]) #> torch_tensor -#> 2.4612 2.2792 -1.4316 1.9986 -#> 2.2115 2.2127 -1.3317 1.9143 -#> 2.2758 2.0775 -1.3465 1.8366 +#> -2.2053 1.9789 -1.0825 -0.5536 +#> -1.9786 1.7497 -1.2139 -0.5112 +#> -2.0432 1.8205 -0.9950 -0.5526 #> [ CPUFloatType{3,4} ][ grad_fn = <AddmmBackward0> ] @@ -456,8 +456,8 @@ Building sequential NNs graph_module(input) #> torch_tensor -#> 0.2978 0.5374 0.1649 -#> 0.3129 0.5289 0.1582 +#> 0.1746 0.6076 0.2179 +#> 0.1600 0.6197 0.2203 #> [ CPUFloatType{2,3} ][ grad_fn = <SoftmaxBackward0> ] @@ -672,14 +672,14 @@ Building more interesting NNs) #> $lin_out.output #> torch_tensor -#> 0.8553 -#> 0.7941 +#> 0.1607 +#> 0.1208 #> [ CPUFloatType{2,1} ][ grad_fn = <AddmmBackward0> ] #> #> $nn_softmax.output #> torch_tensor -#> 0.3619 0.3338 0.3043 -#> 0.3479 0.3325 0.3196 +#> 0.3445 0.3645 0.2909 +#> 0.3462 0.3605 0.2933 #> [ CPUFloatType{2,3} ][ grad_fn = <SoftmaxBackward0> ] The first linear layer that takes “Sepal” input ("linear1") creates a 2x4 tensor (batch size 2, 4 units), @@ -688,14 +688,14 @@ Building more interesting NNsiris_module$graph$pipeops$linear1$.result #> $output #> torch_tensor -#> -3.3539 -0.5531 -0.8928 2.6029 -#> -3.1650 -0.3556 -0.8732 2.3522 +#> -1.5701 2.1554 -2.0862 -0.2545 +#> -1.2945 2.0029 -1.7695 -0.4330 #> [ CPUFloatType{2,4} ][ grad_fn = <AddmmBackward0> ] iris_module$graph$pipeops$linear3$.result #> $output #> torch_tensor -#> 0.5340 0.4624 0.3190 0.5120 0.2146 -#> 0.5340 0.4624 0.3190 0.5120 0.2146 +#> 0.2759 0.3701 -0.9662 -0.6312 0.8178 +#> 0.2759 0.3701 -0.9662 -0.6312 0.8178 #> [ CPUFloatType{2,5} ][ grad_fn = <AddmmBackward0> ] We observe that the po("nn_merge_cat") concatenates these, as expected: @@ -703,8 +703,8 @@ Building more interesting NNsiris_module$graph$pipeops$nn_merge_cat$.result #> $output #> torch_tensor -#> -3.3539 -0.5531 -0.8928 2.6029 0.5340 0.4624 0.3190 0.5120 0.2146 -#> -3.1650 -0.3556 -0.8732 2.3522 0.5340 0.4624 0.3190 0.5120 0.2146 +#> -1.5701 2.1554 -2.0862 -0.2545 0.2759 0.3701 -0.9662 -0.6312 0.8178 +#> -1.2945 2.0029 -1.7695 -0.4330 0.2759 0.3701 -0.9662 -0.6312 0.8178 #> [ CPUFloatType{2,9} ][ grad_fn = <CatBackward0> ] @@ -770,9 +770,6 @@ callbacks = history, loss = xe ) -#> Warning in warn_deprecated("Learner$initialize argument 'data_formats'"): -#> Learner$initialize argument 'data_formats' is deprecated and will be removed in -#> the future. lr_sequential #> <LearnerTorchModel[classif]:classif.model>: Torch Model diff --git a/articles/internals_pipeop_torch_files/figure-html/unnamed-chunk-37-1.png b/articles/internals_pipeop_torch_files/figure-html/unnamed-chunk-37-1.png index 2dc27f6e..08573c55 100644 Binary files a/articles/internals_pipeop_torch_files/figure-html/unnamed-chunk-37-1.png and b/articles/internals_pipeop_torch_files/figure-html/unnamed-chunk-37-1.png differ diff --git a/articles/internals_pipeop_torch_files/figure-html/unnamed-chunk-42-1.png b/articles/internals_pipeop_torch_files/figure-html/unnamed-chunk-42-1.png index 1b0bf239..3939b89f 100644 Binary files a/articles/internals_pipeop_torch_files/figure-html/unnamed-chunk-42-1.png and b/articles/internals_pipeop_torch_files/figure-html/unnamed-chunk-42-1.png differ diff --git a/articles/internals_pipeop_torch_files/figure-html/unnamed-chunk-46-1.png b/articles/internals_pipeop_torch_files/figure-html/unnamed-chunk-46-1.png index 6f2cf31a..7dfac92b 100644 Binary files a/articles/internals_pipeop_torch_files/figure-html/unnamed-chunk-46-1.png and b/articles/internals_pipeop_torch_files/figure-html/unnamed-chunk-46-1.png differ diff --git a/articles/internals_pipeop_torch_files/figure-html/unnamed-chunk-48-1.png b/articles/internals_pipeop_torch_files/figure-html/unnamed-chunk-48-1.png index ff46e5df..bda90f0e 100644 Binary files a/articles/internals_pipeop_torch_files/figure-html/unnamed-chunk-48-1.png and b/articles/internals_pipeop_torch_files/figure-html/unnamed-chunk-48-1.png differ diff --git a/articles/internals_pipeop_torch_files/figure-html/unnamed-chunk-50-1.png b/articles/internals_pipeop_torch_files/figure-html/unnamed-chunk-50-1.png index 2ec0f04a..aa4af5c2 100644 Binary files a/articles/internals_pipeop_torch_files/figure-html/unnamed-chunk-50-1.png and b/articles/internals_pipeop_torch_files/figure-html/unnamed-chunk-50-1.png differ diff --git a/articles/lazy_tensor.html b/articles/lazy_tensor.html index 7886f37b..babb2dca 100644 --- a/articles/lazy_tensor.html +++ b/articles/lazy_tensor.html @@ -29,7 +29,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -101,9 +101,6 @@ library(mlr3torch) mnist = tsk("mnist") -#> Warning in warn_deprecated("DataBackend$initialize argument 'data_formats'"): -#> DataBackend$initialize argument 'data_formats' is deprecated and will be -#> removed in the future. mnist #> <TaskClassif:mnist> (70000 x 2): MNIST Digit Classification #> * Target: label @@ -121,11 +118,6 @@ mnist$head() #> Processing... #> Done! -#> Warning in warn_deprecated("DataBackend$data_formats"): -#> DataBackend$data_formats is deprecated and will be removed in the future. -#> Warning in warn_deprecated("DataBackendDataTable$data argument 'data_format'"): -#> DataBackendDataTable$data argument 'data_format' is deprecated and will be -#> removed in the future. #> label image #> <fctr> <lazy_tensor> #> 1: 5 <tnsr[1x28x28]> @@ -161,9 +153,6 @@ neurons = c(100, 100), epochs = 10, batch_size = 32 ) -#> Warning in warn_deprecated("Learner$initialize argument 'data_formats'"): -#> Learner$initialize argument 'data_formats' is deprecated and will be removed in -#> the future. mlp #> <LearnerTorchMLP[classif]:classif.mlp>: My Little Powny #> * Model: - @@ -396,7 +385,7 @@ Digging Into Internals#> <DataDescriptor: 1 ops> #> * dataset_shapes: [x: (NA,1)] #> * input_map: (x) -> Graph -#> * pointer: nop.de4a47.x.output +#> * pointer: nop.f767de.x.output #> * shape: [(NA,1)] The printed output of the data descriptor informs us about: @@ -443,7 +432,7 @@ Digging Into Internals#> <DataDescriptor: 1 ops> #> * dataset_shapes: [x: (NA,1)] #> * input_map: (x) -> Graph -#> * pointer: nop.de4a47.x.output +#> * pointer: nop.f767de.x.output #> * shape: [(NA,1)] What happens during materialize(lt[1]) is the following: @@ -493,8 +482,8 @@ Digging Into Internals#> Graph with 2 PipeOps: #> ID State sccssors prdcssors #> <char> <char> <char> <char> -#> nop.de4a47.x <list> poly.x -#> poly.x <<UNTRAINED>> nop.de4a47.x +#> nop.f767de.x <list> poly.x +#> poly.x <<UNTRAINED>> nop.f767de.x We see that the $graph has a new pipeop with id "poly.x" and the output pointer points to poly.x. Also we see that the shape of the tensor is now diff --git a/articles/pipeop_torch.html b/articles/pipeop_torch.html index 3bac1a95..3732145d 100644 --- a/articles/pipeop_torch.html +++ b/articles/pipeop_torch.html @@ -29,7 +29,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -96,9 +96,6 @@ library(mlr3torch) imagenet = tsk("tiny_imagenet") -#> Warning in warn_deprecated("DataBackend$initialize argument 'data_formats'"): -#> DataBackend$initialize argument 'data_formats' is deprecated and will be -#> removed in the future. imagenet #> <TaskClassif:tiny_imagenet> (110000 x 2): ImageNet Subset #> * Target: class @@ -177,9 +174,6 @@ t_clbk("checkpoint", freq = 20, path = checkpoint)) %>>% po("torch_model_classif", batch_size = 32, epochs = 100L, device = "cuda") -#> Warning in warn_deprecated("Learner$initialize argument 'data_formats'"): -#> Learner$initialize argument 'data_formats' is deprecated and will be removed in -#> the future. cnn = as_learner(architecture) cnn$id = "cnn" diff --git a/authors.html b/authors.html index 2a0f1f43..4e9e2553 100644 --- a/authors.html +++ b/authors.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -79,13 +79,13 @@ Citation Fischer S, Binder M (2024). mlr3torch: Deep Learning with 'mlr3'. -R package version 0.1.1, https://github.com/mlr-org/mlr3torch/, https://mlr3torch.mlr-org.com/. +R package version 0.1.2, https://github.com/mlr-org/mlr3torch/, https://mlr3torch.mlr-org.com/. @Manual{, title = {mlr3torch: Deep Learning with 'mlr3'}, author = {Sebastian Fischer and Martin Binder}, year = {2024}, - note = {R package version 0.1.1, https://github.com/mlr-org/mlr3torch/}, + note = {R package version 0.1.2, https://github.com/mlr-org/mlr3torch/}, url = {https://mlr3torch.mlr-org.com/}, } diff --git a/index.html b/index.html index 7ce11639..13f45ad7 100644 --- a/index.html +++ b/index.html @@ -32,7 +32,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/news/index.html b/news/index.html index 31bfdda5..7f373814 100644 --- a/news/index.html +++ b/news/index.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -49,6 +49,10 @@ Source: NEWS.md + +mlr3torch 0.1.2CRAN release: 2024-10-15 +Don’t use deprecated data_formats anymore + mlr3torch 0.1.1CRAN release: 2024-09-12 fix(preprocessing): regarding the construction of some PipeOps such as po("trafo_resize") which failed in some cases. diff --git a/pkgdown.yml b/pkgdown.yml index ee091822..08cff041 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -7,7 +7,7 @@ articles: articles/internals_pipeop_torch: internals_pipeop_torch.html articles/lazy_tensor: lazy_tensor.html articles/pipeop_torch: pipeop_torch.html -last_built: 2024-10-07T11:30Z +last_built: 2024-10-15T10:54Z urls: reference: https://mlr3torch.mlr-org.com/reference article: https://mlr3torch.mlr-org.com/articles diff --git a/reference/DataDescriptor.html b/reference/DataDescriptor.html index 658f73d8..b43f7bbd 100644 --- a/reference/DataDescriptor.html +++ b/reference/DataDescriptor.html @@ -17,7 +17,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -263,14 +263,14 @@ Examples#> <DataDescriptor: 1 ops> #> * dataset_shapes: [x: (NA,3,3)] #> * input_map: (x) -> Graph -#> * pointer: nop.bd2298.x.output +#> * pointer: nop.f7caef.x.output #> * shape: [(NA,3,3)] # is the same as using the converter: as_data_descriptor(ds, list(x = c(NA, 3, 3))) #> <DataDescriptor: 1 ops> #> * dataset_shapes: [x: (NA,3,3)] #> * input_map: (x) -> Graph -#> * pointer: nop.bd2298.x.output +#> * pointer: nop.f7caef.x.output #> * shape: [(NA,3,3)] diff --git a/reference/ModelDescriptor.html b/reference/ModelDescriptor.html index 2f97e3c1..f3bca7e8 100644 --- a/reference/ModelDescriptor.html +++ b/reference/ModelDescriptor.html @@ -37,7 +37,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentCenterCrop.html b/reference/PipeOpPreprocTorchAugmentCenterCrop.html index ae3b7678..637aeae5 100644 --- a/reference/PipeOpPreprocTorchAugmentCenterCrop.html +++ b/reference/PipeOpPreprocTorchAugmentCenterCrop.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentColorJitter.html b/reference/PipeOpPreprocTorchAugmentColorJitter.html index 844e8dfd..ee9ae063 100644 --- a/reference/PipeOpPreprocTorchAugmentColorJitter.html +++ b/reference/PipeOpPreprocTorchAugmentColorJitter.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentCrop.html b/reference/PipeOpPreprocTorchAugmentCrop.html index f8c526a6..b98b7a1f 100644 --- a/reference/PipeOpPreprocTorchAugmentCrop.html +++ b/reference/PipeOpPreprocTorchAugmentCrop.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentHflip.html b/reference/PipeOpPreprocTorchAugmentHflip.html index 562aa209..4e2fb101 100644 --- a/reference/PipeOpPreprocTorchAugmentHflip.html +++ b/reference/PipeOpPreprocTorchAugmentHflip.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentRandomAffine.html b/reference/PipeOpPreprocTorchAugmentRandomAffine.html index ed730f6f..1ff40f08 100644 --- a/reference/PipeOpPreprocTorchAugmentRandomAffine.html +++ b/reference/PipeOpPreprocTorchAugmentRandomAffine.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentRandomChoice.html b/reference/PipeOpPreprocTorchAugmentRandomChoice.html index 013bf68b..9202dc5c 100644 --- a/reference/PipeOpPreprocTorchAugmentRandomChoice.html +++ b/reference/PipeOpPreprocTorchAugmentRandomChoice.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentRandomCrop.html b/reference/PipeOpPreprocTorchAugmentRandomCrop.html index 2ca459a1..0b4b3cdb 100644 --- a/reference/PipeOpPreprocTorchAugmentRandomCrop.html +++ b/reference/PipeOpPreprocTorchAugmentRandomCrop.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentRandomHorizontalFlip.html b/reference/PipeOpPreprocTorchAugmentRandomHorizontalFlip.html index 7f50b514..b97340fe 100644 --- a/reference/PipeOpPreprocTorchAugmentRandomHorizontalFlip.html +++ b/reference/PipeOpPreprocTorchAugmentRandomHorizontalFlip.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentRandomOrder.html b/reference/PipeOpPreprocTorchAugmentRandomOrder.html index 0fa8b6af..15157440 100644 --- a/reference/PipeOpPreprocTorchAugmentRandomOrder.html +++ b/reference/PipeOpPreprocTorchAugmentRandomOrder.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentRandomResizedCrop.html b/reference/PipeOpPreprocTorchAugmentRandomResizedCrop.html index ec36c880..0300bf4f 100644 --- a/reference/PipeOpPreprocTorchAugmentRandomResizedCrop.html +++ b/reference/PipeOpPreprocTorchAugmentRandomResizedCrop.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentRandomVerticalFlip.html b/reference/PipeOpPreprocTorchAugmentRandomVerticalFlip.html index c95e22a1..4d9ca91e 100644 --- a/reference/PipeOpPreprocTorchAugmentRandomVerticalFlip.html +++ b/reference/PipeOpPreprocTorchAugmentRandomVerticalFlip.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentResizedCrop.html b/reference/PipeOpPreprocTorchAugmentResizedCrop.html index 1ceefa3f..a93f039f 100644 --- a/reference/PipeOpPreprocTorchAugmentResizedCrop.html +++ b/reference/PipeOpPreprocTorchAugmentResizedCrop.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentRotate.html b/reference/PipeOpPreprocTorchAugmentRotate.html index b8775de7..c32dadfe 100644 --- a/reference/PipeOpPreprocTorchAugmentRotate.html +++ b/reference/PipeOpPreprocTorchAugmentRotate.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentVflip.html b/reference/PipeOpPreprocTorchAugmentVflip.html index 2a5bd55c..2282f408 100644 --- a/reference/PipeOpPreprocTorchAugmentVflip.html +++ b/reference/PipeOpPreprocTorchAugmentVflip.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchTrafoAdjustBrightness.html b/reference/PipeOpPreprocTorchTrafoAdjustBrightness.html index 651a1f48..ee2d063d 100644 --- a/reference/PipeOpPreprocTorchTrafoAdjustBrightness.html +++ b/reference/PipeOpPreprocTorchTrafoAdjustBrightness.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchTrafoAdjustGamma.html b/reference/PipeOpPreprocTorchTrafoAdjustGamma.html index e9fb4777..8310a351 100644 --- a/reference/PipeOpPreprocTorchTrafoAdjustGamma.html +++ b/reference/PipeOpPreprocTorchTrafoAdjustGamma.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchTrafoAdjustHue.html b/reference/PipeOpPreprocTorchTrafoAdjustHue.html index 034ebce3..11e3eb38 100644 --- a/reference/PipeOpPreprocTorchTrafoAdjustHue.html +++ b/reference/PipeOpPreprocTorchTrafoAdjustHue.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchTrafoAdjustSaturation.html b/reference/PipeOpPreprocTorchTrafoAdjustSaturation.html index 6f230b4b..21076605 100644 --- a/reference/PipeOpPreprocTorchTrafoAdjustSaturation.html +++ b/reference/PipeOpPreprocTorchTrafoAdjustSaturation.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchTrafoGrayscale.html b/reference/PipeOpPreprocTorchTrafoGrayscale.html index 84c0a519..84b41c56 100644 --- a/reference/PipeOpPreprocTorchTrafoGrayscale.html +++ b/reference/PipeOpPreprocTorchTrafoGrayscale.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchTrafoNop.html b/reference/PipeOpPreprocTorchTrafoNop.html index 93a6018b..9351f976 100644 --- a/reference/PipeOpPreprocTorchTrafoNop.html +++ b/reference/PipeOpPreprocTorchTrafoNop.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchTrafoNormalize.html b/reference/PipeOpPreprocTorchTrafoNormalize.html index a7d091e1..a58f5e16 100644 --- a/reference/PipeOpPreprocTorchTrafoNormalize.html +++ b/reference/PipeOpPreprocTorchTrafoNormalize.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchTrafoPad.html b/reference/PipeOpPreprocTorchTrafoPad.html index dd591e40..1214bd02 100644 --- a/reference/PipeOpPreprocTorchTrafoPad.html +++ b/reference/PipeOpPreprocTorchTrafoPad.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchTrafoReshape.html b/reference/PipeOpPreprocTorchTrafoReshape.html index 5cdc87b0..29851e86 100644 --- a/reference/PipeOpPreprocTorchTrafoReshape.html +++ b/reference/PipeOpPreprocTorchTrafoReshape.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchTrafoResize.html b/reference/PipeOpPreprocTorchTrafoResize.html index 59021a5b..2f1425cf 100644 --- a/reference/PipeOpPreprocTorchTrafoResize.html +++ b/reference/PipeOpPreprocTorchTrafoResize.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchTrafoRgbToGrayscale.html b/reference/PipeOpPreprocTorchTrafoRgbToGrayscale.html index 809717a9..fb629fae 100644 --- a/reference/PipeOpPreprocTorchTrafoRgbToGrayscale.html +++ b/reference/PipeOpPreprocTorchTrafoRgbToGrayscale.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/TorchCallback.html b/reference/TorchCallback.html index 388a7549..e8a49f7d 100644 --- a/reference/TorchCallback.html +++ b/reference/TorchCallback.html @@ -17,7 +17,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -209,7 +209,7 @@ Examplestorch_callback #> <TorchCallback:checkpoint> Checkpoint #> * Generator: CallbackSetCheckpoint -#> * Parameters: path=/tmp/RtmpUMG6s7/file26bb6514a71c, freq=1 +#> * Parameters: path=/tmp/Rtmp6cVcme/file630358146434, freq=1 #> * Packages: mlr3torch,torch torch_callback$label #> [1] "Checkpoint" @@ -233,7 +233,6 @@ Examples # Use in a learner learner = lrn("regr.mlp", callbacks = t_clbk("checkpoint")) -#> Warning: Learner$initialize argument 'data_formats' is deprecated and will be removed in the future. # the parameters of the callback are added to the learner's parameter set learner$param_set #> <ParamSetCollection(35)> diff --git a/reference/TorchDescriptor.html b/reference/TorchDescriptor.html index 09ea1f1f..7e7902cb 100644 --- a/reference/TorchDescriptor.html +++ b/reference/TorchDescriptor.html @@ -15,7 +15,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/TorchIngressToken.html b/reference/TorchIngressToken.html index 3ea9fadc..0375bf78 100644 --- a/reference/TorchIngressToken.html +++ b/reference/TorchIngressToken.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/TorchLoss.html b/reference/TorchLoss.html index 8945ef6c..c3ecf3d8 100644 --- a/reference/TorchLoss.html +++ b/reference/TorchLoss.html @@ -17,7 +17,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/TorchOptimizer.html b/reference/TorchOptimizer.html index 372571d4..450ea86a 100644 --- a/reference/TorchOptimizer.html +++ b/reference/TorchOptimizer.html @@ -17,7 +17,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/as_data_descriptor.html b/reference/as_data_descriptor.html index f4d9ff8a..1582eb7a 100644 --- a/reference/as_data_descriptor.html +++ b/reference/as_data_descriptor.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -93,7 +93,7 @@ Examples#> <DataDescriptor: 1 ops> #> * dataset_shapes: [x: (NA,4)] #> * input_map: (x) -> Graph -#> * pointer: nop.2cf035.x.output +#> * pointer: nop.d58b3d.x.output #> * shape: [(NA,4)] # if the dataset has a .getbatch method, the shapes are inferred @@ -106,7 +106,7 @@ Examples#> <DataDescriptor: 1 ops> #> * dataset_shapes: [x: (NA,4)] #> * input_map: (x) -> Graph -#> * pointer: nop.02cd69.x.output +#> * pointer: nop.7be8bd.x.output #> * shape: [(NA,4)] diff --git a/reference/as_lazy_tensor.html b/reference/as_lazy_tensor.html index 5cb50e17..d2cde57f 100644 --- a/reference/as_lazy_tensor.html +++ b/reference/as_lazy_tensor.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/as_torch_callback.html b/reference/as_torch_callback.html index c57a9b97..4e8d7efd 100644 --- a/reference/as_torch_callback.html +++ b/reference/as_torch_callback.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/as_torch_callbacks.html b/reference/as_torch_callbacks.html index 8f7b70f8..c2a3b3ec 100644 --- a/reference/as_torch_callbacks.html +++ b/reference/as_torch_callbacks.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/as_torch_loss.html b/reference/as_torch_loss.html index 71c255db..1c6e30f7 100644 --- a/reference/as_torch_loss.html +++ b/reference/as_torch_loss.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/as_torch_optimizer.html b/reference/as_torch_optimizer.html index fb042ec7..818b076c 100644 --- a/reference/as_torch_optimizer.html +++ b/reference/as_torch_optimizer.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/assert_lazy_tensor.html b/reference/assert_lazy_tensor.html index 1ef89ee6..da1363ae 100644 --- a/reference/assert_lazy_tensor.html +++ b/reference/assert_lazy_tensor.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/auto_device.html b/reference/auto_device.html index 1e8dc25f..f7946b69 100644 --- a/reference/auto_device.html +++ b/reference/auto_device.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/batchgetter_categ.html b/reference/batchgetter_categ.html index f67fc610..e3e2aae2 100644 --- a/reference/batchgetter_categ.html +++ b/reference/batchgetter_categ.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/batchgetter_num.html b/reference/batchgetter_num.html index 2f986355..0b1712e5 100644 --- a/reference/batchgetter_num.html +++ b/reference/batchgetter_num.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/callback_set.html b/reference/callback_set.html index 5246f905..173275c8 100644 --- a/reference/callback_set.html +++ b/reference/callback_set.html @@ -15,7 +15,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/equals-.lazy_tensor.html b/reference/equals-.lazy_tensor.html index 72dff6cb..086d6d97 100644 --- a/reference/equals-.lazy_tensor.html +++ b/reference/equals-.lazy_tensor.html @@ -17,7 +17,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/index.html b/reference/index.html index 8ce10d7d..add9c938 100644 --- a/reference/index.html +++ b/reference/index.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/is_lazy_tensor.html b/reference/is_lazy_tensor.html index f7672cee..eb46205e 100644 --- a/reference/is_lazy_tensor.html +++ b/reference/is_lazy_tensor.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/lazy_tensor.html b/reference/lazy_tensor.html index 65c84e7b..5b467b05 100644 --- a/reference/lazy_tensor.html +++ b/reference/lazy_tensor.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/materialize.html b/reference/materialize.html index 08ecd468..0748ff1e 100644 --- a/reference/materialize.html +++ b/reference/materialize.html @@ -17,7 +17,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -132,86 +132,86 @@ Exampleslt1 = as_lazy_tensor(torch_randn(10, 3)) materialize(lt1, rbind = TRUE) #> torch_tensor -#> -0.5175 2.1826 0.5440 -#> 0.6128 2.2153 1.6310 -#> 0.8558 -0.3944 0.4699 -#> -0.3781 -0.5245 -1.1661 -#> 0.2729 0.1567 1.2514 -#> -0.9974 -1.6371 -0.7166 -#> 0.7729 -1.2926 0.9860 -#> -0.6191 1.6560 0.6337 -#> 1.5480 0.1169 -0.4474 -#> -0.0400 -2.8373 0.2412 +#> -1.1227 0.7956 0.2431 +#> 0.7192 -0.7651 0.8124 +#> 0.1044 -0.2668 -0.8873 +#> -0.1169 -0.2002 1.3126 +#> -2.1423 -0.1383 1.4648 +#> -1.7233 0.9979 -0.4245 +#> -1.1771 -0.3704 1.0411 +#> -0.1513 -0.4808 0.7189 +#> -0.9463 -1.7467 -0.2351 +#> -1.0930 -0.6417 0.4611 #> [ CPUFloatType{10,3} ] materialize(lt1, rbind = FALSE) #> [[1]] #> torch_tensor -#> -0.5175 -#> 2.1826 -#> 0.5440 +#> -1.1227 +#> 0.7956 +#> 0.2431 #> [ CPUFloatType{3} ] #> #> [[2]] #> torch_tensor -#> 0.6128 -#> 2.2153 -#> 1.6310 +#> 0.7192 +#> -0.7651 +#> 0.8124 #> [ CPUFloatType{3} ] #> #> [[3]] #> torch_tensor -#> 0.8558 -#> -0.3944 -#> 0.4699 +#> 0.1044 +#> -0.2668 +#> -0.8873 #> [ CPUFloatType{3} ] #> #> [[4]] #> torch_tensor -#> -0.3781 -#> -0.5245 -#> -1.1661 +#> -0.1169 +#> -0.2002 +#> 1.3126 #> [ CPUFloatType{3} ] #> #> [[5]] #> torch_tensor -#> 0.2729 -#> 0.1567 -#> 1.2514 +#> -2.1423 +#> -0.1383 +#> 1.4648 #> [ CPUFloatType{3} ] #> #> [[6]] #> torch_tensor -#> -0.9974 -#> -1.6371 -#> -0.7166 +#> -1.7233 +#> 0.9979 +#> -0.4245 #> [ CPUFloatType{3} ] #> #> [[7]] #> torch_tensor -#> 0.7729 -#> -1.2926 -#> 0.9860 +#> -1.1771 +#> -0.3704 +#> 1.0411 #> [ CPUFloatType{3} ] #> #> [[8]] #> torch_tensor -#> -0.6191 -#> 1.6560 -#> 0.6337 +#> -0.1513 +#> -0.4808 +#> 0.7189 #> [ CPUFloatType{3} ] #> #> [[9]] #> torch_tensor -#> 1.5480 -#> 0.1169 -#> -0.4474 +#> -0.9463 +#> -1.7467 +#> -0.2351 #> [ CPUFloatType{3} ] #> #> [[10]] #> torch_tensor -#> -0.0400 -#> -2.8373 -#> 0.2412 +#> -1.0930 +#> -0.6417 +#> 0.4611 #> [ CPUFloatType{3} ] #> lt2 = as_lazy_tensor(torch_randn(10, 4)) @@ -219,184 +219,184 @@ Examplesmaterialize(d, rbind = TRUE) #> $lt1 #> torch_tensor -#> -0.5175 2.1826 0.5440 -#> 0.6128 2.2153 1.6310 -#> 0.8558 -0.3944 0.4699 -#> -0.3781 -0.5245 -1.1661 -#> 0.2729 0.1567 1.2514 -#> -0.9974 -1.6371 -0.7166 -#> 0.7729 -1.2926 0.9860 -#> -0.6191 1.6560 0.6337 -#> 1.5480 0.1169 -0.4474 -#> -0.0400 -2.8373 0.2412 +#> -1.1227 0.7956 0.2431 +#> 0.7192 -0.7651 0.8124 +#> 0.1044 -0.2668 -0.8873 +#> -0.1169 -0.2002 1.3126 +#> -2.1423 -0.1383 1.4648 +#> -1.7233 0.9979 -0.4245 +#> -1.1771 -0.3704 1.0411 +#> -0.1513 -0.4808 0.7189 +#> -0.9463 -1.7467 -0.2351 +#> -1.0930 -0.6417 0.4611 #> [ CPUFloatType{10,3} ] #> #> $lt2 #> torch_tensor -#> -0.6276 -0.1095 -0.7908 0.5330 -#> -0.0547 -0.1122 -0.4323 0.3639 -#> 1.2063 -0.8808 0.5885 -0.8140 -#> -0.2477 -0.2911 0.4360 -1.2602 -#> -0.4050 -1.3976 0.5262 -0.6855 -#> -1.1056 1.2594 -0.3555 1.7537 -#> -1.5813 1.0822 1.9626 2.1383 -#> -0.8657 -0.8745 0.8644 -0.8650 -#> 1.9690 -0.4740 -0.1647 -1.4104 -#> 0.2607 0.9733 -1.1057 0.5108 +#> 0.3393 0.1721 0.1534 0.1449 +#> 0.7965 0.0640 0.0293 0.2343 +#> -0.1194 0.1193 -0.6815 -1.2864 +#> -0.5741 -1.9028 -0.6167 0.6070 +#> -2.6541 0.5356 -2.0799 0.7195 +#> -0.7025 -0.6438 -0.1360 0.6253 +#> 0.3732 -0.0828 -1.1392 0.6957 +#> 1.3842 -0.6847 -0.8168 0.9068 +#> 0.1855 -1.9733 1.5745 0.6175 +#> -2.7957 0.1567 -1.0585 -1.8448 #> [ CPUFloatType{10,4} ] #> materialize(d, rbind = FALSE) #> $lt1 #> $lt1[[1]] #> torch_tensor -#> -0.5175 -#> 2.1826 -#> 0.5440 +#> -1.1227 +#> 0.7956 +#> 0.2431 #> [ CPUFloatType{3} ] #> #> $lt1[[2]] #> torch_tensor -#> 0.6128 -#> 2.2153 -#> 1.6310 +#> 0.7192 +#> -0.7651 +#> 0.8124 #> [ CPUFloatType{3} ] #> #> $lt1[[3]] #> torch_tensor -#> 0.8558 -#> -0.3944 -#> 0.4699 +#> 0.1044 +#> -0.2668 +#> -0.8873 #> [ CPUFloatType{3} ] #> #> $lt1[[4]] #> torch_tensor -#> -0.3781 -#> -0.5245 -#> -1.1661 +#> -0.1169 +#> -0.2002 +#> 1.3126 #> [ CPUFloatType{3} ] #> #> $lt1[[5]] #> torch_tensor -#> 0.2729 -#> 0.1567 -#> 1.2514 +#> -2.1423 +#> -0.1383 +#> 1.4648 #> [ CPUFloatType{3} ] #> #> $lt1[[6]] #> torch_tensor -#> -0.9974 -#> -1.6371 -#> -0.7166 +#> -1.7233 +#> 0.9979 +#> -0.4245 #> [ CPUFloatType{3} ] #> #> $lt1[[7]] #> torch_tensor -#> 0.7729 -#> -1.2926 -#> 0.9860 +#> -1.1771 +#> -0.3704 +#> 1.0411 #> [ CPUFloatType{3} ] #> #> $lt1[[8]] #> torch_tensor -#> -0.6191 -#> 1.6560 -#> 0.6337 +#> -0.1513 +#> -0.4808 +#> 0.7189 #> [ CPUFloatType{3} ] #> #> $lt1[[9]] #> torch_tensor -#> 1.5480 -#> 0.1169 -#> -0.4474 +#> -0.9463 +#> -1.7467 +#> -0.2351 #> [ CPUFloatType{3} ] #> #> $lt1[[10]] #> torch_tensor -#> -0.0400 -#> -2.8373 -#> 0.2412 +#> -1.0930 +#> -0.6417 +#> 0.4611 #> [ CPUFloatType{3} ] #> #> #> $lt2 #> $lt2[[1]] #> torch_tensor -#> -0.6276 -#> -0.1095 -#> -0.7908 -#> 0.5330 +#> 0.3393 +#> 0.1721 +#> 0.1534 +#> 0.1449 #> [ CPUFloatType{4} ] #> #> $lt2[[2]] #> torch_tensor -#> -0.0547 -#> -0.1122 -#> -0.4323 -#> 0.3639 +#> 0.7965 +#> 0.0640 +#> 0.0293 +#> 0.2343 #> [ CPUFloatType{4} ] #> #> $lt2[[3]] #> torch_tensor -#> 1.2063 -#> -0.8808 -#> 0.5885 -#> -0.8140 +#> -0.1194 +#> 0.1193 +#> -0.6815 +#> -1.2864 #> [ CPUFloatType{4} ] #> #> $lt2[[4]] #> torch_tensor -#> -0.2477 -#> -0.2911 -#> 0.4360 -#> -1.2602 +#> -0.5741 +#> -1.9028 +#> -0.6167 +#> 0.6070 #> [ CPUFloatType{4} ] #> #> $lt2[[5]] #> torch_tensor -#> -0.4050 -#> -1.3976 -#> 0.5262 -#> -0.6855 +#> -2.6541 +#> 0.5356 +#> -2.0799 +#> 0.7195 #> [ CPUFloatType{4} ] #> #> $lt2[[6]] #> torch_tensor -#> -1.1056 -#> 1.2594 -#> -0.3555 -#> 1.7537 +#> -0.7025 +#> -0.6438 +#> -0.1360 +#> 0.6253 #> [ CPUFloatType{4} ] #> #> $lt2[[7]] #> torch_tensor -#> -1.5813 -#> 1.0822 -#> 1.9626 -#> 2.1383 +#> 0.3732 +#> -0.0828 +#> -1.1392 +#> 0.6957 #> [ CPUFloatType{4} ] #> #> $lt2[[8]] #> torch_tensor -#> -0.8657 -#> -0.8745 -#> 0.8644 -#> -0.8650 +#> 1.3842 +#> -0.6847 +#> -0.8168 +#> 0.9068 #> [ CPUFloatType{4} ] #> #> $lt2[[9]] #> torch_tensor -#> 1.9690 -#> -0.4740 -#> -0.1647 -#> -1.4104 +#> 0.1855 +#> -1.9733 +#> 1.5745 +#> 0.6175 #> [ CPUFloatType{4} ] #> #> $lt2[[10]] #> torch_tensor -#> 0.2607 -#> 0.9733 -#> -1.1057 -#> 0.5108 +#> -2.7957 +#> 0.1567 +#> -1.0585 +#> -1.8448 #> [ CPUFloatType{4} ] #> #> diff --git a/reference/materialize_internal.html b/reference/materialize_internal.html index 29eb67c6..a6513c1e 100644 --- a/reference/materialize_internal.html +++ b/reference/materialize_internal.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr3torch-package.html b/reference/mlr3torch-package.html index 0354afef..e4ee2d13 100644 --- a/reference/mlr3torch-package.html +++ b/reference/mlr3torch-package.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr3torch_callbacks.html b/reference/mlr3torch_callbacks.html index 183c6680..d3b5ead6 100644 --- a/reference/mlr3torch_callbacks.html +++ b/reference/mlr3torch_callbacks.html @@ -13,7 +13,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr3torch_losses.html b/reference/mlr3torch_losses.html index e76e4674..e617a6e3 100644 --- a/reference/mlr3torch_losses.html +++ b/reference/mlr3torch_losses.html @@ -13,7 +13,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr3torch_optimizers.html b/reference/mlr3torch_optimizers.html index 1d7f49dc..2d16884f 100644 --- a/reference/mlr3torch_optimizers.html +++ b/reference/mlr3torch_optimizers.html @@ -13,7 +13,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr_backends_lazy.html b/reference/mlr_backends_lazy.html index 5c21b41f..e11e9c44 100644 --- a/reference/mlr_backends_lazy.html +++ b/reference/mlr_backends_lazy.html @@ -49,7 +49,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -170,7 +170,7 @@ Public methodsMethod new() Creates a new instance of this R6 class. Usage -DataBackendLazy$new(constructor, rownames, col_info, primary_key, data_formats) +DataBackendLazy$new(constructor, rownames, col_info, primary_key) @@ -197,12 +197,6 @@ Argumentscharacter()) -Set of supported data formats. E.g. "data.table". -These must be a subset of the data formats of the lazily constructed backend. - - @@ -215,7 +209,7 @@ Method Accessing the data triggers the construction of the backend. Usage -DataBackendLazy$data(rows, cols, data_format = "data.table") +DataBackendLazy$data(rows, cols) @@ -230,11 +224,6 @@ Arguments or "Matrix". - - @@ -356,10 +345,8 @@ Examples constructor = constructor, rownames = 1:10, col_info = column_info, - data_formats = "data.table", primary_key = "row_id" ) -#> Warning: DataBackend$initialize argument 'data_formats' is deprecated and will be removed in the future. # Note that the constructor is not called for the calls below # as they can be read from the metadata @@ -381,8 +368,6 @@ Examples# Only now the backend is constructed backend_lazy$data(1, "x") #> Data is constructed! -#> Warning: DataBackend$data_formats is deprecated and will be removed in the future. -#> Warning: DataBackendDataTable$data argument 'data_format' is deprecated and will be removed in the future. #> x #> <num> #> 1: -0.3872136 diff --git a/reference/mlr_callback_set.checkpoint.html b/reference/mlr_callback_set.checkpoint.html index a6b21ea2..082f5be7 100644 --- a/reference/mlr_callback_set.checkpoint.html +++ b/reference/mlr_callback_set.checkpoint.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr_callback_set.history.html b/reference/mlr_callback_set.history.html index aa6985f0..5c54c0ca 100644 --- a/reference/mlr_callback_set.history.html +++ b/reference/mlr_callback_set.history.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr_callback_set.html b/reference/mlr_callback_set.html index d787e500..2e5e8790 100644 --- a/reference/mlr_callback_set.html +++ b/reference/mlr_callback_set.html @@ -17,7 +17,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr_callback_set.progress.html b/reference/mlr_callback_set.progress.html index 944c68ae..30b9da13 100644 --- a/reference/mlr_callback_set.progress.html +++ b/reference/mlr_callback_set.progress.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr_context_torch.html b/reference/mlr_context_torch.html index 02d0bb51..e0c2deeb 100644 --- a/reference/mlr_context_torch.html +++ b/reference/mlr_context_torch.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr_learners.mlp.html b/reference/mlr_learners.mlp.html index adcde6e2..48d76e98 100644 --- a/reference/mlr_learners.mlp.html +++ b/reference/mlr_learners.mlp.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -118,6 +118,7 @@ Public methodsLearnerTorchMLP$new() LearnerTorchMLP$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners.tab_resnet.html b/reference/mlr_learners.tab_resnet.html index eee1d2a7..1c28b1d8 100644 --- a/reference/mlr_learners.tab_resnet.html +++ b/reference/mlr_learners.tab_resnet.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -119,6 +119,7 @@ Public methodsLearnerTorchTabResNet$new() LearnerTorchTabResNet$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners.torch_featureless.html b/reference/mlr_learners.torch_featureless.html index 88b575ae..ce16d3de 100644 --- a/reference/mlr_learners.torch_featureless.html +++ b/reference/mlr_learners.torch_featureless.html @@ -13,7 +13,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -111,6 +111,7 @@ Public methodsLearnerTorchFeatureless$new() LearnerTorchFeatureless$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners.torchvision.html b/reference/mlr_learners.torchvision.html index 94824d7b..8bf3acfe 100644 --- a/reference/mlr_learners.torchvision.html +++ b/reference/mlr_learners.torchvision.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -86,6 +86,7 @@ Public methodsLearnerTorchVision$new() LearnerTorchVision$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() @@ -132,9 +133,9 @@ Argumentsmlr3torch - 0.1.1 + 0.1.2 @@ -302,6 +302,7 @@ Public methodsLearnerTorch$dataset() LearnerTorch$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners_torch_image.html b/reference/mlr_learners_torch_image.html index 5f9f78f9..5efc4688 100644 --- a/reference/mlr_learners_torch_image.html +++ b/reference/mlr_learners_torch_image.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -86,6 +86,7 @@ Public methodsLearnerTorchImage$new() LearnerTorchImage$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners_torch_model.html b/reference/mlr_learners_torch_model.html index 489f41c5..4527ea45 100644 --- a/reference/mlr_learners_torch_model.html +++ b/reference/mlr_learners_torch_model.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -112,6 +112,7 @@ Public methodsLearnerTorchModel$new() LearnerTorchModel$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() @@ -242,14 +243,14 @@ Exampleslearner$train(task, ids$train) learner$predict(task, ids$test) #> <PredictionClassif> for 50 observations: -#> row_ids truth response -#> 3 setosa setosa -#> 9 setosa setosa -#> 10 setosa setosa -#> --- --- --- -#> 147 virginica setosa -#> 149 virginica setosa -#> 150 virginica setosa +#> row_ids truth response +#> 3 setosa virginica +#> 9 setosa virginica +#> 10 setosa virginica +#> --- --- --- +#> 147 virginica versicolor +#> 149 virginica versicolor +#> 150 virginica versicolor
## Warning in warn_deprecated("Learner$initialize argument 'data_formats'"): -## Learner$initialize argument 'data_formats' is deprecated and will be removed in -## the future.
-mlp$train(task)
mlp$train(task)
## Epoch 1: 1.22 ## Epoch 2: 1.27 ## Epoch 3: 1.48 @@ -252,7 +249,7 @@ Using the Custom Logger## Epoch 5: 1.09
The information that is returnede by state_dict() is now accessible via the Learner’s $model-slot:
state_dict()
Learner
$model
+ mlp$model$callbacks$custom_logger ## [1] 1.090038
mlp$model$callbacks$custom_logger
## [1] 1.090038
torch
A nn_module is constructed from a nn_module_generator. nn_linear is one of the @@ -116,8 +116,8 @@
nn_module
nn_module_generator
nn_linear
A neural network with one (4-unit) hidden layer and two outputs needs the following ingredients
We will now continue with showing how such a neural network can be represented in mlr3torch.
mlr3torch
Note we only use the $train(), since torch modules do not have anything that maps to the state (it is filled by @@ -195,8 +195,8 @@
$train()
state
While this object allows to easily perform a forward pass, it does not inherit from nn_module, which is useful for various @@ -244,8 +244,8 @@
graph_module(input) #> torch_tensor -#> 0.3672 0.3972 0.2356 -#> 0.3622 0.4338 0.2039 +#> 0.4626 0.3689 0.1685 +#> 0.4455 0.3801 0.1744 #> [ CPUFloatType{2,3} ][ grad_fn = <SoftmaxBackward0> ]
ModelDescriptor
The first linear layer that takes “Sepal” input ("linear1") creates a 2x4 tensor (batch size 2, 4 units), @@ -688,14 +688,14 @@
"linear1"
We observe that the po("nn_merge_cat") concatenates these, as expected:
po("nn_merge_cat")
library(mlr3torch) mnist = tsk("mnist") -#> Warning in warn_deprecated("DataBackend$initialize argument 'data_formats'"): -#> DataBackend$initialize argument 'data_formats' is deprecated and will be -#> removed in the future. mnist #> <TaskClassif:mnist> (70000 x 2): MNIST Digit Classification #> * Target: label @@ -121,11 +118,6 @@ mnist$head() #> Processing... #> Done! -#> Warning in warn_deprecated("DataBackend$data_formats"): -#> DataBackend$data_formats is deprecated and will be removed in the future. -#> Warning in warn_deprecated("DataBackendDataTable$data argument 'data_format'"): -#> DataBackendDataTable$data argument 'data_format' is deprecated and will be -#> removed in the future. #> label image #> <fctr> <lazy_tensor> #> 1: 5 <tnsr[1x28x28]> @@ -161,9 +153,6 @@ neurons = c(100, 100), epochs = 10, batch_size = 32 ) -#> Warning in warn_deprecated("Learner$initialize argument 'data_formats'"): -#> Learner$initialize argument 'data_formats' is deprecated and will be removed in -#> the future. mlp #> <LearnerTorchMLP[classif]:classif.mlp>: My Little Powny #> * Model: - @@ -396,7 +385,7 @@ Digging Into Internals#> <DataDescriptor: 1 ops> #> * dataset_shapes: [x: (NA,1)] #> * input_map: (x) -> Graph -#> * pointer: nop.de4a47.x.output +#> * pointer: nop.f767de.x.output #> * shape: [(NA,1)] The printed output of the data descriptor informs us about: @@ -443,7 +432,7 @@ Digging Into Internals#> <DataDescriptor: 1 ops> #> * dataset_shapes: [x: (NA,1)] #> * input_map: (x) -> Graph -#> * pointer: nop.de4a47.x.output +#> * pointer: nop.f767de.x.output #> * shape: [(NA,1)]
mnist$head() #> Processing... #> Done! -#> Warning in warn_deprecated("DataBackend$data_formats"): -#> DataBackend$data_formats is deprecated and will be removed in the future. -#> Warning in warn_deprecated("DataBackendDataTable$data argument 'data_format'"): -#> DataBackendDataTable$data argument 'data_format' is deprecated and will be -#> removed in the future. #> label image #> <fctr> <lazy_tensor> #> 1: 5 <tnsr[1x28x28]> @@ -161,9 +153,6 @@ neurons = c(100, 100), epochs = 10, batch_size = 32 ) -#> Warning in warn_deprecated("Learner$initialize argument 'data_formats'"): -#> Learner$initialize argument 'data_formats' is deprecated and will be removed in -#> the future. mlp #> <LearnerTorchMLP[classif]:classif.mlp>: My Little Powny #> * Model: - @@ -396,7 +385,7 @@ Digging Into Internals#> <DataDescriptor: 1 ops> #> * dataset_shapes: [x: (NA,1)] #> * input_map: (x) -> Graph -#> * pointer: nop.de4a47.x.output +#> * pointer: nop.f767de.x.output #> * shape: [(NA,1)]
The printed output of the data descriptor informs us about:
What happens during materialize(lt[1]) is the following:
materialize(lt[1])
We see that the $graph has a new pipeop with id "poly.x" and the output pointer points to poly.x. Also we see that the shape of the tensor is now diff --git a/articles/pipeop_torch.html b/articles/pipeop_torch.html index 3bac1a95..3732145d 100644 --- a/articles/pipeop_torch.html +++ b/articles/pipeop_torch.html @@ -29,7 +29,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -96,9 +96,6 @@ library(mlr3torch) imagenet = tsk("tiny_imagenet") -#> Warning in warn_deprecated("DataBackend$initialize argument 'data_formats'"): -#> DataBackend$initialize argument 'data_formats' is deprecated and will be -#> removed in the future. imagenet #> <TaskClassif:tiny_imagenet> (110000 x 2): ImageNet Subset #> * Target: class @@ -177,9 +174,6 @@ t_clbk("checkpoint", freq = 20, path = checkpoint)) %>>% po("torch_model_classif", batch_size = 32, epochs = 100L, device = "cuda") -#> Warning in warn_deprecated("Learner$initialize argument 'data_formats'"): -#> Learner$initialize argument 'data_formats' is deprecated and will be removed in -#> the future. cnn = as_learner(architecture) cnn$id = "cnn" diff --git a/authors.html b/authors.html index 2a0f1f43..4e9e2553 100644 --- a/authors.html +++ b/authors.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -79,13 +79,13 @@ Citation Fischer S, Binder M (2024). mlr3torch: Deep Learning with 'mlr3'. -R package version 0.1.1, https://github.com/mlr-org/mlr3torch/, https://mlr3torch.mlr-org.com/. +R package version 0.1.2, https://github.com/mlr-org/mlr3torch/, https://mlr3torch.mlr-org.com/. @Manual{, title = {mlr3torch: Deep Learning with 'mlr3'}, author = {Sebastian Fischer and Martin Binder}, year = {2024}, - note = {R package version 0.1.1, https://github.com/mlr-org/mlr3torch/}, + note = {R package version 0.1.2, https://github.com/mlr-org/mlr3torch/}, url = {https://mlr3torch.mlr-org.com/}, } diff --git a/index.html b/index.html index 7ce11639..13f45ad7 100644 --- a/index.html +++ b/index.html @@ -32,7 +32,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/news/index.html b/news/index.html index 31bfdda5..7f373814 100644 --- a/news/index.html +++ b/news/index.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -49,6 +49,10 @@ Source: NEWS.md + +mlr3torch 0.1.2CRAN release: 2024-10-15 +Don’t use deprecated data_formats anymore + mlr3torch 0.1.1CRAN release: 2024-09-12 fix(preprocessing): regarding the construction of some PipeOps such as po("trafo_resize") which failed in some cases. diff --git a/pkgdown.yml b/pkgdown.yml index ee091822..08cff041 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -7,7 +7,7 @@ articles: articles/internals_pipeop_torch: internals_pipeop_torch.html articles/lazy_tensor: lazy_tensor.html articles/pipeop_torch: pipeop_torch.html -last_built: 2024-10-07T11:30Z +last_built: 2024-10-15T10:54Z urls: reference: https://mlr3torch.mlr-org.com/reference article: https://mlr3torch.mlr-org.com/articles diff --git a/reference/DataDescriptor.html b/reference/DataDescriptor.html index 658f73d8..b43f7bbd 100644 --- a/reference/DataDescriptor.html +++ b/reference/DataDescriptor.html @@ -17,7 +17,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -263,14 +263,14 @@ Examples#> <DataDescriptor: 1 ops> #> * dataset_shapes: [x: (NA,3,3)] #> * input_map: (x) -> Graph -#> * pointer: nop.bd2298.x.output +#> * pointer: nop.f7caef.x.output #> * shape: [(NA,3,3)] # is the same as using the converter: as_data_descriptor(ds, list(x = c(NA, 3, 3))) #> <DataDescriptor: 1 ops> #> * dataset_shapes: [x: (NA,3,3)] #> * input_map: (x) -> Graph -#> * pointer: nop.bd2298.x.output +#> * pointer: nop.f7caef.x.output #> * shape: [(NA,3,3)] diff --git a/reference/ModelDescriptor.html b/reference/ModelDescriptor.html index 2f97e3c1..f3bca7e8 100644 --- a/reference/ModelDescriptor.html +++ b/reference/ModelDescriptor.html @@ -37,7 +37,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentCenterCrop.html b/reference/PipeOpPreprocTorchAugmentCenterCrop.html index ae3b7678..637aeae5 100644 --- a/reference/PipeOpPreprocTorchAugmentCenterCrop.html +++ b/reference/PipeOpPreprocTorchAugmentCenterCrop.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentColorJitter.html b/reference/PipeOpPreprocTorchAugmentColorJitter.html index 844e8dfd..ee9ae063 100644 --- a/reference/PipeOpPreprocTorchAugmentColorJitter.html +++ b/reference/PipeOpPreprocTorchAugmentColorJitter.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentCrop.html b/reference/PipeOpPreprocTorchAugmentCrop.html index f8c526a6..b98b7a1f 100644 --- a/reference/PipeOpPreprocTorchAugmentCrop.html +++ b/reference/PipeOpPreprocTorchAugmentCrop.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentHflip.html b/reference/PipeOpPreprocTorchAugmentHflip.html index 562aa209..4e2fb101 100644 --- a/reference/PipeOpPreprocTorchAugmentHflip.html +++ b/reference/PipeOpPreprocTorchAugmentHflip.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentRandomAffine.html b/reference/PipeOpPreprocTorchAugmentRandomAffine.html index ed730f6f..1ff40f08 100644 --- a/reference/PipeOpPreprocTorchAugmentRandomAffine.html +++ b/reference/PipeOpPreprocTorchAugmentRandomAffine.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentRandomChoice.html b/reference/PipeOpPreprocTorchAugmentRandomChoice.html index 013bf68b..9202dc5c 100644 --- a/reference/PipeOpPreprocTorchAugmentRandomChoice.html +++ b/reference/PipeOpPreprocTorchAugmentRandomChoice.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentRandomCrop.html b/reference/PipeOpPreprocTorchAugmentRandomCrop.html index 2ca459a1..0b4b3cdb 100644 --- a/reference/PipeOpPreprocTorchAugmentRandomCrop.html +++ b/reference/PipeOpPreprocTorchAugmentRandomCrop.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentRandomHorizontalFlip.html b/reference/PipeOpPreprocTorchAugmentRandomHorizontalFlip.html index 7f50b514..b97340fe 100644 --- a/reference/PipeOpPreprocTorchAugmentRandomHorizontalFlip.html +++ b/reference/PipeOpPreprocTorchAugmentRandomHorizontalFlip.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentRandomOrder.html b/reference/PipeOpPreprocTorchAugmentRandomOrder.html index 0fa8b6af..15157440 100644 --- a/reference/PipeOpPreprocTorchAugmentRandomOrder.html +++ b/reference/PipeOpPreprocTorchAugmentRandomOrder.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentRandomResizedCrop.html b/reference/PipeOpPreprocTorchAugmentRandomResizedCrop.html index ec36c880..0300bf4f 100644 --- a/reference/PipeOpPreprocTorchAugmentRandomResizedCrop.html +++ b/reference/PipeOpPreprocTorchAugmentRandomResizedCrop.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentRandomVerticalFlip.html b/reference/PipeOpPreprocTorchAugmentRandomVerticalFlip.html index c95e22a1..4d9ca91e 100644 --- a/reference/PipeOpPreprocTorchAugmentRandomVerticalFlip.html +++ b/reference/PipeOpPreprocTorchAugmentRandomVerticalFlip.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentResizedCrop.html b/reference/PipeOpPreprocTorchAugmentResizedCrop.html index 1ceefa3f..a93f039f 100644 --- a/reference/PipeOpPreprocTorchAugmentResizedCrop.html +++ b/reference/PipeOpPreprocTorchAugmentResizedCrop.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentRotate.html b/reference/PipeOpPreprocTorchAugmentRotate.html index b8775de7..c32dadfe 100644 --- a/reference/PipeOpPreprocTorchAugmentRotate.html +++ b/reference/PipeOpPreprocTorchAugmentRotate.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchAugmentVflip.html b/reference/PipeOpPreprocTorchAugmentVflip.html index 2a5bd55c..2282f408 100644 --- a/reference/PipeOpPreprocTorchAugmentVflip.html +++ b/reference/PipeOpPreprocTorchAugmentVflip.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchTrafoAdjustBrightness.html b/reference/PipeOpPreprocTorchTrafoAdjustBrightness.html index 651a1f48..ee2d063d 100644 --- a/reference/PipeOpPreprocTorchTrafoAdjustBrightness.html +++ b/reference/PipeOpPreprocTorchTrafoAdjustBrightness.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchTrafoAdjustGamma.html b/reference/PipeOpPreprocTorchTrafoAdjustGamma.html index e9fb4777..8310a351 100644 --- a/reference/PipeOpPreprocTorchTrafoAdjustGamma.html +++ b/reference/PipeOpPreprocTorchTrafoAdjustGamma.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchTrafoAdjustHue.html b/reference/PipeOpPreprocTorchTrafoAdjustHue.html index 034ebce3..11e3eb38 100644 --- a/reference/PipeOpPreprocTorchTrafoAdjustHue.html +++ b/reference/PipeOpPreprocTorchTrafoAdjustHue.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchTrafoAdjustSaturation.html b/reference/PipeOpPreprocTorchTrafoAdjustSaturation.html index 6f230b4b..21076605 100644 --- a/reference/PipeOpPreprocTorchTrafoAdjustSaturation.html +++ b/reference/PipeOpPreprocTorchTrafoAdjustSaturation.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchTrafoGrayscale.html b/reference/PipeOpPreprocTorchTrafoGrayscale.html index 84c0a519..84b41c56 100644 --- a/reference/PipeOpPreprocTorchTrafoGrayscale.html +++ b/reference/PipeOpPreprocTorchTrafoGrayscale.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchTrafoNop.html b/reference/PipeOpPreprocTorchTrafoNop.html index 93a6018b..9351f976 100644 --- a/reference/PipeOpPreprocTorchTrafoNop.html +++ b/reference/PipeOpPreprocTorchTrafoNop.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchTrafoNormalize.html b/reference/PipeOpPreprocTorchTrafoNormalize.html index a7d091e1..a58f5e16 100644 --- a/reference/PipeOpPreprocTorchTrafoNormalize.html +++ b/reference/PipeOpPreprocTorchTrafoNormalize.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchTrafoPad.html b/reference/PipeOpPreprocTorchTrafoPad.html index dd591e40..1214bd02 100644 --- a/reference/PipeOpPreprocTorchTrafoPad.html +++ b/reference/PipeOpPreprocTorchTrafoPad.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchTrafoReshape.html b/reference/PipeOpPreprocTorchTrafoReshape.html index 5cdc87b0..29851e86 100644 --- a/reference/PipeOpPreprocTorchTrafoReshape.html +++ b/reference/PipeOpPreprocTorchTrafoReshape.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchTrafoResize.html b/reference/PipeOpPreprocTorchTrafoResize.html index 59021a5b..2f1425cf 100644 --- a/reference/PipeOpPreprocTorchTrafoResize.html +++ b/reference/PipeOpPreprocTorchTrafoResize.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/PipeOpPreprocTorchTrafoRgbToGrayscale.html b/reference/PipeOpPreprocTorchTrafoRgbToGrayscale.html index 809717a9..fb629fae 100644 --- a/reference/PipeOpPreprocTorchTrafoRgbToGrayscale.html +++ b/reference/PipeOpPreprocTorchTrafoRgbToGrayscale.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/TorchCallback.html b/reference/TorchCallback.html index 388a7549..e8a49f7d 100644 --- a/reference/TorchCallback.html +++ b/reference/TorchCallback.html @@ -17,7 +17,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -209,7 +209,7 @@ Examplestorch_callback #> <TorchCallback:checkpoint> Checkpoint #> * Generator: CallbackSetCheckpoint -#> * Parameters: path=/tmp/RtmpUMG6s7/file26bb6514a71c, freq=1 +#> * Parameters: path=/tmp/Rtmp6cVcme/file630358146434, freq=1 #> * Packages: mlr3torch,torch torch_callback$label #> [1] "Checkpoint" @@ -233,7 +233,6 @@ Examples # Use in a learner learner = lrn("regr.mlp", callbacks = t_clbk("checkpoint")) -#> Warning: Learner$initialize argument 'data_formats' is deprecated and will be removed in the future. # the parameters of the callback are added to the learner's parameter set learner$param_set #> <ParamSetCollection(35)> diff --git a/reference/TorchDescriptor.html b/reference/TorchDescriptor.html index 09ea1f1f..7e7902cb 100644 --- a/reference/TorchDescriptor.html +++ b/reference/TorchDescriptor.html @@ -15,7 +15,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/TorchIngressToken.html b/reference/TorchIngressToken.html index 3ea9fadc..0375bf78 100644 --- a/reference/TorchIngressToken.html +++ b/reference/TorchIngressToken.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/TorchLoss.html b/reference/TorchLoss.html index 8945ef6c..c3ecf3d8 100644 --- a/reference/TorchLoss.html +++ b/reference/TorchLoss.html @@ -17,7 +17,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/TorchOptimizer.html b/reference/TorchOptimizer.html index 372571d4..450ea86a 100644 --- a/reference/TorchOptimizer.html +++ b/reference/TorchOptimizer.html @@ -17,7 +17,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/as_data_descriptor.html b/reference/as_data_descriptor.html index f4d9ff8a..1582eb7a 100644 --- a/reference/as_data_descriptor.html +++ b/reference/as_data_descriptor.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -93,7 +93,7 @@ Examples#> <DataDescriptor: 1 ops> #> * dataset_shapes: [x: (NA,4)] #> * input_map: (x) -> Graph -#> * pointer: nop.2cf035.x.output +#> * pointer: nop.d58b3d.x.output #> * shape: [(NA,4)] # if the dataset has a .getbatch method, the shapes are inferred @@ -106,7 +106,7 @@ Examples#> <DataDescriptor: 1 ops> #> * dataset_shapes: [x: (NA,4)] #> * input_map: (x) -> Graph -#> * pointer: nop.02cd69.x.output +#> * pointer: nop.7be8bd.x.output #> * shape: [(NA,4)] diff --git a/reference/as_lazy_tensor.html b/reference/as_lazy_tensor.html index 5cb50e17..d2cde57f 100644 --- a/reference/as_lazy_tensor.html +++ b/reference/as_lazy_tensor.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/as_torch_callback.html b/reference/as_torch_callback.html index c57a9b97..4e8d7efd 100644 --- a/reference/as_torch_callback.html +++ b/reference/as_torch_callback.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/as_torch_callbacks.html b/reference/as_torch_callbacks.html index 8f7b70f8..c2a3b3ec 100644 --- a/reference/as_torch_callbacks.html +++ b/reference/as_torch_callbacks.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/as_torch_loss.html b/reference/as_torch_loss.html index 71c255db..1c6e30f7 100644 --- a/reference/as_torch_loss.html +++ b/reference/as_torch_loss.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/as_torch_optimizer.html b/reference/as_torch_optimizer.html index fb042ec7..818b076c 100644 --- a/reference/as_torch_optimizer.html +++ b/reference/as_torch_optimizer.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/assert_lazy_tensor.html b/reference/assert_lazy_tensor.html index 1ef89ee6..da1363ae 100644 --- a/reference/assert_lazy_tensor.html +++ b/reference/assert_lazy_tensor.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/auto_device.html b/reference/auto_device.html index 1e8dc25f..f7946b69 100644 --- a/reference/auto_device.html +++ b/reference/auto_device.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/batchgetter_categ.html b/reference/batchgetter_categ.html index f67fc610..e3e2aae2 100644 --- a/reference/batchgetter_categ.html +++ b/reference/batchgetter_categ.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/batchgetter_num.html b/reference/batchgetter_num.html index 2f986355..0b1712e5 100644 --- a/reference/batchgetter_num.html +++ b/reference/batchgetter_num.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/callback_set.html b/reference/callback_set.html index 5246f905..173275c8 100644 --- a/reference/callback_set.html +++ b/reference/callback_set.html @@ -15,7 +15,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/equals-.lazy_tensor.html b/reference/equals-.lazy_tensor.html index 72dff6cb..086d6d97 100644 --- a/reference/equals-.lazy_tensor.html +++ b/reference/equals-.lazy_tensor.html @@ -17,7 +17,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/index.html b/reference/index.html index 8ce10d7d..add9c938 100644 --- a/reference/index.html +++ b/reference/index.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/is_lazy_tensor.html b/reference/is_lazy_tensor.html index f7672cee..eb46205e 100644 --- a/reference/is_lazy_tensor.html +++ b/reference/is_lazy_tensor.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/lazy_tensor.html b/reference/lazy_tensor.html index 65c84e7b..5b467b05 100644 --- a/reference/lazy_tensor.html +++ b/reference/lazy_tensor.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/materialize.html b/reference/materialize.html index 08ecd468..0748ff1e 100644 --- a/reference/materialize.html +++ b/reference/materialize.html @@ -17,7 +17,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -132,86 +132,86 @@ Exampleslt1 = as_lazy_tensor(torch_randn(10, 3)) materialize(lt1, rbind = TRUE) #> torch_tensor -#> -0.5175 2.1826 0.5440 -#> 0.6128 2.2153 1.6310 -#> 0.8558 -0.3944 0.4699 -#> -0.3781 -0.5245 -1.1661 -#> 0.2729 0.1567 1.2514 -#> -0.9974 -1.6371 -0.7166 -#> 0.7729 -1.2926 0.9860 -#> -0.6191 1.6560 0.6337 -#> 1.5480 0.1169 -0.4474 -#> -0.0400 -2.8373 0.2412 +#> -1.1227 0.7956 0.2431 +#> 0.7192 -0.7651 0.8124 +#> 0.1044 -0.2668 -0.8873 +#> -0.1169 -0.2002 1.3126 +#> -2.1423 -0.1383 1.4648 +#> -1.7233 0.9979 -0.4245 +#> -1.1771 -0.3704 1.0411 +#> -0.1513 -0.4808 0.7189 +#> -0.9463 -1.7467 -0.2351 +#> -1.0930 -0.6417 0.4611 #> [ CPUFloatType{10,3} ] materialize(lt1, rbind = FALSE) #> [[1]] #> torch_tensor -#> -0.5175 -#> 2.1826 -#> 0.5440 +#> -1.1227 +#> 0.7956 +#> 0.2431 #> [ CPUFloatType{3} ] #> #> [[2]] #> torch_tensor -#> 0.6128 -#> 2.2153 -#> 1.6310 +#> 0.7192 +#> -0.7651 +#> 0.8124 #> [ CPUFloatType{3} ] #> #> [[3]] #> torch_tensor -#> 0.8558 -#> -0.3944 -#> 0.4699 +#> 0.1044 +#> -0.2668 +#> -0.8873 #> [ CPUFloatType{3} ] #> #> [[4]] #> torch_tensor -#> -0.3781 -#> -0.5245 -#> -1.1661 +#> -0.1169 +#> -0.2002 +#> 1.3126 #> [ CPUFloatType{3} ] #> #> [[5]] #> torch_tensor -#> 0.2729 -#> 0.1567 -#> 1.2514 +#> -2.1423 +#> -0.1383 +#> 1.4648 #> [ CPUFloatType{3} ] #> #> [[6]] #> torch_tensor -#> -0.9974 -#> -1.6371 -#> -0.7166 +#> -1.7233 +#> 0.9979 +#> -0.4245 #> [ CPUFloatType{3} ] #> #> [[7]] #> torch_tensor -#> 0.7729 -#> -1.2926 -#> 0.9860 +#> -1.1771 +#> -0.3704 +#> 1.0411 #> [ CPUFloatType{3} ] #> #> [[8]] #> torch_tensor -#> -0.6191 -#> 1.6560 -#> 0.6337 +#> -0.1513 +#> -0.4808 +#> 0.7189 #> [ CPUFloatType{3} ] #> #> [[9]] #> torch_tensor -#> 1.5480 -#> 0.1169 -#> -0.4474 +#> -0.9463 +#> -1.7467 +#> -0.2351 #> [ CPUFloatType{3} ] #> #> [[10]] #> torch_tensor -#> -0.0400 -#> -2.8373 -#> 0.2412 +#> -1.0930 +#> -0.6417 +#> 0.4611 #> [ CPUFloatType{3} ] #> lt2 = as_lazy_tensor(torch_randn(10, 4)) @@ -219,184 +219,184 @@ Examplesmaterialize(d, rbind = TRUE) #> $lt1 #> torch_tensor -#> -0.5175 2.1826 0.5440 -#> 0.6128 2.2153 1.6310 -#> 0.8558 -0.3944 0.4699 -#> -0.3781 -0.5245 -1.1661 -#> 0.2729 0.1567 1.2514 -#> -0.9974 -1.6371 -0.7166 -#> 0.7729 -1.2926 0.9860 -#> -0.6191 1.6560 0.6337 -#> 1.5480 0.1169 -0.4474 -#> -0.0400 -2.8373 0.2412 +#> -1.1227 0.7956 0.2431 +#> 0.7192 -0.7651 0.8124 +#> 0.1044 -0.2668 -0.8873 +#> -0.1169 -0.2002 1.3126 +#> -2.1423 -0.1383 1.4648 +#> -1.7233 0.9979 -0.4245 +#> -1.1771 -0.3704 1.0411 +#> -0.1513 -0.4808 0.7189 +#> -0.9463 -1.7467 -0.2351 +#> -1.0930 -0.6417 0.4611 #> [ CPUFloatType{10,3} ] #> #> $lt2 #> torch_tensor -#> -0.6276 -0.1095 -0.7908 0.5330 -#> -0.0547 -0.1122 -0.4323 0.3639 -#> 1.2063 -0.8808 0.5885 -0.8140 -#> -0.2477 -0.2911 0.4360 -1.2602 -#> -0.4050 -1.3976 0.5262 -0.6855 -#> -1.1056 1.2594 -0.3555 1.7537 -#> -1.5813 1.0822 1.9626 2.1383 -#> -0.8657 -0.8745 0.8644 -0.8650 -#> 1.9690 -0.4740 -0.1647 -1.4104 -#> 0.2607 0.9733 -1.1057 0.5108 +#> 0.3393 0.1721 0.1534 0.1449 +#> 0.7965 0.0640 0.0293 0.2343 +#> -0.1194 0.1193 -0.6815 -1.2864 +#> -0.5741 -1.9028 -0.6167 0.6070 +#> -2.6541 0.5356 -2.0799 0.7195 +#> -0.7025 -0.6438 -0.1360 0.6253 +#> 0.3732 -0.0828 -1.1392 0.6957 +#> 1.3842 -0.6847 -0.8168 0.9068 +#> 0.1855 -1.9733 1.5745 0.6175 +#> -2.7957 0.1567 -1.0585 -1.8448 #> [ CPUFloatType{10,4} ] #> materialize(d, rbind = FALSE) #> $lt1 #> $lt1[[1]] #> torch_tensor -#> -0.5175 -#> 2.1826 -#> 0.5440 +#> -1.1227 +#> 0.7956 +#> 0.2431 #> [ CPUFloatType{3} ] #> #> $lt1[[2]] #> torch_tensor -#> 0.6128 -#> 2.2153 -#> 1.6310 +#> 0.7192 +#> -0.7651 +#> 0.8124 #> [ CPUFloatType{3} ] #> #> $lt1[[3]] #> torch_tensor -#> 0.8558 -#> -0.3944 -#> 0.4699 +#> 0.1044 +#> -0.2668 +#> -0.8873 #> [ CPUFloatType{3} ] #> #> $lt1[[4]] #> torch_tensor -#> -0.3781 -#> -0.5245 -#> -1.1661 +#> -0.1169 +#> -0.2002 +#> 1.3126 #> [ CPUFloatType{3} ] #> #> $lt1[[5]] #> torch_tensor -#> 0.2729 -#> 0.1567 -#> 1.2514 +#> -2.1423 +#> -0.1383 +#> 1.4648 #> [ CPUFloatType{3} ] #> #> $lt1[[6]] #> torch_tensor -#> -0.9974 -#> -1.6371 -#> -0.7166 +#> -1.7233 +#> 0.9979 +#> -0.4245 #> [ CPUFloatType{3} ] #> #> $lt1[[7]] #> torch_tensor -#> 0.7729 -#> -1.2926 -#> 0.9860 +#> -1.1771 +#> -0.3704 +#> 1.0411 #> [ CPUFloatType{3} ] #> #> $lt1[[8]] #> torch_tensor -#> -0.6191 -#> 1.6560 -#> 0.6337 +#> -0.1513 +#> -0.4808 +#> 0.7189 #> [ CPUFloatType{3} ] #> #> $lt1[[9]] #> torch_tensor -#> 1.5480 -#> 0.1169 -#> -0.4474 +#> -0.9463 +#> -1.7467 +#> -0.2351 #> [ CPUFloatType{3} ] #> #> $lt1[[10]] #> torch_tensor -#> -0.0400 -#> -2.8373 -#> 0.2412 +#> -1.0930 +#> -0.6417 +#> 0.4611 #> [ CPUFloatType{3} ] #> #> #> $lt2 #> $lt2[[1]] #> torch_tensor -#> -0.6276 -#> -0.1095 -#> -0.7908 -#> 0.5330 +#> 0.3393 +#> 0.1721 +#> 0.1534 +#> 0.1449 #> [ CPUFloatType{4} ] #> #> $lt2[[2]] #> torch_tensor -#> -0.0547 -#> -0.1122 -#> -0.4323 -#> 0.3639 +#> 0.7965 +#> 0.0640 +#> 0.0293 +#> 0.2343 #> [ CPUFloatType{4} ] #> #> $lt2[[3]] #> torch_tensor -#> 1.2063 -#> -0.8808 -#> 0.5885 -#> -0.8140 +#> -0.1194 +#> 0.1193 +#> -0.6815 +#> -1.2864 #> [ CPUFloatType{4} ] #> #> $lt2[[4]] #> torch_tensor -#> -0.2477 -#> -0.2911 -#> 0.4360 -#> -1.2602 +#> -0.5741 +#> -1.9028 +#> -0.6167 +#> 0.6070 #> [ CPUFloatType{4} ] #> #> $lt2[[5]] #> torch_tensor -#> -0.4050 -#> -1.3976 -#> 0.5262 -#> -0.6855 +#> -2.6541 +#> 0.5356 +#> -2.0799 +#> 0.7195 #> [ CPUFloatType{4} ] #> #> $lt2[[6]] #> torch_tensor -#> -1.1056 -#> 1.2594 -#> -0.3555 -#> 1.7537 +#> -0.7025 +#> -0.6438 +#> -0.1360 +#> 0.6253 #> [ CPUFloatType{4} ] #> #> $lt2[[7]] #> torch_tensor -#> -1.5813 -#> 1.0822 -#> 1.9626 -#> 2.1383 +#> 0.3732 +#> -0.0828 +#> -1.1392 +#> 0.6957 #> [ CPUFloatType{4} ] #> #> $lt2[[8]] #> torch_tensor -#> -0.8657 -#> -0.8745 -#> 0.8644 -#> -0.8650 +#> 1.3842 +#> -0.6847 +#> -0.8168 +#> 0.9068 #> [ CPUFloatType{4} ] #> #> $lt2[[9]] #> torch_tensor -#> 1.9690 -#> -0.4740 -#> -0.1647 -#> -1.4104 +#> 0.1855 +#> -1.9733 +#> 1.5745 +#> 0.6175 #> [ CPUFloatType{4} ] #> #> $lt2[[10]] #> torch_tensor -#> 0.2607 -#> 0.9733 -#> -1.1057 -#> 0.5108 +#> -2.7957 +#> 0.1567 +#> -1.0585 +#> -1.8448 #> [ CPUFloatType{4} ] #> #> diff --git a/reference/materialize_internal.html b/reference/materialize_internal.html index 29eb67c6..a6513c1e 100644 --- a/reference/materialize_internal.html +++ b/reference/materialize_internal.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr3torch-package.html b/reference/mlr3torch-package.html index 0354afef..e4ee2d13 100644 --- a/reference/mlr3torch-package.html +++ b/reference/mlr3torch-package.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr3torch_callbacks.html b/reference/mlr3torch_callbacks.html index 183c6680..d3b5ead6 100644 --- a/reference/mlr3torch_callbacks.html +++ b/reference/mlr3torch_callbacks.html @@ -13,7 +13,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr3torch_losses.html b/reference/mlr3torch_losses.html index e76e4674..e617a6e3 100644 --- a/reference/mlr3torch_losses.html +++ b/reference/mlr3torch_losses.html @@ -13,7 +13,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr3torch_optimizers.html b/reference/mlr3torch_optimizers.html index 1d7f49dc..2d16884f 100644 --- a/reference/mlr3torch_optimizers.html +++ b/reference/mlr3torch_optimizers.html @@ -13,7 +13,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr_backends_lazy.html b/reference/mlr_backends_lazy.html index 5c21b41f..e11e9c44 100644 --- a/reference/mlr_backends_lazy.html +++ b/reference/mlr_backends_lazy.html @@ -49,7 +49,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -170,7 +170,7 @@ Public methodsMethod new() Creates a new instance of this R6 class. Usage -DataBackendLazy$new(constructor, rownames, col_info, primary_key, data_formats) +DataBackendLazy$new(constructor, rownames, col_info, primary_key) @@ -197,12 +197,6 @@ Argumentscharacter()) -Set of supported data formats. E.g. "data.table". -These must be a subset of the data formats of the lazily constructed backend. - - @@ -215,7 +209,7 @@ Method Accessing the data triggers the construction of the backend. Usage -DataBackendLazy$data(rows, cols, data_format = "data.table") +DataBackendLazy$data(rows, cols) @@ -230,11 +224,6 @@ Arguments or "Matrix". - - @@ -356,10 +345,8 @@ Examples constructor = constructor, rownames = 1:10, col_info = column_info, - data_formats = "data.table", primary_key = "row_id" ) -#> Warning: DataBackend$initialize argument 'data_formats' is deprecated and will be removed in the future. # Note that the constructor is not called for the calls below # as they can be read from the metadata @@ -381,8 +368,6 @@ Examples# Only now the backend is constructed backend_lazy$data(1, "x") #> Data is constructed! -#> Warning: DataBackend$data_formats is deprecated and will be removed in the future. -#> Warning: DataBackendDataTable$data argument 'data_format' is deprecated and will be removed in the future. #> x #> <num> #> 1: -0.3872136 diff --git a/reference/mlr_callback_set.checkpoint.html b/reference/mlr_callback_set.checkpoint.html index a6b21ea2..082f5be7 100644 --- a/reference/mlr_callback_set.checkpoint.html +++ b/reference/mlr_callback_set.checkpoint.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr_callback_set.history.html b/reference/mlr_callback_set.history.html index aa6985f0..5c54c0ca 100644 --- a/reference/mlr_callback_set.history.html +++ b/reference/mlr_callback_set.history.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr_callback_set.html b/reference/mlr_callback_set.html index d787e500..2e5e8790 100644 --- a/reference/mlr_callback_set.html +++ b/reference/mlr_callback_set.html @@ -17,7 +17,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr_callback_set.progress.html b/reference/mlr_callback_set.progress.html index 944c68ae..30b9da13 100644 --- a/reference/mlr_callback_set.progress.html +++ b/reference/mlr_callback_set.progress.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr_context_torch.html b/reference/mlr_context_torch.html index 02d0bb51..e0c2deeb 100644 --- a/reference/mlr_context_torch.html +++ b/reference/mlr_context_torch.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr_learners.mlp.html b/reference/mlr_learners.mlp.html index adcde6e2..48d76e98 100644 --- a/reference/mlr_learners.mlp.html +++ b/reference/mlr_learners.mlp.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -118,6 +118,7 @@ Public methodsLearnerTorchMLP$new() LearnerTorchMLP$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners.tab_resnet.html b/reference/mlr_learners.tab_resnet.html index eee1d2a7..1c28b1d8 100644 --- a/reference/mlr_learners.tab_resnet.html +++ b/reference/mlr_learners.tab_resnet.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -119,6 +119,7 @@ Public methodsLearnerTorchTabResNet$new() LearnerTorchTabResNet$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners.torch_featureless.html b/reference/mlr_learners.torch_featureless.html index 88b575ae..ce16d3de 100644 --- a/reference/mlr_learners.torch_featureless.html +++ b/reference/mlr_learners.torch_featureless.html @@ -13,7 +13,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -111,6 +111,7 @@ Public methodsLearnerTorchFeatureless$new() LearnerTorchFeatureless$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners.torchvision.html b/reference/mlr_learners.torchvision.html index 94824d7b..8bf3acfe 100644 --- a/reference/mlr_learners.torchvision.html +++ b/reference/mlr_learners.torchvision.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -86,6 +86,7 @@ Public methodsLearnerTorchVision$new() LearnerTorchVision$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() @@ -132,9 +133,9 @@ Argumentsmlr3torch - 0.1.1 + 0.1.2 @@ -302,6 +302,7 @@ Public methodsLearnerTorch$dataset() LearnerTorch$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners_torch_image.html b/reference/mlr_learners_torch_image.html index 5f9f78f9..5efc4688 100644 --- a/reference/mlr_learners_torch_image.html +++ b/reference/mlr_learners_torch_image.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -86,6 +86,7 @@ Public methodsLearnerTorchImage$new() LearnerTorchImage$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners_torch_model.html b/reference/mlr_learners_torch_model.html index 489f41c5..4527ea45 100644 --- a/reference/mlr_learners_torch_model.html +++ b/reference/mlr_learners_torch_model.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -112,6 +112,7 @@ Public methodsLearnerTorchModel$new() LearnerTorchModel$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() @@ -242,14 +243,14 @@ Exampleslearner$train(task, ids$train) learner$predict(task, ids$test) #> <PredictionClassif> for 50 observations: -#> row_ids truth response -#> 3 setosa setosa -#> 9 setosa setosa -#> 10 setosa setosa -#> --- --- --- -#> 147 virginica setosa -#> 149 virginica setosa -#> 150 virginica setosa +#> row_ids truth response +#> 3 setosa virginica +#> 9 setosa virginica +#> 10 setosa virginica +#> --- --- --- +#> 147 virginica versicolor +#> 149 virginica versicolor +#> 150 virginica versicolor
$graph
"poly.x"
pointer
poly.x
library(mlr3torch) imagenet = tsk("tiny_imagenet") -#> Warning in warn_deprecated("DataBackend$initialize argument 'data_formats'"): -#> DataBackend$initialize argument 'data_formats' is deprecated and will be -#> removed in the future. imagenet #> <TaskClassif:tiny_imagenet> (110000 x 2): ImageNet Subset #> * Target: class @@ -177,9 +174,6 @@ t_clbk("checkpoint", freq = 20, path = checkpoint)) %>>% po("torch_model_classif", batch_size = 32, epochs = 100L, device = "cuda") -#> Warning in warn_deprecated("Learner$initialize argument 'data_formats'"): -#> Learner$initialize argument 'data_formats' is deprecated and will be removed in -#> the future. cnn = as_learner(architecture) cnn$id = "cnn"
Fischer S, Binder M (2024). mlr3torch: Deep Learning with 'mlr3'. -R package version 0.1.1, https://github.com/mlr-org/mlr3torch/, https://mlr3torch.mlr-org.com/. +R package version 0.1.2, https://github.com/mlr-org/mlr3torch/, https://mlr3torch.mlr-org.com/.
@Manual{, title = {mlr3torch: Deep Learning with 'mlr3'}, author = {Sebastian Fischer and Martin Binder}, year = {2024}, - note = {R package version 0.1.1, https://github.com/mlr-org/mlr3torch/}, + note = {R package version 0.1.2, https://github.com/mlr-org/mlr3torch/}, url = {https://mlr3torch.mlr-org.com/}, }
NEWS.md
CRAN release: 2024-10-15
data_formats
CRAN release: 2024-09-12
PipeOps
po("trafo_resize")
lt1 = as_lazy_tensor(torch_randn(10, 3)) materialize(lt1, rbind = TRUE) #> torch_tensor -#> -0.5175 2.1826 0.5440 -#> 0.6128 2.2153 1.6310 -#> 0.8558 -0.3944 0.4699 -#> -0.3781 -0.5245 -1.1661 -#> 0.2729 0.1567 1.2514 -#> -0.9974 -1.6371 -0.7166 -#> 0.7729 -1.2926 0.9860 -#> -0.6191 1.6560 0.6337 -#> 1.5480 0.1169 -0.4474 -#> -0.0400 -2.8373 0.2412 +#> -1.1227 0.7956 0.2431 +#> 0.7192 -0.7651 0.8124 +#> 0.1044 -0.2668 -0.8873 +#> -0.1169 -0.2002 1.3126 +#> -2.1423 -0.1383 1.4648 +#> -1.7233 0.9979 -0.4245 +#> -1.1771 -0.3704 1.0411 +#> -0.1513 -0.4808 0.7189 +#> -0.9463 -1.7467 -0.2351 +#> -1.0930 -0.6417 0.4611 #> [ CPUFloatType{10,3} ] materialize(lt1, rbind = FALSE) #> [[1]] #> torch_tensor -#> -0.5175 -#> 2.1826 -#> 0.5440 +#> -1.1227 +#> 0.7956 +#> 0.2431 #> [ CPUFloatType{3} ] #> #> [[2]] #> torch_tensor -#> 0.6128 -#> 2.2153 -#> 1.6310 +#> 0.7192 +#> -0.7651 +#> 0.8124 #> [ CPUFloatType{3} ] #> #> [[3]] #> torch_tensor -#> 0.8558 -#> -0.3944 -#> 0.4699 +#> 0.1044 +#> -0.2668 +#> -0.8873 #> [ CPUFloatType{3} ] #> #> [[4]] #> torch_tensor -#> -0.3781 -#> -0.5245 -#> -1.1661 +#> -0.1169 +#> -0.2002 +#> 1.3126 #> [ CPUFloatType{3} ] #> #> [[5]] #> torch_tensor -#> 0.2729 -#> 0.1567 -#> 1.2514 +#> -2.1423 +#> -0.1383 +#> 1.4648 #> [ CPUFloatType{3} ] #> #> [[6]] #> torch_tensor -#> -0.9974 -#> -1.6371 -#> -0.7166 +#> -1.7233 +#> 0.9979 +#> -0.4245 #> [ CPUFloatType{3} ] #> #> [[7]] #> torch_tensor -#> 0.7729 -#> -1.2926 -#> 0.9860 +#> -1.1771 +#> -0.3704 +#> 1.0411 #> [ CPUFloatType{3} ] #> #> [[8]] #> torch_tensor -#> -0.6191 -#> 1.6560 -#> 0.6337 +#> -0.1513 +#> -0.4808 +#> 0.7189 #> [ CPUFloatType{3} ] #> #> [[9]] #> torch_tensor -#> 1.5480 -#> 0.1169 -#> -0.4474 +#> -0.9463 +#> -1.7467 +#> -0.2351 #> [ CPUFloatType{3} ] #> #> [[10]] #> torch_tensor -#> -0.0400 -#> -2.8373 -#> 0.2412 +#> -1.0930 +#> -0.6417 +#> 0.4611 #> [ CPUFloatType{3} ] #> lt2 = as_lazy_tensor(torch_randn(10, 4)) @@ -219,184 +219,184 @@ Examplesmaterialize(d, rbind = TRUE) #> $lt1 #> torch_tensor -#> -0.5175 2.1826 0.5440 -#> 0.6128 2.2153 1.6310 -#> 0.8558 -0.3944 0.4699 -#> -0.3781 -0.5245 -1.1661 -#> 0.2729 0.1567 1.2514 -#> -0.9974 -1.6371 -0.7166 -#> 0.7729 -1.2926 0.9860 -#> -0.6191 1.6560 0.6337 -#> 1.5480 0.1169 -0.4474 -#> -0.0400 -2.8373 0.2412 +#> -1.1227 0.7956 0.2431 +#> 0.7192 -0.7651 0.8124 +#> 0.1044 -0.2668 -0.8873 +#> -0.1169 -0.2002 1.3126 +#> -2.1423 -0.1383 1.4648 +#> -1.7233 0.9979 -0.4245 +#> -1.1771 -0.3704 1.0411 +#> -0.1513 -0.4808 0.7189 +#> -0.9463 -1.7467 -0.2351 +#> -1.0930 -0.6417 0.4611 #> [ CPUFloatType{10,3} ] #> #> $lt2 #> torch_tensor -#> -0.6276 -0.1095 -0.7908 0.5330 -#> -0.0547 -0.1122 -0.4323 0.3639 -#> 1.2063 -0.8808 0.5885 -0.8140 -#> -0.2477 -0.2911 0.4360 -1.2602 -#> -0.4050 -1.3976 0.5262 -0.6855 -#> -1.1056 1.2594 -0.3555 1.7537 -#> -1.5813 1.0822 1.9626 2.1383 -#> -0.8657 -0.8745 0.8644 -0.8650 -#> 1.9690 -0.4740 -0.1647 -1.4104 -#> 0.2607 0.9733 -1.1057 0.5108 +#> 0.3393 0.1721 0.1534 0.1449 +#> 0.7965 0.0640 0.0293 0.2343 +#> -0.1194 0.1193 -0.6815 -1.2864 +#> -0.5741 -1.9028 -0.6167 0.6070 +#> -2.6541 0.5356 -2.0799 0.7195 +#> -0.7025 -0.6438 -0.1360 0.6253 +#> 0.3732 -0.0828 -1.1392 0.6957 +#> 1.3842 -0.6847 -0.8168 0.9068 +#> 0.1855 -1.9733 1.5745 0.6175 +#> -2.7957 0.1567 -1.0585 -1.8448 #> [ CPUFloatType{10,4} ] #> materialize(d, rbind = FALSE) #> $lt1 #> $lt1[[1]] #> torch_tensor -#> -0.5175 -#> 2.1826 -#> 0.5440 +#> -1.1227 +#> 0.7956 +#> 0.2431 #> [ CPUFloatType{3} ] #> #> $lt1[[2]] #> torch_tensor -#> 0.6128 -#> 2.2153 -#> 1.6310 +#> 0.7192 +#> -0.7651 +#> 0.8124 #> [ CPUFloatType{3} ] #> #> $lt1[[3]] #> torch_tensor -#> 0.8558 -#> -0.3944 -#> 0.4699 +#> 0.1044 +#> -0.2668 +#> -0.8873 #> [ CPUFloatType{3} ] #> #> $lt1[[4]] #> torch_tensor -#> -0.3781 -#> -0.5245 -#> -1.1661 +#> -0.1169 +#> -0.2002 +#> 1.3126 #> [ CPUFloatType{3} ] #> #> $lt1[[5]] #> torch_tensor -#> 0.2729 -#> 0.1567 -#> 1.2514 +#> -2.1423 +#> -0.1383 +#> 1.4648 #> [ CPUFloatType{3} ] #> #> $lt1[[6]] #> torch_tensor -#> -0.9974 -#> -1.6371 -#> -0.7166 +#> -1.7233 +#> 0.9979 +#> -0.4245 #> [ CPUFloatType{3} ] #> #> $lt1[[7]] #> torch_tensor -#> 0.7729 -#> -1.2926 -#> 0.9860 +#> -1.1771 +#> -0.3704 +#> 1.0411 #> [ CPUFloatType{3} ] #> #> $lt1[[8]] #> torch_tensor -#> -0.6191 -#> 1.6560 -#> 0.6337 +#> -0.1513 +#> -0.4808 +#> 0.7189 #> [ CPUFloatType{3} ] #> #> $lt1[[9]] #> torch_tensor -#> 1.5480 -#> 0.1169 -#> -0.4474 +#> -0.9463 +#> -1.7467 +#> -0.2351 #> [ CPUFloatType{3} ] #> #> $lt1[[10]] #> torch_tensor -#> -0.0400 -#> -2.8373 -#> 0.2412 +#> -1.0930 +#> -0.6417 +#> 0.4611 #> [ CPUFloatType{3} ] #> #> #> $lt2 #> $lt2[[1]] #> torch_tensor -#> -0.6276 -#> -0.1095 -#> -0.7908 -#> 0.5330 +#> 0.3393 +#> 0.1721 +#> 0.1534 +#> 0.1449 #> [ CPUFloatType{4} ] #> #> $lt2[[2]] #> torch_tensor -#> -0.0547 -#> -0.1122 -#> -0.4323 -#> 0.3639 +#> 0.7965 +#> 0.0640 +#> 0.0293 +#> 0.2343 #> [ CPUFloatType{4} ] #> #> $lt2[[3]] #> torch_tensor -#> 1.2063 -#> -0.8808 -#> 0.5885 -#> -0.8140 +#> -0.1194 +#> 0.1193 +#> -0.6815 +#> -1.2864 #> [ CPUFloatType{4} ] #> #> $lt2[[4]] #> torch_tensor -#> -0.2477 -#> -0.2911 -#> 0.4360 -#> -1.2602 +#> -0.5741 +#> -1.9028 +#> -0.6167 +#> 0.6070 #> [ CPUFloatType{4} ] #> #> $lt2[[5]] #> torch_tensor -#> -0.4050 -#> -1.3976 -#> 0.5262 -#> -0.6855 +#> -2.6541 +#> 0.5356 +#> -2.0799 +#> 0.7195 #> [ CPUFloatType{4} ] #> #> $lt2[[6]] #> torch_tensor -#> -1.1056 -#> 1.2594 -#> -0.3555 -#> 1.7537 +#> -0.7025 +#> -0.6438 +#> -0.1360 +#> 0.6253 #> [ CPUFloatType{4} ] #> #> $lt2[[7]] #> torch_tensor -#> -1.5813 -#> 1.0822 -#> 1.9626 -#> 2.1383 +#> 0.3732 +#> -0.0828 +#> -1.1392 +#> 0.6957 #> [ CPUFloatType{4} ] #> #> $lt2[[8]] #> torch_tensor -#> -0.8657 -#> -0.8745 -#> 0.8644 -#> -0.8650 +#> 1.3842 +#> -0.6847 +#> -0.8168 +#> 0.9068 #> [ CPUFloatType{4} ] #> #> $lt2[[9]] #> torch_tensor -#> 1.9690 -#> -0.4740 -#> -0.1647 -#> -1.4104 +#> 0.1855 +#> -1.9733 +#> 1.5745 +#> 0.6175 #> [ CPUFloatType{4} ] #> #> $lt2[[10]] #> torch_tensor -#> 0.2607 -#> 0.9733 -#> -1.1057 -#> 0.5108 +#> -2.7957 +#> 0.1567 +#> -1.0585 +#> -1.8448 #> [ CPUFloatType{4} ] #> #> diff --git a/reference/materialize_internal.html b/reference/materialize_internal.html index 29eb67c6..a6513c1e 100644 --- a/reference/materialize_internal.html +++ b/reference/materialize_internal.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr3torch-package.html b/reference/mlr3torch-package.html index 0354afef..e4ee2d13 100644 --- a/reference/mlr3torch-package.html +++ b/reference/mlr3torch-package.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr3torch_callbacks.html b/reference/mlr3torch_callbacks.html index 183c6680..d3b5ead6 100644 --- a/reference/mlr3torch_callbacks.html +++ b/reference/mlr3torch_callbacks.html @@ -13,7 +13,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr3torch_losses.html b/reference/mlr3torch_losses.html index e76e4674..e617a6e3 100644 --- a/reference/mlr3torch_losses.html +++ b/reference/mlr3torch_losses.html @@ -13,7 +13,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr3torch_optimizers.html b/reference/mlr3torch_optimizers.html index 1d7f49dc..2d16884f 100644 --- a/reference/mlr3torch_optimizers.html +++ b/reference/mlr3torch_optimizers.html @@ -13,7 +13,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr_backends_lazy.html b/reference/mlr_backends_lazy.html index 5c21b41f..e11e9c44 100644 --- a/reference/mlr_backends_lazy.html +++ b/reference/mlr_backends_lazy.html @@ -49,7 +49,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -170,7 +170,7 @@ Public methodsMethod new() Creates a new instance of this R6 class. Usage -DataBackendLazy$new(constructor, rownames, col_info, primary_key, data_formats) +DataBackendLazy$new(constructor, rownames, col_info, primary_key) @@ -197,12 +197,6 @@ Argumentscharacter()) -Set of supported data formats. E.g. "data.table". -These must be a subset of the data formats of the lazily constructed backend. - - @@ -215,7 +209,7 @@ Method Accessing the data triggers the construction of the backend. Usage -DataBackendLazy$data(rows, cols, data_format = "data.table") +DataBackendLazy$data(rows, cols) @@ -230,11 +224,6 @@ Arguments or "Matrix". - - @@ -356,10 +345,8 @@ Examples constructor = constructor, rownames = 1:10, col_info = column_info, - data_formats = "data.table", primary_key = "row_id" ) -#> Warning: DataBackend$initialize argument 'data_formats' is deprecated and will be removed in the future. # Note that the constructor is not called for the calls below # as they can be read from the metadata @@ -381,8 +368,6 @@ Examples# Only now the backend is constructed backend_lazy$data(1, "x") #> Data is constructed! -#> Warning: DataBackend$data_formats is deprecated and will be removed in the future. -#> Warning: DataBackendDataTable$data argument 'data_format' is deprecated and will be removed in the future. #> x #> <num> #> 1: -0.3872136 diff --git a/reference/mlr_callback_set.checkpoint.html b/reference/mlr_callback_set.checkpoint.html index a6b21ea2..082f5be7 100644 --- a/reference/mlr_callback_set.checkpoint.html +++ b/reference/mlr_callback_set.checkpoint.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr_callback_set.history.html b/reference/mlr_callback_set.history.html index aa6985f0..5c54c0ca 100644 --- a/reference/mlr_callback_set.history.html +++ b/reference/mlr_callback_set.history.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr_callback_set.html b/reference/mlr_callback_set.html index d787e500..2e5e8790 100644 --- a/reference/mlr_callback_set.html +++ b/reference/mlr_callback_set.html @@ -17,7 +17,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr_callback_set.progress.html b/reference/mlr_callback_set.progress.html index 944c68ae..30b9da13 100644 --- a/reference/mlr_callback_set.progress.html +++ b/reference/mlr_callback_set.progress.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr_context_torch.html b/reference/mlr_context_torch.html index 02d0bb51..e0c2deeb 100644 --- a/reference/mlr_context_torch.html +++ b/reference/mlr_context_torch.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr_learners.mlp.html b/reference/mlr_learners.mlp.html index adcde6e2..48d76e98 100644 --- a/reference/mlr_learners.mlp.html +++ b/reference/mlr_learners.mlp.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -118,6 +118,7 @@ Public methodsLearnerTorchMLP$new() LearnerTorchMLP$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners.tab_resnet.html b/reference/mlr_learners.tab_resnet.html index eee1d2a7..1c28b1d8 100644 --- a/reference/mlr_learners.tab_resnet.html +++ b/reference/mlr_learners.tab_resnet.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -119,6 +119,7 @@ Public methodsLearnerTorchTabResNet$new() LearnerTorchTabResNet$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners.torch_featureless.html b/reference/mlr_learners.torch_featureless.html index 88b575ae..ce16d3de 100644 --- a/reference/mlr_learners.torch_featureless.html +++ b/reference/mlr_learners.torch_featureless.html @@ -13,7 +13,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -111,6 +111,7 @@ Public methodsLearnerTorchFeatureless$new() LearnerTorchFeatureless$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners.torchvision.html b/reference/mlr_learners.torchvision.html index 94824d7b..8bf3acfe 100644 --- a/reference/mlr_learners.torchvision.html +++ b/reference/mlr_learners.torchvision.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -86,6 +86,7 @@ Public methodsLearnerTorchVision$new() LearnerTorchVision$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() @@ -132,9 +133,9 @@ Argumentsmlr3torch - 0.1.1 + 0.1.2 @@ -302,6 +302,7 @@ Public methodsLearnerTorch$dataset() LearnerTorch$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners_torch_image.html b/reference/mlr_learners_torch_image.html index 5f9f78f9..5efc4688 100644 --- a/reference/mlr_learners_torch_image.html +++ b/reference/mlr_learners_torch_image.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -86,6 +86,7 @@ Public methodsLearnerTorchImage$new() LearnerTorchImage$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners_torch_model.html b/reference/mlr_learners_torch_model.html index 489f41c5..4527ea45 100644 --- a/reference/mlr_learners_torch_model.html +++ b/reference/mlr_learners_torch_model.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -112,6 +112,7 @@ Public methodsLearnerTorchModel$new() LearnerTorchModel$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() @@ -242,14 +243,14 @@ Exampleslearner$train(task, ids$train) learner$predict(task, ids$test) #> <PredictionClassif> for 50 observations: -#> row_ids truth response -#> 3 setosa setosa -#> 9 setosa setosa -#> 10 setosa setosa -#> --- --- --- -#> 147 virginica setosa -#> 149 virginica setosa -#> 150 virginica setosa +#> row_ids truth response +#> 3 setosa virginica +#> 9 setosa virginica +#> 10 setosa virginica +#> --- --- --- +#> 147 virginica versicolor +#> 149 virginica versicolor +#> 150 virginica versicolor
new()
Creates a new instance of this R6 class.
DataBackendLazy$new(constructor, rownames, col_info, primary_key, data_formats)
DataBackendLazy$new(constructor, rownames, col_info, primary_key)
"data.table"
Accessing the data triggers the construction of the backend. Usage -DataBackendLazy$data(rows, cols, data_format = "data.table") +DataBackendLazy$data(rows, cols) @@ -230,11 +224,6 @@ Arguments or "Matrix". - - @@ -356,10 +345,8 @@ Examples constructor = constructor, rownames = 1:10, col_info = column_info, - data_formats = "data.table", primary_key = "row_id" ) -#> Warning: DataBackend$initialize argument 'data_formats' is deprecated and will be removed in the future. # Note that the constructor is not called for the calls below # as they can be read from the metadata @@ -381,8 +368,6 @@ Examples# Only now the backend is constructed backend_lazy$data(1, "x") #> Data is constructed! -#> Warning: DataBackend$data_formats is deprecated and will be removed in the future. -#> Warning: DataBackendDataTable$data argument 'data_format' is deprecated and will be removed in the future. #> x #> <num> #> 1: -0.3872136 diff --git a/reference/mlr_callback_set.checkpoint.html b/reference/mlr_callback_set.checkpoint.html index a6b21ea2..082f5be7 100644 --- a/reference/mlr_callback_set.checkpoint.html +++ b/reference/mlr_callback_set.checkpoint.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr_callback_set.history.html b/reference/mlr_callback_set.history.html index aa6985f0..5c54c0ca 100644 --- a/reference/mlr_callback_set.history.html +++ b/reference/mlr_callback_set.history.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr_callback_set.html b/reference/mlr_callback_set.html index d787e500..2e5e8790 100644 --- a/reference/mlr_callback_set.html +++ b/reference/mlr_callback_set.html @@ -17,7 +17,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr_callback_set.progress.html b/reference/mlr_callback_set.progress.html index 944c68ae..30b9da13 100644 --- a/reference/mlr_callback_set.progress.html +++ b/reference/mlr_callback_set.progress.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr_context_torch.html b/reference/mlr_context_torch.html index 02d0bb51..e0c2deeb 100644 --- a/reference/mlr_context_torch.html +++ b/reference/mlr_context_torch.html @@ -11,7 +11,7 @@ mlr3torch - 0.1.1 + 0.1.2 diff --git a/reference/mlr_learners.mlp.html b/reference/mlr_learners.mlp.html index adcde6e2..48d76e98 100644 --- a/reference/mlr_learners.mlp.html +++ b/reference/mlr_learners.mlp.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -118,6 +118,7 @@ Public methodsLearnerTorchMLP$new() LearnerTorchMLP$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners.tab_resnet.html b/reference/mlr_learners.tab_resnet.html index eee1d2a7..1c28b1d8 100644 --- a/reference/mlr_learners.tab_resnet.html +++ b/reference/mlr_learners.tab_resnet.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -119,6 +119,7 @@ Public methodsLearnerTorchTabResNet$new() LearnerTorchTabResNet$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners.torch_featureless.html b/reference/mlr_learners.torch_featureless.html index 88b575ae..ce16d3de 100644 --- a/reference/mlr_learners.torch_featureless.html +++ b/reference/mlr_learners.torch_featureless.html @@ -13,7 +13,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -111,6 +111,7 @@ Public methodsLearnerTorchFeatureless$new() LearnerTorchFeatureless$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners.torchvision.html b/reference/mlr_learners.torchvision.html index 94824d7b..8bf3acfe 100644 --- a/reference/mlr_learners.torchvision.html +++ b/reference/mlr_learners.torchvision.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -86,6 +86,7 @@ Public methodsLearnerTorchVision$new() LearnerTorchVision$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() @@ -132,9 +133,9 @@ Argumentsmlr3torch - 0.1.1 + 0.1.2 @@ -302,6 +302,7 @@ Public methodsLearnerTorch$dataset() LearnerTorch$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners_torch_image.html b/reference/mlr_learners_torch_image.html index 5f9f78f9..5efc4688 100644 --- a/reference/mlr_learners_torch_image.html +++ b/reference/mlr_learners_torch_image.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -86,6 +86,7 @@ Public methodsLearnerTorchImage$new() LearnerTorchImage$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners_torch_model.html b/reference/mlr_learners_torch_model.html index 489f41c5..4527ea45 100644 --- a/reference/mlr_learners_torch_model.html +++ b/reference/mlr_learners_torch_model.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -112,6 +112,7 @@ Public methodsLearnerTorchModel$new() LearnerTorchModel$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() @@ -242,14 +243,14 @@ Exampleslearner$train(task, ids$train) learner$predict(task, ids$test) #> <PredictionClassif> for 50 observations: -#> row_ids truth response -#> 3 setosa setosa -#> 9 setosa setosa -#> 10 setosa setosa -#> --- --- --- -#> 147 virginica setosa -#> 149 virginica setosa -#> 150 virginica setosa +#> row_ids truth response +#> 3 setosa virginica +#> 9 setosa virginica +#> 10 setosa virginica +#> --- --- --- +#> 147 virginica versicolor +#> 149 virginica versicolor +#> 150 virginica versicolor
Accessing the data triggers the construction of the backend.
DataBackendLazy$data(rows, cols, data_format = "data.table")
DataBackendLazy$data(rows, cols)
"Matrix"
LearnerTorchMLP$new()
LearnerTorchMLP$clone()
Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners.tab_resnet.html b/reference/mlr_learners.tab_resnet.html index eee1d2a7..1c28b1d8 100644 --- a/reference/mlr_learners.tab_resnet.html +++ b/reference/mlr_learners.tab_resnet.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -119,6 +119,7 @@ Public methodsLearnerTorchTabResNet$new() LearnerTorchTabResNet$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners.torch_featureless.html b/reference/mlr_learners.torch_featureless.html index 88b575ae..ce16d3de 100644 --- a/reference/mlr_learners.torch_featureless.html +++ b/reference/mlr_learners.torch_featureless.html @@ -13,7 +13,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -111,6 +111,7 @@ Public methodsLearnerTorchFeatureless$new() LearnerTorchFeatureless$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners.torchvision.html b/reference/mlr_learners.torchvision.html index 94824d7b..8bf3acfe 100644 --- a/reference/mlr_learners.torchvision.html +++ b/reference/mlr_learners.torchvision.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -86,6 +86,7 @@ Public methodsLearnerTorchVision$new() LearnerTorchVision$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() @@ -132,9 +133,9 @@ Argumentsmlr3torch - 0.1.1 + 0.1.2 @@ -302,6 +302,7 @@ Public methodsLearnerTorch$dataset() LearnerTorch$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners_torch_image.html b/reference/mlr_learners_torch_image.html index 5f9f78f9..5efc4688 100644 --- a/reference/mlr_learners_torch_image.html +++ b/reference/mlr_learners_torch_image.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -86,6 +86,7 @@ Public methodsLearnerTorchImage$new() LearnerTorchImage$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners_torch_model.html b/reference/mlr_learners_torch_model.html index 489f41c5..4527ea45 100644 --- a/reference/mlr_learners_torch_model.html +++ b/reference/mlr_learners_torch_model.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -112,6 +112,7 @@ Public methodsLearnerTorchModel$new() LearnerTorchModel$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() @@ -242,14 +243,14 @@ Exampleslearner$train(task, ids$train) learner$predict(task, ids$test) #> <PredictionClassif> for 50 observations: -#> row_ids truth response -#> 3 setosa setosa -#> 9 setosa setosa -#> 10 setosa setosa -#> --- --- --- -#> 147 virginica setosa -#> 149 virginica setosa -#> 150 virginica setosa +#> row_ids truth response +#> 3 setosa virginica +#> 9 setosa virginica +#> 10 setosa virginica +#> --- --- --- +#> 147 virginica versicolor +#> 149 virginica versicolor +#> 150 virginica versicolor
mlr3::Learner$base_learner()
mlr3::Learner$encapsulate()
mlr3::Learner$help()
mlr3::Learner$predict()
mlr3::Learner$predict_newdata()
LearnerTorchTabResNet$new()
LearnerTorchTabResNet$clone()
Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners.torch_featureless.html b/reference/mlr_learners.torch_featureless.html index 88b575ae..ce16d3de 100644 --- a/reference/mlr_learners.torch_featureless.html +++ b/reference/mlr_learners.torch_featureless.html @@ -13,7 +13,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -111,6 +111,7 @@ Public methodsLearnerTorchFeatureless$new() LearnerTorchFeatureless$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners.torchvision.html b/reference/mlr_learners.torchvision.html index 94824d7b..8bf3acfe 100644 --- a/reference/mlr_learners.torchvision.html +++ b/reference/mlr_learners.torchvision.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -86,6 +86,7 @@ Public methodsLearnerTorchVision$new() LearnerTorchVision$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() @@ -132,9 +133,9 @@ Argumentsmlr3torch - 0.1.1 + 0.1.2 @@ -302,6 +302,7 @@ Public methodsLearnerTorch$dataset() LearnerTorch$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners_torch_image.html b/reference/mlr_learners_torch_image.html index 5f9f78f9..5efc4688 100644 --- a/reference/mlr_learners_torch_image.html +++ b/reference/mlr_learners_torch_image.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -86,6 +86,7 @@ Public methodsLearnerTorchImage$new() LearnerTorchImage$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners_torch_model.html b/reference/mlr_learners_torch_model.html index 489f41c5..4527ea45 100644 --- a/reference/mlr_learners_torch_model.html +++ b/reference/mlr_learners_torch_model.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -112,6 +112,7 @@ Public methodsLearnerTorchModel$new() LearnerTorchModel$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() @@ -242,14 +243,14 @@ Exampleslearner$train(task, ids$train) learner$predict(task, ids$test) #> <PredictionClassif> for 50 observations: -#> row_ids truth response -#> 3 setosa setosa -#> 9 setosa setosa -#> 10 setosa setosa -#> --- --- --- -#> 147 virginica setosa -#> 149 virginica setosa -#> 150 virginica setosa +#> row_ids truth response +#> 3 setosa virginica +#> 9 setosa virginica +#> 10 setosa virginica +#> --- --- --- +#> 147 virginica versicolor +#> 149 virginica versicolor +#> 150 virginica versicolor
LearnerTorchFeatureless$new()
LearnerTorchFeatureless$clone()
Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners.torchvision.html b/reference/mlr_learners.torchvision.html index 94824d7b..8bf3acfe 100644 --- a/reference/mlr_learners.torchvision.html +++ b/reference/mlr_learners.torchvision.html @@ -7,7 +7,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -86,6 +86,7 @@ Public methodsLearnerTorchVision$new() LearnerTorchVision$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() @@ -132,9 +133,9 @@ Argumentsmlr3torch - 0.1.1 + 0.1.2 @@ -302,6 +302,7 @@ Public methodsLearnerTorch$dataset() LearnerTorch$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners_torch_image.html b/reference/mlr_learners_torch_image.html index 5f9f78f9..5efc4688 100644 --- a/reference/mlr_learners_torch_image.html +++ b/reference/mlr_learners_torch_image.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -86,6 +86,7 @@ Public methodsLearnerTorchImage$new() LearnerTorchImage$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners_torch_model.html b/reference/mlr_learners_torch_model.html index 489f41c5..4527ea45 100644 --- a/reference/mlr_learners_torch_model.html +++ b/reference/mlr_learners_torch_model.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -112,6 +112,7 @@ Public methodsLearnerTorchModel$new() LearnerTorchModel$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() @@ -242,14 +243,14 @@ Exampleslearner$train(task, ids$train) learner$predict(task, ids$test) #> <PredictionClassif> for 50 observations: -#> row_ids truth response -#> 3 setosa setosa -#> 9 setosa setosa -#> 10 setosa setosa -#> --- --- --- -#> 147 virginica setosa -#> 149 virginica setosa -#> 150 virginica setosa +#> row_ids truth response +#> 3 setosa virginica +#> 9 setosa virginica +#> 10 setosa virginica +#> --- --- --- +#> 147 virginica versicolor +#> 149 virginica versicolor +#> 150 virginica versicolor
LearnerTorchVision$new()
LearnerTorchVision$clone()
Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() @@ -132,9 +133,9 @@ Argumentsmlr3torch - 0.1.1 + 0.1.2 @@ -302,6 +302,7 @@ Public methodsLearnerTorch$dataset() LearnerTorch$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners_torch_image.html b/reference/mlr_learners_torch_image.html index 5f9f78f9..5efc4688 100644 --- a/reference/mlr_learners_torch_image.html +++ b/reference/mlr_learners_torch_image.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -86,6 +86,7 @@ Public methodsLearnerTorchImage$new() LearnerTorchImage$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners_torch_model.html b/reference/mlr_learners_torch_model.html index 489f41c5..4527ea45 100644 --- a/reference/mlr_learners_torch_model.html +++ b/reference/mlr_learners_torch_model.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -112,6 +112,7 @@ Public methodsLearnerTorchModel$new() LearnerTorchModel$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() @@ -242,14 +243,14 @@ Exampleslearner$train(task, ids$train) learner$predict(task, ids$test) #> <PredictionClassif> for 50 observations: -#> row_ids truth response -#> 3 setosa setosa -#> 9 setosa setosa -#> 10 setosa setosa -#> --- --- --- -#> 147 virginica setosa -#> 149 virginica setosa -#> 150 virginica setosa +#> row_ids truth response +#> 3 setosa virginica +#> 9 setosa virginica +#> 10 setosa virginica +#> --- --- --- +#> 147 virginica versicolor +#> 149 virginica versicolor +#> 150 virginica versicolor
LearnerTorch$dataset()
LearnerTorch$clone()
Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners_torch_image.html b/reference/mlr_learners_torch_image.html index 5f9f78f9..5efc4688 100644 --- a/reference/mlr_learners_torch_image.html +++ b/reference/mlr_learners_torch_image.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -86,6 +86,7 @@ Public methodsLearnerTorchImage$new() LearnerTorchImage$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners_torch_model.html b/reference/mlr_learners_torch_model.html index 489f41c5..4527ea45 100644 --- a/reference/mlr_learners_torch_model.html +++ b/reference/mlr_learners_torch_model.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -112,6 +112,7 @@ Public methodsLearnerTorchModel$new() LearnerTorchModel$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() @@ -242,14 +243,14 @@ Exampleslearner$train(task, ids$train) learner$predict(task, ids$test) #> <PredictionClassif> for 50 observations: -#> row_ids truth response -#> 3 setosa setosa -#> 9 setosa setosa -#> 10 setosa setosa -#> --- --- --- -#> 147 virginica setosa -#> 149 virginica setosa -#> 150 virginica setosa +#> row_ids truth response +#> 3 setosa virginica +#> 9 setosa virginica +#> 10 setosa virginica +#> --- --- --- +#> 147 virginica versicolor +#> 149 virginica versicolor +#> 150 virginica versicolor
LearnerTorchImage$new()
LearnerTorchImage$clone()
Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() diff --git a/reference/mlr_learners_torch_model.html b/reference/mlr_learners_torch_model.html index 489f41c5..4527ea45 100644 --- a/reference/mlr_learners_torch_model.html +++ b/reference/mlr_learners_torch_model.html @@ -9,7 +9,7 @@ mlr3torch - 0.1.1 + 0.1.2 @@ -112,6 +112,7 @@ Public methodsLearnerTorchModel$new() LearnerTorchModel$clone() Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() @@ -242,14 +243,14 @@ Exampleslearner$train(task, ids$train) learner$predict(task, ids$test) #> <PredictionClassif> for 50 observations: -#> row_ids truth response -#> 3 setosa setosa -#> 9 setosa setosa -#> 10 setosa setosa -#> --- --- --- -#> 147 virginica setosa -#> 149 virginica setosa -#> 150 virginica setosa +#> row_ids truth response +#> 3 setosa virginica +#> 9 setosa virginica +#> 10 setosa virginica +#> --- --- --- +#> 147 virginica versicolor +#> 149 virginica versicolor +#> 150 virginica versicolor
LearnerTorchModel$new()
LearnerTorchModel$clone()
Inherited methodsmlr3::Learner$base_learner() +mlr3::Learner$encapsulate() mlr3::Learner$help() mlr3::Learner$predict() mlr3::Learner$predict_newdata() @@ -242,14 +243,14 @@ Exampleslearner$train(task, ids$train) learner$predict(task, ids$test) #> <PredictionClassif> for 50 observations: -#> row_ids truth response -#> 3 setosa setosa -#> 9 setosa setosa -#> 10 setosa setosa -#> --- --- --- -#> 147 virginica setosa -#> 149 virginica setosa -#> 150 virginica setosa +#> row_ids truth response +#> 3 setosa virginica +#> 9 setosa virginica +#> 10 setosa virginica +#> --- --- --- +#> 147 virginica versicolor +#> 149 virginica versicolor +#> 150 virginica versicolor