aexol-studio
/
recommendation_user_based
- Public
- 50 runs
Run aexol-studio/recommendation_user_based with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
data |
string
|
api:McAuley-Lab/Amazon-Reviews-2023 0core_rating_only_Digital_Music
|
HuggingFace Datasets (api:McAuley-Lab/Amazon-Reviews-2023 0core_rating_only_Digital_Music) or path (path:data/reviews.csv)
|
line_format |
string
|
user item rating timestamp
|
line format
|
columns_name |
string
|
user_id parent_asin rating
|
columns name
|
min_rating |
integer
|
1
|
minimum rating
|
max_rating |
integer
|
5
|
maximum rating
|
size |
integer
|
10
|
top n recommendation
|
pretrained |
boolean
|
False
|
Whether to use a pretrained model
|
show_metrics |
boolean
|
False
|
Whether to show the evaluation metrics
|
{
"type": "object",
"title": "Input",
"properties": {
"data": {
"type": "string",
"title": "Data",
"default": "api:McAuley-Lab/Amazon-Reviews-2023 0core_rating_only_Digital_Music",
"x-order": 0,
"description": "HuggingFace Datasets (api:McAuley-Lab/Amazon-Reviews-2023 0core_rating_only_Digital_Music) or path (path:data/reviews.csv)"
},
"size": {
"type": "integer",
"title": "Size",
"default": 10,
"x-order": 5,
"description": "top n recommendation"
},
"max_rating": {
"type": "integer",
"title": "Max Rating",
"default": 5,
"x-order": 4,
"description": "maximum rating"
},
"min_rating": {
"type": "integer",
"title": "Min Rating",
"default": 1,
"x-order": 3,
"description": "minimum rating"
},
"pretrained": {
"type": "boolean",
"title": "Pretrained",
"default": false,
"x-order": 6,
"description": "Whether to use a pretrained model"
},
"line_format": {
"type": "string",
"title": "Line Format",
"default": "user item rating timestamp",
"x-order": 1,
"description": "line format"
},
"columns_name": {
"type": "string",
"title": "Columns Name",
"default": "user_id parent_asin rating",
"x-order": 2,
"description": "columns name"
},
"show_metrics": {
"type": "boolean",
"title": "Show Metrics",
"default": false,
"x-order": 7,
"description": "Whether to show the evaluation metrics"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output"
}