Skip to content

Commit f1f2c24

Browse files
committed
docs: add metrics pages
1 parent 32472ae commit f1f2c24

File tree

17 files changed

+801
-817
lines changed

17 files changed

+801
-817
lines changed

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- Qualifiers can process `Span` or `Doc` : this feature especially makes it easier to nest qualifiers components in other components
99
- New label_weights parameter in eds.span_classifier`, which allows the user to set per label-value loss weights during training
1010
- New `edsnlp.data.converters.MarkupToDocConverter` to convert Markdown or XML-like markup to documents, which is particularly useful to create annotated documents from scratch (e.g., for testing purposes).
11+
- New [Metrics](https://aphp.github.io/edsnlp/master/metrics/) documentation page to document the available metrics and how to use them.
1112

1213
### Fixed
1314

48.1 KB
Loading

docs/assets/stylesheets/extra.css

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ a.discrete-link {
189189
.sourced-heading > a {
190190
font-size: 1rem;
191191
align-content: center;
192+
white-space: nowrap;
192193
}
193194

194195
.doc-param-details .subdoc {
@@ -207,3 +208,101 @@ a.discrete-link {
207208
margin: 0;
208209
font-weight: normal;
209210
}
211+
212+
/*.chip {
213+
position: relative;
214+
box-sizing: content-box;
215+
display: inline-block;
216+
padding: 2px 1px;
217+
margin: 1px 0px 14px;
218+
border-radius: 6px;
219+
font-style: normal;
220+
background: #dae8fc;
221+
border: 1px solid #6c8ebf;
222+
--border-color: #6c8ebf;
223+
white-space: nowrap;
224+
}
225+
226+
.chip::after {
227+
content: attr(data-chip);
228+
position: absolute;
229+
right: -1px;
230+
background: white;
231+
border: 1px solid var(--border-color);
232+
border-radius: 3px;
233+
line-height: 1;
234+
top: calc(100% - 6px);
235+
box-sizing: border-box;
236+
}*/
237+
238+
.chip {
239+
position: relative;
240+
box-sizing: content-box;
241+
display: inline-block;
242+
padding: 0 0 0 2px;
243+
margin: 1px 0px;
244+
border-radius: 4px;
245+
font-style: normal;
246+
background: #dae8fc;
247+
border: 1px solid #6c8ebf;
248+
--border-color: #6c8ebf;
249+
white-space: nowrap;
250+
}
251+
252+
.chip::after {
253+
content: attr(data-chip);
254+
display: inline-block;
255+
right: -1px;
256+
background: white;
257+
border: 1px solid var(--border-color);
258+
border-radius: 0px 3px 3px 0px;
259+
padding: 0 1px;
260+
margin: -2px -2px -2px 2px;
261+
box-sizing: border-box;
262+
}
263+
264+
.chip.tp {
265+
background-color: #cef8ce;
266+
border-color: #50b950;
267+
--border-color: #50b950;
268+
}
269+
270+
.chip-green {
271+
display: inline-block;
272+
padding: 2px 2px;
273+
margin: 1px 1px;
274+
border-radius: 6px;
275+
font-style: normal;
276+
background: #cef8ce;
277+
border: 1px solid #50b950;
278+
white-space: nowrap;
279+
}
280+
281+
.chip-red {
282+
display: inline-block;
283+
padding: 2px 2px;
284+
margin: 1px 1px;
285+
border-radius: 6px;
286+
font-style: normal;
287+
background: #f8cecc;
288+
border: 1px solid #b95450;
289+
white-space: nowrap
290+
}
291+
292+
.chip.fp, .chip.fn {
293+
background-color: #f8cecc;
294+
border-color: #b95450;
295+
--border-color: #b95450;
296+
}
297+
298+
.chip.na {
299+
display: inline-block;
300+
padding: 2px 2px;
301+
margin: 1px 1px;
302+
border-radius: 6px;
303+
font-style: normal;
304+
background: #efefef;
305+
border: 1px solid #bababa;
306+
color: #bababa;
307+
white-space: nowrap;
308+
}

docs/assets/termynal/termynal.css

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

0 commit comments

Comments
 (0)