Skip to content

Commit

Permalink
Light fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fouodo committed Nov 15, 2024
1 parent cc1ae16 commit 01cbf56
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 25 deletions.
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ createTrainMetaLayer(training = training,
- An upset plot of the training data: Visualize patient overlap across layers.

```{r upsetplot, include=TRUE, eval=TRUE, }
fuseMLR::upsetplot(object = training, order.by = "freq")
upsetplot(object = training, order.by = "freq")
```

#### C) Variable selection
Expand Down
33 changes: 9 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ createTrainMetaLayer(training = training,
layers.

``` r
fuseMLR::upsetplot(object = training, order.by = "freq")
upsetplot(object = training, order.by = "freq")
```

![](README_files/figure-gfm/upsetplot-1.png)<!-- -->
Expand Down Expand Up @@ -310,32 +310,17 @@ print(training)
## Layers trained : 4
## n : 70

- Retrieve the basic model of a specific layer.

``` r
lay_genexpr <- training$getLayer(id = "geneexpr")
model_ge <- lay_genexpr$getModel()
print(model_ge)
# See also summary(training)
```

## Class : Model
##
## Learner info.
## -----------------------
## Learner : geneexpr_lrner
## TrainLayer : geneexpr
## Package : ranger
## Learn function : ranger
##
## Train data info.
## -----------------------
## TrainData : geneexpr_data
## Layer : geneexpr
## ind. id. : IDS
## target : disease
## n : 50
## Missing : 0
## p : 19
- Use `extractModel` to retrieve the list of stored models and
`extractData` to retrieve training data.

``` r
models_list <- extractModel(training = training)
data_list <- extractData(training = training)
```

#### E) Predicting

Expand Down

0 comments on commit 01cbf56

Please sign in to comment.