mirror of https://github.com/licensee/licensee.git
update to new default confidence threshold
This commit is contained in:
parent
24b216861b
commit
3ee6322a37
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
### Adjusting the confidence threshold
|
### Adjusting the confidence threshold
|
||||||
|
|
||||||
If you'd like, you can make Licensee less stringent in its comparison, but risk getting false positives as a result. The confidence threshold is an integer between 1 and 100, with the default being 95, meaning that License is at least 95% confident that the file represents the matched license.
|
If you'd like, you can make Licensee less stringent in its comparison, but risk getting false positives as a result. The confidence threshold is an integer between 1 and 100, with the default being 98, meaning that License is at least 98% confident that the file represents the matched license.
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
LICENSEE.confidence_threshold
|
LICENSEE.confidence_threshold
|
||||||
=> 95
|
=> 98
|
||||||
|
|
||||||
LICENSEE.confidence_threshold = 90
|
LICENSEE.confidence_threshold = 90
|
||||||
=> 90
|
=> 90
|
||||||
|
|
Loading…
Reference in New Issue