My page
Pipeline class for inserting the data in the database.
read_data()
Read data using the DataReader
Returns:
Name | Type | Description |
---|---|---|
data_train |
DataFrame
|
data used for training the ranker and/or the fairness intervention. |
data_test |
DataFrame
|
data used for testing and displaying in the UI. |
train_ranker()
Trains the ranking model based on the configurations defined under train_ranker_config
.
It saves the predicted ranking on the test split in the database.
Returns: None