Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Erin Wild committed Feb 19, 2019
1 parent 5318d92 commit 69b878e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ python setup.py install


Many thanks to @sebastiandev, the library is now standardized in a pythonic tradition. Below you can see some basic examples, showing how to use the library.
But I recommend you to go through the codes. There are several functionalities already implemented, but not documented. I would be very happy to add your new examples here.
But I recommend you to go through the codes. There are several functionalities already implemented, but not documented. I would be very happy to add your new examples here.

[Basice Example](https://gist.github.com/sevamoo/035c56e7428318dd3065013625f12a11)
[Basic Example](https://gist.github.com/sevamoo/035c56e7428318dd3065013625f12a11)

### Citation

Expand All @@ -42,7 +42,7 @@ There is no published paper about this library. However if possible, please cite
Main Contributers:
Vahid Moosavi @sevamoo
Sebastian Packmann @sebastiandev
Iván Vallés @ivallesp
Iván Vallés @ivallesp
```


Expand All @@ -51,5 +51,5 @@ For more information, you can contact me via [email protected] or [email protected].



Thanks a lot.
Thanks a lot.
Best Vahid Moosavi
4 changes: 2 additions & 2 deletions sompy/visualization/umatrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def build_u_matrix(self, som, distance=1, row_normalized=False):
return Umatrix.reshape(som.codebook.mapsize)

def show(self, som, distance2=1, row_normalized=False, show_data=True,
contooor=True, blob=False, labels=False):
contour=True, blob=False, labels=False):
umat = self.build_u_matrix(som, distance=distance2,
row_normalized=row_normalized)
msz = som.codebook.mapsize
Expand All @@ -40,7 +40,7 @@ def show(self, som, distance2=1, row_normalized=False, show_data=True,
self._fig, ax = plt.subplots(1, 1)
pylab.imshow(umat, cmap=plt.cm.get_cmap('RdYlBu_r'), alpha=1)

if contooor:
if contour:
mn = np.min(umat.flatten())
mx = np.max(umat.flatten())
std = np.std(umat.flatten())
Expand Down

0 comments on commit 69b878e

Please sign in to comment.