API Reference

This section provides the API documentation for the TiRank package.

Core Model & Training

This is the core logic for the TiRank multi-task learning model, loss functions, and training/prediction pipeline.

tirank.Model

tirank.TrainPre

tirank.Loss

Data Handling & Preprocessing

Functions and classes for loading, filtering, and preprocessing data before it enters the model.

tirank.LoadData

tirank.SCSTpreprocess

tirank.Dataloader

Feature Engineering

The core modules for Relative Expression Ordering (REO) and H&E image feature extraction.

tirank.GPextractor

tirank.Imageprocessing

Plotting & Visualization

Functions for visualizing TiRank results.

tirank.Visualization