Skip to content

Commit

Permalink
main notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
marinazanoni authored Dec 17, 2023
1 parent cd25d42 commit cac4e57
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions main.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8326,8 +8326,8 @@
"\n",
"genre_diversity=\n",
"\\begin{cases}\n",
"False \\qquad \\qquad \\text{different cinematic tastes ( \\# genres > 6)} \\\\\n",
"True \\qquad \\qquad \\text{limited cinematic tastes ( \\# genres < 6)} \\\\\n",
"False \\qquad \\qquad \\text{different cinematic tastes ( # genres > 6)} \\\\\n",
"True \\qquad \\qquad \\text{limited cinematic tastes ( # genres < 6)} \\\\\n",
"\\end{cases}\n"
]
},
Expand Down Expand Up @@ -9101,9 +9101,9 @@
"\n",
"Indeed we computed as :\n",
"\n",
"$$\\displaystyle \\dfrac{1}{n_{u_i}} \\sum_{i=1}^n \\left( \\text{release date - datetime}\\right)$$\n",
"$$\\displaystyle \\dfrac{1}{n} \\sum_{i=1}^n \\left( \\text{release date - datetime}\\right)$$\n",
"\n",
"where `n` is the number of films seen by each user.\n",
"where `n` is $n_{u_i}$ the number of films seen by each user.\n",
"\n",
"Notice that it is influnced by how many times saw that film so it can be normalized based on how many time an author has seen that film. It can be interested therefore to compute also that feature, which we're doing next."
]
Expand Down Expand Up @@ -14254,7 +14254,7 @@
}
],
"source": [
"# Parameters tuning \n",
"# Parameters tuning\n",
"\n",
"parameter_grid = {'eps': [0.5, 1],\n",
" 'min_samples': [100, 500, 1000]}\n",
Expand Down Expand Up @@ -16509,4 +16509,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
}
}

0 comments on commit cac4e57

Please sign in to comment.