Skip to content

Commit

Permalink
refresh readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Elitack committed Aug 27, 2018
1 parent 93d8390 commit 0ded007
Showing 1 changed file with 0 additions and 116 deletions.
116 changes: 0 additions & 116 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,119 +53,3 @@ CLUB_1: 68.21
</p>

The above two figures are the result that work. The difference between the this and other results showed in README is that, the dataset is sampled from the nodes that have a the degree smaller than 20. While the others use the dataset sampled nodes which have degree larger than 40, so that almost every algorithm achieves a good result compared to the oracle.

#### Parameter

```python

graph_address = './datasets/Flickr/Small_Final_SubG.G'
prob_address = './datasets/Flickr/Small_Final_Edge_P_Uniform_dim4'
feature_address = './datasets/Flickr/Small_Final_Normalized_edgeFeatures_uniform_dim4.dic'

dataset = 'Flickr' #Choose from 'default', 'NetHEPT', 'Flickr'
FeatureScaling = 1.0
batchSize = 1
alpha = 0.1
alpha_2 = 0.1
lambda_ = 0.3
gamma = 0.1
dimension = 4
seed_size = 40
iterations = 300

oracle = degreeDiscountIAC
```

#### Experiment

```
average reward for oracle: 2013.1888888888889
LinUCB: 1967.69
Uniform_LinUCB: 1958.30
UCB1: 1934.53
egreedy_0: 1997.54
egreedy_0.1: 1934.25
egreedy_1: 1512.52
CLUB_Erodos: 1957.71
CLUB_1: 1956.60
```
<p float="left">
<img src="./SimulationResults/avgReward1.PNG" alt="alt text" width="400" height="300">
<img src="./SimulationResults/acuReward1.PNG" alt="alt text" width="400" height="300">
</p>

For another dataset sampled in the same way by Flickr:
```
average reward for oracle: 2001.77
LinUCB: 2002.15
Uniform_LinUCB: 1983.17
UCB1: 1980.37
egreedy_0: 1998.01
egreedy_0.1: 1921.00
egreedy_1: 1438.44
CLUB_Erodos: 1984.28
CLUB_1: 1984.9
```
<p float="left">
<img src="./SimulationResults/avgReward3.PNG" alt="avgReward3" width="400" height="300">
<img src="./SimulationResults/acuReward3.PNG" alt="acuReward3" width="400" height="300">
</p>

#### Parameter

```python
graph_address = './datasets/Flickr/Small_Final_SubG.G'
prob_address = './datasets/Flickr/Small_Final_Edge_P_Uniform_dim4'
feature_address = './datasets/Flickr/Small_Final_Normalized_edgeFeatures_uniform_dim4.dic'

dataset = 'Flickr' #Choose from 'default', 'NetHEPT', 'Flickr'
FeatureScaling = 1.0
batchSize = 1
alpha = 0.1
alpha_2 = 0.1
lambda_ = 0.3
gamma = 0.1
dimension = 4
seed_size = 40
iterations = 300

oracle = degreeDiscountIAC2
```

#### Experiment

```
average reward for oracle: 1954.6811111111112
LinUCB: 1907.56
Uniform_LinUCB: 1733.87
UCB1: 1729.36
egreedy_0: 1952.58
egreedy_0.1: 1924.06
egreedy_1: 1510.79
CLUB_Erodos: 1881.93
CLUB_1: 1874.47
```

<p float="left">
<img src="./SimulationResults/avgReward2.PNG" alt="alt text" width="400" height="300">
<img src="./SimulationResults/acuReward2.PNG" alt="alt text" width="400" height="300">
</p>

For another dataset sampled in the same way by Flickr:
```
average reward for oracle: 1987.7866666666666
LinUCB: 1967.71
Uniform_LinUCB: 1527.14
UCB1: 1528.11
egreedy_0: 1984.75
egreedy_0.1: 1933.33
egreedy_1: 1436.94
CLUB_Erodos: 1946.78
CLUB_1: 1945.93
```
<p float="left">
<img src="./SimulationResults/avgReward4.PNG" alt="alt text" width="400" height="300">
<img src="./SimulationResults/acuReward4.PNG" alt="alt text" width="400" height="300">
</p>

0 comments on commit 0ded007

Please sign in to comment.