Skip to content

Commit 0e86226

Browse files
Update doc
1 parent d3825e8 commit 0e86226

File tree

13 files changed

+32
-348
lines changed

13 files changed

+32
-348
lines changed

book/community.html

Lines changed: 0 additions & 271 deletions
This file was deleted.

book/contributing.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ <h1 id="contributing"><a class="header" href="#contributing">Contributing</a></h
180180
<i class="fa fa-angle-left"></i>
181181
</a>
182182

183-
<a rel="next prefetch" href="community.html" class="mobile-nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
183+
<a rel="next prefetch" href="getting-started/installation.html" class="mobile-nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
184184
<i class="fa fa-angle-right"></i>
185185
</a>
186186

@@ -194,7 +194,7 @@ <h1 id="contributing"><a class="header" href="#contributing">Contributing</a></h
194194
<i class="fa fa-angle-left"></i>
195195
</a>
196196

197-
<a rel="next prefetch" href="community.html" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
197+
<a rel="next prefetch" href="getting-started/installation.html" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
198198
<i class="fa fa-angle-right"></i>
199199
</a>
200200
</nav>

book/getting-started/installation.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ <h2 id="installation"><a class="header" href="#installation">Installation</a></h
167167

168168
<nav class="nav-wrapper" aria-label="Page navigation">
169169
<!-- Mobile navigation buttons -->
170-
<a rel="prev" href="../community.html" class="mobile-nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left">
170+
<a rel="prev" href="../contributing.html" class="mobile-nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left">
171171
<i class="fa fa-angle-left"></i>
172172
</a>
173173

@@ -181,7 +181,7 @@ <h2 id="installation"><a class="header" href="#installation">Installation</a></h
181181
</div>
182182

183183
<nav class="nav-wide-wrapper" aria-label="Page navigation">
184-
<a rel="prev" href="../community.html" class="nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left">
184+
<a rel="prev" href="../contributing.html" class="nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left">
185185
<i class="fa fa-angle-left"></i>
186186
</a>
187187

book/getting-started/quick-start.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,9 @@ <h2 id="quick-start"><a class="header" href="#quick-start">Quick Start</a></h2>
222222
<li><code>hard_label_recovery std</code>: The standard deviation of hard label recovery scores.</li>
223223
<li><code>improvement_over_random mean</code>: The mean of improvement over random scores.</li>
224224
<li><code>improvement_over_random std</code>: The standard deviation of improvement over random scores.</li>
225-
<li><code>dd_ranking_score mean</code>: The mean of dd ranking scores.</li>
226-
<li><code>dd_ranking_score std</code>: The standard deviation of dd ranking scores.</li>
227225
</ul>
226+
<!-- - `dd_ranking_score mean`: The mean of dd ranking scores.
227+
- `dd_ranking_score std`: The standard deviation of dd ranking scores. -->
228228

229229
</main>
230230

book/index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,9 @@ <h2 id="dd-ranking-score"><a class="header" href="#dd-ranking-score">DD-Ranking
206206
<li>\(\text{syn-any}\): Synthetic dataset with personalized evaluation methods (hard or soft labels);</li>
207207
<li>\(\text{rdm-any}\): Randomly selected dataset (under the same compression ratio) with the same personalized evaluation methods.</li>
208208
</ul>
209-
<p>To rank different methods, we combine the above two metrics as DD-Ranking Score:</p>
210-
<p>\[\text{DD-Ranking Score} = \frac{\text{IOR}}{\text{HLR}} = \frac{(\text{Acc.} \text{syn-any}-\text{Acc.} \text{rdm-any})}{(\text{Acc.} \text{full-hard}-\text{Acc.} \text{syn-hard})}\]</p>
209+
<!-- To rank different methods, we combine the above two metrics as DD-Ranking Score:
210+
211+
\\[\text{DD-Ranking Score} = \frac{\text{IOR}}{\text{HLR}} = \frac{(\text{Acc.} \text{syn-any}-\text{Acc.} \text{rdm-any})}{(\text{Acc.} \text{full-hard}-\text{Acc.} \text{syn-hard})}\\] -->
211212

212213
</main>
213214

book/introduction.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,9 @@ <h2 id="dd-ranking-score"><a class="header" href="#dd-ranking-score">DD-Ranking
206206
<li>\(\text{syn-any}\): Synthetic dataset with personalized evaluation methods (hard or soft labels);</li>
207207
<li>\(\text{rdm-any}\): Randomly selected dataset (under the same compression ratio) with the same personalized evaluation methods.</li>
208208
</ul>
209-
<p>To rank different methods, we combine the above two metrics as DD-Ranking Score:</p>
210-
<p>\[\text{DD-Ranking Score} = \frac{\text{IOR}}{\text{HLR}} = \frac{(\text{Acc.} \text{syn-any}-\text{Acc.} \text{rdm-any})}{(\text{Acc.} \text{full-hard}-\text{Acc.} \text{syn-hard})}\]</p>
209+
<!-- To rank different methods, we combine the above two metrics as DD-Ranking Score:
210+
211+
\\[\text{DD-Ranking Score} = \frac{\text{IOR}}{\text{HLR}} = \frac{(\text{Acc.} \text{syn-any}-\text{Acc.} \text{rdm-any})}{(\text{Acc.} \text{full-hard}-\text{Acc.} \text{syn-hard})}\\] -->
211212

212213
</main>
213214

book/metrics/hard-label.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ <h3 id="methods"><a class="header" href="#methods">Methods</a></h3>
222222
<li>Compute the test accuracy of the surrogate model on the synthetic dataset under hard labels. We tune the learning rate for the best performance if <code>syn_lr</code> is not provided.</li>
223223
<li>Compute the test accuracy of the surrogate model on the real dataset under the same setting as step 1.</li>
224224
<li>Compute the test accuracy of the surrogate model on the randomly selected dataset under the same setting as step 1.</li>
225-
<li>Compute the HLR, IOR, and DD-Ranking scores.</li>
225+
<li>Compute the HLR and IOR scores.</li>
226226
</ol>
227227
<p>The final scores are the average of the scores from <code>num_eval</code> rounds.</p>
228228
<h4 id="parameters-1"><a class="header" href="#parameters-1">Parameters</a></h4>
@@ -239,8 +239,6 @@ <h4 id="returns"><a class="header" href="#returns">Returns</a></h4>
239239
<li><strong>hard_label_recovery_std</strong>: Standard deviation of HLR scores from <code>num_eval</code> rounds.</li>
240240
<li><strong>improvement_over_random_mean</strong>: Mean of improvement over random scores from <code>num_eval</code> rounds.</li>
241241
<li><strong>improvement_over_random_std</strong>: Standard deviation of improvement over random scores from <code>num_eval</code> rounds.</li>
242-
<li><strong>dd_ranking_mean</strong>: Mean of DD-Ranking scores from <code>num_eval</code> rounds.</li>
243-
<li><strong>dd_ranking_std</strong>: Standard deviation of DD-Ranking scores from <code>num_eval</code> rounds.</li>
244242
</ul>
245243
<p><strong>Examples:</strong></p>
246244
<p>with config file:</p>

0 commit comments

Comments
 (0)