@@ -171,65 +171,6 @@ if __name__ == '__main__':
171171
172172[ // ] : # ( <p>Metrics that are calculated during evaluation:</p> )
173173
174- [ // ] : # ( )
175- [ // ] : # ( <div> )
176-
177- [ // ] : # ( <table> )
178-
179- [ // ] : # ( <caption><b>Metrics table</b></caption> )
180-
181- [ // ] : # ( <tr> )
182-
183- [ // ] : # ( <td><b>Number</b></td> )
184-
185- [ // ] : # ( <td align="center"><b>Evaluattion metrics</b></td> )
186-
187- [ // ] : # ( </tr> )
188-
189- [ // ] : # ( <tr> )
190-
191- [ // ] : # ( <td align="center">1</td> )
192-
193- [ // ] : # ( <td><code>Precision</code></td> )
194-
195- [ // ] : # ( </tr> )
196-
197- [ // ] : # ( <tr> )
198-
199- [ // ] : # ( <td align="center">2</td> )
200-
201- [ // ] : # ( <td><code>AUC</code></td> )
202-
203- [ // ] : # ( </tr> )
204-
205- [ // ] : # ( <tr> )
206-
207- [ // ] : # ( <td align="center">3</td> )
208-
209- [ // ] : # ( <td><code>ROC</code></td> )
210-
211- [ // ] : # ( </tr> )
212-
213- [ // ] : # ( <tr> )
214-
215- [ // ] : # ( <td align="center">4</td> )
216-
217- [ // ] : # ( <td><code>returns fpr*</code></td> )
218-
219- [ // ] : # ( </tr> )
220-
221- [ // ] : # ( <tr> )
222-
223- [ // ] : # ( <td align="center">5</td> )
224-
225- [ // ] : # ( <td><code>returns tpr*</code></td> )
226-
227- [ // ] : # ( </tr> )
228-
229- [ // ] : # ( </table> )
230-
231- [ // ] : # ( </div> )
232-
233174[ // ] : # ( )
234175[ // ] : # ( > * For further usages and calculating different metrics )
235176
@@ -238,98 +179,6 @@ if __name__ == '__main__':
238179
239180[ // ] : # ( <p>Your dataset should be in the following format ( ; Exclude the 'Row' column) ; :</p> )
240181
241- [ // ] : # ( )
242- [ // ] : # ( <div> )
243-
244- [ // ] : # ( <table> )
245-
246- [ // ] : # ( <caption><b>Sample edges ( ; links) ; dataset</b></caption> )
247-
248- [ // ] : # ( <tr> )
249-
250- [ // ] : # ( <td><b>Row</b></td> )
251-
252- [ // ] : # ( <td align="center"><b>left_side</b></td> )
253-
254- [ // ] : # ( <td align="center"><b>right_side</b></td> )
255-
256- [ // ] : # ( <td align="center"><b>Weight*</b></td> )
257-
258- [ // ] : # ( </tr> )
259-
260- [ // ] : # ( <tr> )
261-
262- [ // ] : # ( <td align="center">1</td> )
263-
264- [ // ] : # ( <td><code>u0</code></td> )
265-
266- [ // ] : # ( <td><code>v1</code></td> )
267-
268- [ // ] : # ( <td>1</td> )
269-
270- [ // ] : # ( </tr> )
271-
272- [ // ] : # ( <tr> )
273-
274- [ // ] : # ( <td align="center">2</td> )
275-
276- [ // ] : # ( <td><code>u2</code></td> )
277-
278- [ // ] : # ( <td><code>v1</code></td> )
279-
280- [ // ] : # ( <td>1</td> )
281-
282- [ // ] : # ( </tr> )
283-
284- [ // ] : # ( <tr> )
285-
286- [ // ] : # ( <td align="center">3</td> )
287-
288- [ // ] : # ( <td><code>u1</code></td> )
289-
290- [ // ] : # ( <td><code>v2</code></td> )
291-
292- [ // ] : # ( <td>1</td> )
293-
294- [ // ] : # ( </tr> )
295-
296- [ // ] : # ( <tr> )
297-
298- [ // ] : # ( <td align="center">4</td> )
299-
300- [ // ] : # ( <td><code>u3</code></td> )
301-
302- [ // ] : # ( <td><code>v3</code></td> )
303-
304- [ // ] : # ( <td>1</td> )
305-
306- [ // ] : # ( </tr> )
307-
308- [ // ] : # ( <tr> )
309-
310- [ // ] : # ( <td align="center">5</td> )
311-
312- [ // ] : # ( <td><code>u4</code></td> )
313-
314- [ // ] : # ( <td><code>v3</code></td> )
315-
316- [ // ] : # ( <td>2</td> )
317-
318- [ // ] : # ( </tr> )
319-
320- [ // ] : # ( </table> )
321-
322- [ // ] : # ( </div> )
323-
324- [ // ] : # ( )
325- [ // ] : # ( > * Note that running <pre> )
326-
327- [ // ] : # ( <code>from bigraph.preprocessing import import_files df, df_nodes = import_files( ;) ; </code></pre>will create a sample graph for you and will place it in the )
328-
329- [ // ] : # ( <code>inputs</code> directory. )
330-
331- [ // ] : # ( > * Although the weight has not been involved in current version, but, the format will be the same. )
332-
333182<h3 >More examples</h3 >
334183<p >Embedding wordnet11 graph using
335184<code ><b >DistMult</b ></code > model:</p >
0 commit comments