https://github.com/logicjake/dm_implement
data preprocessing and similarity methods
https://github.com/logicjake/dm_implement
data-mining data-preprocessing machine-learning similarity-measures
Last synced: 3 months ago
JSON representation
data preprocessing and similarity methods
- Host: GitHub
- URL: https://github.com/logicjake/dm_implement
- Owner: LogicJake
- Created: 2018-09-29T06:19:10.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-11T08:40:18.000Z (almost 7 years ago)
- Last Synced: 2025-03-15T11:14:50.305Z (7 months ago)
- Topics: data-mining, data-preprocessing, machine-learning, similarity-measures
- Language: Python
- Homepage:
- Size: 350 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DM_Implement
data preprocessing and similarity methods## data preprocessing
this class is designed to transform the original network
* Reorder the nodeID
* Rewrite the label with number
* Save the x.edges xx.nodes in another dirctory
## similarity methods
In this part, this project want to implement some basic similarity mesurement methods in network analysis.
the input is a dataframe of pandas with two columns:index source target
0 2 3
1 2 4
.....
The implemented methods are listed as follows:
* common neighbours (CN)
* adamic-adar index (AA)
* resource allocation (RA)
* Resource Allocation Based on Common Neighbor Interactions (RA-CNI)
* Preferential Attachment Index (PA)
* accard Coefficient (JC)
* Salton Index (SA)
* The Sørensen Index (SO)
* Hub Promoted Index (HPI)
* Hub Depressed Index (HDI)
* Local Leicht-Holme-Newman Index (LLHN)