GET api/Concept/ScoreByTypi?instance={instance}&topK={topK}&smooth={smooth}

Get Score by P(e|c)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
instance

The instance you want to get concept and score

string

Required

topK

Top K results

integer

Default value is 10

smooth

decimal number

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Dictionary of string [key] and decimal number [value]

Response Formats

application/json, text/json

Sample:
{
  "sample string 1": 2.1,
  "sample string 3": 4.1
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringdouble xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringdouble>
    <Key>sample string 1</Key>
    <Value>2.1</Value>
  </KeyValueOfstringdouble>
  <KeyValueOfstringdouble>
    <Key>sample string 3</Key>
    <Value>4.1</Value>
  </KeyValueOfstringdouble>
</ArrayOfKeyValueOfstringdouble>