kerasnip0.0.3 package

A Bridge Between 'keras' and 'tidymodels'

compile_keras_grid

Compile Keras Models Over a Grid of Hyperparameters

create_keras_functional_spec

Create a Custom Keras Functional API Model Specification for Tidymodel...

create_keras_sequential_spec

Create a Custom Keras Sequential Model Specification for Tidymodels

extract_keras_history

Extract Keras Training History

extract_keras_model

Extract Keras Model from a Fitted Kerasnip Object

process_x_sequential

Process Predictor Input for Keras

extract_valid_grid

Extract Valid Grid from Compilation Results

generic_functional_fit

Internal Fitting Engine for Functional API Models

generic_sequential_fit

Internal Fitting Engine for Sequential API Models

get_model_env

Get Parsnip's Model Environment

inform_errors

Inform About Compilation Errors

inp_spec

Remap Layer Block Arguments for Model Specification

keras_evaluate

Evaluate a Kerasnip Model

keras_objects

Dynamically Discovered Keras Objects

loss_function_keras

Dials Parameter for Keras Loss Functions

model_exists

Check if a Kerasnip Model Specification Exists

optimizer_function

Dials Parameter for Keras Optimizers

process_x_functional

Process Predictor Input for Keras (Functional API)

process_y_functional

Process Outcome Input for Keras (Functional API)

process_y_sequential

Process Outcome Input for Keras

register_keras_loss

Register a Custom Keras Loss

register_keras_metric

Register a Custom Keras Metric

register_keras_optimizer

Register a Custom Keras Optimizer

remove_keras_spec

Remove a Keras Model Specification and its Registrations

step_collapse

Collapse Predictors into a single list-column

Provides a seamless bridge between 'keras' and the 'tidymodels' frameworks. It allows for the dynamic creation of 'parsnip' model specifications for 'keras' models.

  • Maintainer: David Díaz
  • License: MIT + file LICENSE
  • Last published: 2025-09-18