Commit 66530f86 authored by Davis King's avatar Davis King

Clarified spec

parent af7aa127
...@@ -99,11 +99,9 @@ namespace dlib ...@@ -99,11 +99,9 @@ namespace dlib
certain types of sub-sequences (e.g. proper names). certain types of sub-sequences (e.g. proper names).
- returns true if all of the following are true and false otherwise: - returns true if all of the following are true and false otherwise:
- is_learning_problem(samples, segments) == true - is_learning_problem(samples, segments) == true
- for all valid i: - for all valid i and j:
- for all valid j: - We interpret segments[i][j] as defining a half open range starting
- We interpret segments[i][j] as defining a half open range with segments[i][j].first and ending just before segments[i][j].second.
starting with segments[i][j].first and ending just before
segments[i][j].second.
- segments[i][j].first < segments[i][j].second - segments[i][j].first < segments[i][j].second
- segments[i][j].second <= samples[i].size() - segments[i][j].second <= samples[i].size()
(i.e. Each segment must be contained within its associated sequence) (i.e. Each segment must be contained within its associated sequence)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment