Skip to contents

Prints the first and last two rows of data along with an informative text on the target and task.

Usage

# S3 method for Dataset
print(x, ...)

Arguments

x

an object of class 'Dataset'

...

other arguments passed to function

Examples

cars.data <- Dataset(cars, target = "dist")
print(cars.data)
#> Dataset "cars", predicting "dist" (Regression)
#>     speed  dist
#>     <num> <num>
#>  1:     4     2
#>  2:     4    10
#> ---            
#> 49:    24   120
#> 50:    25    85