Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
pack up for release
Browse files Browse the repository at this point in the history
  • Loading branch information
freesinger committed Jan 10, 2019
1 parent 4d15428 commit d7cc270
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 30 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,16 @@

- See the performance on generate dataset:


`>_ python3.6 generatePoints.py`


`>_ python3.6 plot.py`

## 4. Performances

- Dataset to be clustering:

![generatedPoints](images/generatedPoints.png)

- After clustering:

![result](images/result.png)
8 changes: 4 additions & 4 deletions generatePoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@

x = p[:, 0]
y = p[:, 1]
plt.plot(x, y, 'or', markersize=1, alpha=0.5, label='1')
plt.plot(x, y, 'ok', markersize=1, alpha=0.5)
# plt.show()

x = s[:, 0]
y = s[:, 1]
plt.plot(x, y, 'ob', markersize=1, alpha=0.5, label='2')
plt.plot(x, y, 'ok', markersize=1, alpha=0.5)

x = q[:, 0]
y = q[:, 1]
plt.plot(x, y, 'oc', markersize=1, alpha=0.5, label='3')
plt.legend()
plt.plot(x, y, 'ok', markersize=1, alpha=0.5)
# plt.legend()
# plt.axis([-3, 10, -3, 9])
plt.xlabel('x')
plt.ylabel('y')
Expand Down
Binary file modified images/generatedPoints.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 0 additions & 24 deletions others/report.html

This file was deleted.

Binary file modified report.pdf
Binary file not shown.

0 comments on commit d7cc270

Please sign in to comment.