From a9828ba852e95a763a4568a8e879c8f5d29cb1ed Mon Sep 17 00:00:00 2001 From: Joel Pasvolsky Date: Fri, 25 Mar 2022 14:31:50 -0700 Subject: [PATCH] Fix a couple of VS Code format problems --- 01-structural-imbalance-overview.ipynb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/01-structural-imbalance-overview.ipynb b/01-structural-imbalance-overview.ipynb index d147ee4..08ee5a7 100644 --- a/01-structural-imbalance-overview.ipynb +++ b/01-structural-imbalance-overview.ipynb @@ -56,8 +56,8 @@ "\n", "$J_{i,j} s_i s_j=\n", "\\begin{cases} \n", - " -1 & \\text{friends in same set (} s_i=s_j \\text{) or enemies in different sets ($s_i \\ne s_j$)} \\\\\n", - " +1 & \\text{friends in different sets ($s_i \\ne s_j$) or enemies in same set ($s_i=s_j$)} \n", + " -1 & \\text{friends in same set (} s_i=s_j \\text{) or enemies in different sets (} s_i \\ne s_j) \\\\\n", + " +1 & \\text{friends in different sets (} s_i \\ne s_j \\text{) or enemies in same set (} s_i=s_j) \n", "\\end{cases}\n", "$\n", "\n", @@ -158,9 +158,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Display the solution using a `draw` function that represents friendly interactions as green lines, hostile interactions as red lines, and frustration as dashed lines.\n", - "\n", - "
Note: The code cell below imports from helpers, a folder colocated with this Jupyter Notebook. Users running it in Leap can see helper functions by selecting Jupyter File Explorer View on the Online Learning page.
" + "Display the solution using a `draw` function that represents friendly interactions as green lines, hostile interactions as red lines, and frustration as dashed lines." ] }, {