Skip to content

Commit b4607be

Browse files
Update tutorial.md
1 parent dee880d commit b4607be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tutorial.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ As with any project, the first step is to set up a Python virtual environment to
6767
Let’s start by creating a clean Python environment for the tutorial. Run the following commands in your terminal:
6868

6969
```
70-
# 1. Create a new virtual environment called 'hashing\_tutorial'
70+
# 1. Create a new virtual environment called 'hashing_tutorial'
7171
python3 -m venv ./hashing_tutorial
7272
7373
# 2. Activate the environment
@@ -287,7 +287,7 @@ from typing import Dict, Iterable, List, Tuple
287287
288288
import numpy as np
289289
import pandas as pd
290-
from sklearn.metrics.pairwise import pairwise\_distances
290+
from sklearn.metrics.pairwise import pairwise_distances
291291
import time
292292
293293
@@ -477,7 +477,7 @@ for i in range(n_iter):
477477
grh_hyperplanes[:, j] = np.random.randn(dim)
478478
else:
479479
svm = LinearSVC(C=1.0, max_iter=1000)
480-
svm.fit(data_train, bin_indices\_bits[:, j])
480+
svm.fit(data_train, bin_indices_bits[:, j])
481481
grh_hyperplanes[:, j] = svm.coef_.ravel()
482482
483483
# Update random_vectors for the next iteration

0 commit comments

Comments
 (0)