dot-recipes_preserve_sparsity: Does step destroy sparsity of columns

.recipes_preserve_sparsityR Documentation

Does step destroy sparsity of columns

Description

Does step destroy sparsity of columns

Usage

.recipes_preserve_sparsity(x, ...)

Arguments

x

An object.

Details

This function return TRUE if modifications by this step is expected to destroy sparsity of its columns. It does not know whether it will happen or not since it doesn't know if the step will select sparse columns or not.

It returns FALSE for steps that have been modified to handle sparse columns correctly.

Value

Single logical.


tidymodels/recipes documentation built on Feb. 23, 2025, 11:24 a.m.