API Documentation

RecIS provides rich API interfaces. This section details the usage of each module.

Core Module Overview

Core Module Description

Module

Description

IO Module

Data reading and preprocessing, supports local Orc file data sources

Feature Processing Module

Feature engineering module, supports feature processing and transformation

Neural Network Module

Model-related modules, including dynamic embedding and special operators provided by recis

Evaluation Metrics Module

Evaluation metrics, including AUC, GAUC and other commonly used metrics in recommendation systems

Hook System

Hooks, including log printing, performance analysis tools and other hooks

Optimizer Module

Optimizer module, provides sparse parameter optimization

Training Framework Module

Training framework, provides trainer and checkpoint management

Parameter Saving and Loading

Serialization module, includes Saver, Loader and Checkpoint direct reading tools

Utilities Module

Utility functions, including logging, data processing and other auxiliary functions

Quick Index

Common Classes and Functions

Important Configuration Classes

Checkpoint Reading Tools

Version Compatibility

Note

RecIS requires Python 3.10+ and PyTorch 2.4+. APIs may differ between versions, please refer to the documentation for the corresponding version.