Skip to content

Instantly share code, notes, and snippets.

@tomohiko38
Created April 21, 2020 17:21
Show Gist options
  • Save tomohiko38/b62ef655950842a0051cdc9b2d3b8887 to your computer and use it in GitHub Desktop.
Save tomohiko38/b62ef655950842a0051cdc9b2d3b8887 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"$$\n",
"y =\n",
" \\begin{cases}\n",
" 0 \\quad (w_{1}x_{1} + w_{2}x_{2} \\leqq \\theta) \\\\\n",
" 1 \\quad (w_{1}x_{1} + w_{2}x_{2} > \\theta)\n",
" \\end{cases}\n",
"$$"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.1"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment