Method | Description | |
---|---|---|
CreateAutoCompletionList ( IEnumerable |
||
noSGDLRMNTB ( int multipleNs, int multipleMaxSingleQueryN, int trainAfterNQueriesForPrefix, string queryLogFile, int autoCompleteAfterNChars, |
MultipleNs must be specified in ascending order for the NTBs
|
Method | Description | |
---|---|---|
AutoCompleteQuery ( System.DateTime queryTime, string partialQuery, string fullQuery ) : AutoCompletionList |
Autocomplete a query after n characters
|
Method | Description | |
---|---|---|
BuildFeaturePackage ( BaseIndexEntry prefixEntry, string partialQuery, bool includeQueryCountsFeature = false ) : |
Build the feature package including NTB likelihoods for the specified query. Doesn't include the target likelihood.
|
|
BuildTrainingPackage ( string partialQuery, bool isFirstTrainingPackageForPrefix ) : |
Build the training package for a query prefix
|
|
MakePrediction ( BaseIndexEntry indexEntry, string partialQuery ) : double |
Make prediction using linear regression
|
|
UseTrainingPackage ( |
Apply the training package to the model
|
protected AutoCompleteQuery ( System.DateTime queryTime, string partialQuery, string fullQuery ) : AutoCompletionList | ||
queryTime | System.DateTime | |
partialQuery | string | |
fullQuery | string | |
return | AutoCompletionList |
public CreateAutoCompletionList ( IEnumerable |
||
allPrefixEntries | IEnumerable |
|
defaultMinCutOff | int | |
return | AutoCompletionList |
public noSGDLRMNTB ( int multipleNs, int multipleMaxSingleQueryN, int trainAfterNQueriesForPrefix, string queryLogFile, int autoCompleteAfterNChars, |
||
multipleNs | int | |
multipleMaxSingleQueryN | int | |
trainAfterNQueriesForPrefix | int | How many queries to observe between training the ML model (i.e., predict queries in this window of N - OR: 'the prediction horizon'). Note the model won't start training until after (largest NTB size) + (trainAfter parameter) has been reached |
queryLogFile | string | |
autoCompleteAfterNChars | int | |
evalOutput | ||
queryPrefixProfile | PrefixProfile | |
baseNtbSize | int | |
return | System |