Skip to content

Commit

Permalink
update schema to generate emotions
Browse files Browse the repository at this point in the history
  • Loading branch information
emustafa96 committed Oct 29, 2023
1 parent ec645a0 commit 6904ac9
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 6 deletions.
12 changes: 6 additions & 6 deletions recommander/data_gen.ipynb
Expand Up @@ -18,7 +18,7 @@
},
{
"cell_type": "code",
"execution_count": 32,
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -30,7 +30,7 @@
},
{
"cell_type": "code",
"execution_count": 33,
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -44,18 +44,18 @@
},
{
"cell_type": "code",
"execution_count": 27,
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"mockaroo_url = '\thttps://api.mockaroo.com/api/generate.csv'\n",
"# API key\n",
"num_rows_to_generate = 10 # Max 1000 for the free version of the API"
"num_rows_to_generate = 20 # Max 1000 for the free version of the API"
]
},
{
"cell_type": "code",
"execution_count": 28,
"execution_count": 5,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -77,7 +77,7 @@
},
{
"cell_type": "code",
"execution_count": 23,
"execution_count": 6,
"metadata": {},
"outputs": [],
"source": [
Expand Down
21 changes: 21 additions & 0 deletions recommander/schema.json
Expand Up @@ -105,5 +105,26 @@
"min": 0,
"max": 5,
"decimals": 0
},
{
"name": "mood",
"type": "Number",
"min": 0,
"max": 5,
"decimals": 0
},
{
"name": "battery",
"type": "Number",
"min": 0,
"max": 5,
"decimals": 0
},
{
"name": "stress",
"type": "Number",
"min": 0,
"max": 5,
"decimals": 0
}
]

0 comments on commit 6904ac9

Please sign in to comment.