Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add quality report on the random noisy dataset
Signed-off-by: Waren Long <waren@sourced.tech>
- Loading branch information
Waren Long
committed
Dec 3, 2018
1 parent
34f0595
commit 286b551
Showing
4 changed files
with
108 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
lookout/style/format/templates/noisy_quality_report.md.jinja2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
# Quality report on the artificial noisy dataset | ||
|
||
### Rules filtering thresholds | ||
|
||
* `{{ "Confidence: %s" % (confidence_threshold) }}` {{ "\n" }} | ||
* `{{ "Support: %s" % (support_threshold) }}` | ||
|
||
### Metrics table for the *jquery/jquery* repository | ||
|
||
| number of mistakes | recall at threshold precision | precision at max recall | max recall | min precision | Number of rules | | ||
|:------------------:|:-----------------------------:|:-----------------------:|:-----------:|:-------------:|:----------------------------------------------:| | ||
| {{n_mistakes}} | {{rec_threshold_prec}} | {{prec_max_rec}} | {{max_rec}} | {{min_prec}} | `{{ "%s / %s" % (n_rules_filtered, n_rules)}}` | | ||
|
||
![Precision-Racall curve]({{path_to_figure}}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters