代写数据挖掘作业，实现K-Means，Fuzzy Clustering EM算法等等。

## Submission Guidelines

- You need to zip the following two files together:
- A3_itsc_stuid_report.pdf/.docx: Please put all your reports in this file. (Attachments should be original .pdf or .docx, NOT compressed)
- A3 itsc stuid code.zip: The zip file contains all your source codes for the first assignment.

- All attachments, including report and code, should be named in the format of: Ax_itsc_stuid.zip.
- Submissions not following the rules above are NOT accepted.
- 20 marks will be deducted for every 24 hours after the deadline.
- Your grade will be based on the correctness, efficiency and clarity.

## Major Tasks

This assignment consists of the following tasks:

- To acquire a better understanding of clustering methods.
- To learn to implement K-means for clustering.
- To learn to implement Fuzzy Clustering EM for clustering.
- To learn to use a DBSCAN model for clustering.

### Clustering Methods

You are required to implement the three clustering methods and report the cost time. Please employ euclidean distance as the distance metric.

- K-means You are required to implement the clustering method K-means by yourself. You are not allowed to use any existing K-means package (But basic computation package is okay, eg., Numpy, Scipy). You should test your algorithm with different K values, K {2, 10, 20, 30}.
- Fuzzy Clustering EM You are required to implement the Fuzzy clustering method by using the EM algorithm (reference to slides 11ClusAdvanced.pdf). You are not allowed to use any existing EM package (But basic computation package is okay, eg., Numpy, Scipy). Please test your algorithm by setting K = 2.
- DBSCAN You are required to use the DBSCAN model for clustering. You may use the DBSCAN model implemented by scikit learn. Please test your model on the dataset by setting = 0.12 and M inP ts = 3.

Each model is required to output a text file with clusters. Your programs should be written in such a way that the TA can run them easily to verify the results reported by you.

### Data Set

You are required to test your models on the given dataset. The dataset contains 500 2-dimensions points.

### Report Writing

You are expected to also report the time (using python time package) required by each method to complete the task, excluding the time needed for loading the data files. For K-means, please report cost time of different K settings. For Fuzzy clustering EM, please report sum of squared error (SSE) and center points in each iteration.

## Grading Scheme

- K-means:
- Build the K-means model. (15 points)
- Output 4 text files with clusters information based on differnt K. (10 points)

- Fuzzy Clustering EM:
- Build the Fuzzy Clustering EM model. (15 points)
- Print SSE and center points in each iteration. (5 points)
- Output the text file with clusters information. (10 points)

- DBSCAN:
- Build DBSCAN model. (5 points)
- Output the text file with clusters information. (10 points)

- Project Report (30 points)

While you may discuss with your classmates on general ideas about the assignment, your submission should be based on your own independent effort. In case you seek help from any person or reference source, you should state it clearly in your submission. Failure to do so is considered plagiarism which will lead to appropriate disciplinary actions.