Synapseml  0.10.0
Public Member Functions | Static Public Member Functions | List of all members
Synapse.ML.Cognitive.IdentifyFaces Class Reference

IdentifyFaces implements IdentifyFaces More...

Inheritance diagram for Synapse.ML.Cognitive.IdentifyFaces:
Inheritance graph
[legend]
Collaboration diagram for Synapse.ML.Cognitive.IdentifyFaces:
Collaboration graph
[legend]

Public Member Functions

 IdentifyFaces ()
 Creates a IdentifyFaces without any parameters. More...
 
 IdentifyFaces (string uid)
 Creates a IdentifyFaces with a UID that is used to give the IdentifyFaces a unique ID. More...
 
IdentifyFaces SetConcurrency (int value)
 Sets value for concurrency More...
 
IdentifyFaces SetConcurrentTimeout (double value)
 Sets value for concurrentTimeout More...
 
IdentifyFaces SetConfidenceThreshold (double value)
 Sets value for confidenceThreshold More...
 
IdentifyFaces SetConfidenceThresholdCol (string value)
 Sets value for confidenceThreshold column More...
 
IdentifyFaces SetErrorCol (string value)
 Sets value for errorCol More...
 
IdentifyFaces SetFaceIds (string[] value)
 Sets value for faceIds More...
 
IdentifyFaces SetFaceIdsCol (string value)
 Sets value for faceIds column More...
 
IdentifyFaces SetHandler (object value)
 Sets value for handler More...
 
IdentifyFaces SetLargePersonGroupId (string value)
 Sets value for largePersonGroupId More...
 
IdentifyFaces SetLargePersonGroupIdCol (string value)
 Sets value for largePersonGroupId column More...
 
IdentifyFaces SetMaxNumOfCandidatesReturned (int value)
 Sets value for maxNumOfCandidatesReturned More...
 
IdentifyFaces SetMaxNumOfCandidatesReturnedCol (string value)
 Sets value for maxNumOfCandidatesReturned column More...
 
IdentifyFaces SetOutputCol (string value)
 Sets value for outputCol More...
 
IdentifyFaces SetPersonGroupId (string value)
 Sets value for personGroupId More...
 
IdentifyFaces SetPersonGroupIdCol (string value)
 Sets value for personGroupId column More...
 
IdentifyFaces SetSubscriptionKey (string value)
 Sets value for subscriptionKey More...
 
IdentifyFaces SetSubscriptionKeyCol (string value)
 Sets value for subscriptionKey column More...
 
IdentifyFaces SetTimeout (double value)
 Sets value for timeout More...
 
IdentifyFaces SetUrl (string value)
 Sets value for url More...
 
int GetConcurrency ()
 Gets concurrency value More...
 
double GetConcurrentTimeout ()
 Gets concurrentTimeout value More...
 
double GetConfidenceThreshold ()
 Gets confidenceThreshold value More...
 
string GetErrorCol ()
 Gets errorCol value More...
 
string [] GetFaceIds ()
 Gets faceIds value More...
 
object GetHandler ()
 Gets handler value More...
 
string GetLargePersonGroupId ()
 Gets largePersonGroupId value More...
 
int GetMaxNumOfCandidatesReturned ()
 Gets maxNumOfCandidatesReturned value More...
 
string GetOutputCol ()
 Gets outputCol value More...
 
string GetPersonGroupId ()
 Gets personGroupId value More...
 
string GetSubscriptionKey ()
 Gets subscriptionKey value More...
 
double GetTimeout ()
 Gets timeout value More...
 
string GetUrl ()
 Gets url value More...
 
void Save (string path)
 Saves the object so that it can be loaded later using Load. Note that these objects can be shared with Scala by Loading or Saving in Scala. More...
 
JavaMLWriter Write ()
 
Returns
a JavaMLWriter instance for this ML instance.

 
JavaMLReader< IdentifyFacesRead ()
 Get the corresponding JavaMLReader instance. More...
 
IdentifyFaces SetLocation (string value)
 Sets value for location More...
 
IdentifyFaces SetLinkedService (string value)
 Sets value for linkedService More...
 

Static Public Member Functions

static IdentifyFaces Load (string path)
 Loads the IdentifyFaces that was previously saved using Save(string). More...
 

Detailed Description

IdentifyFaces implements IdentifyFaces

Constructor & Destructor Documentation

◆ IdentifyFaces() [1/2]

Synapse.ML.Cognitive.IdentifyFaces.IdentifyFaces ( )
inline

Creates a IdentifyFaces without any parameters.

◆ IdentifyFaces() [2/2]

Synapse.ML.Cognitive.IdentifyFaces.IdentifyFaces ( string  uid)
inline

Creates a IdentifyFaces with a UID that is used to give the IdentifyFaces a unique ID.

Parameters
uidAn immutable unique ID for the object and its derivatives.

Member Function Documentation

◆ GetConcurrency()

int Synapse.ML.Cognitive.IdentifyFaces.GetConcurrency ( )

Gets concurrency value

Returns
concurrency: max number of concurrent calls

◆ GetConcurrentTimeout()

double Synapse.ML.Cognitive.IdentifyFaces.GetConcurrentTimeout ( )

Gets concurrentTimeout value

Returns
concurrentTimeout: max number seconds to wait on futures if concurrency >= 1

◆ GetConfidenceThreshold()

double Synapse.ML.Cognitive.IdentifyFaces.GetConfidenceThreshold ( )

Gets confidenceThreshold value

Returns
confidenceThreshold: Optional parameter.Customized identification confidence threshold, in the range of [0, 1].Advanced user can tweak this value to override defaultinternal threshold for better precision on their scenario data.Note there is no guarantee of this threshold value workingon other data and after algorithm updates.

◆ GetErrorCol()

string Synapse.ML.Cognitive.IdentifyFaces.GetErrorCol ( )

Gets errorCol value

Returns
errorCol: column to hold http errors

◆ GetFaceIds()

string [] Synapse.ML.Cognitive.IdentifyFaces.GetFaceIds ( )

Gets faceIds value

Returns
faceIds: Array of query faces faceIds, created by the Face - Detect. Each of the faces are identified independently. The valid number of faceIds is between [1, 10].

◆ GetHandler()

object Synapse.ML.Cognitive.IdentifyFaces.GetHandler ( )

Gets handler value

Returns
handler: Which strategy to use when handling requests

◆ GetLargePersonGroupId()

string Synapse.ML.Cognitive.IdentifyFaces.GetLargePersonGroupId ( )

Gets largePersonGroupId value

Returns
largePersonGroupId: largePersonGroupId of the target large person group, created by LargePersonGroup - Create. Parameter personGroupId and largePersonGroupId should not be provided at the same time.

◆ GetMaxNumOfCandidatesReturned()

int Synapse.ML.Cognitive.IdentifyFaces.GetMaxNumOfCandidatesReturned ( )

Gets maxNumOfCandidatesReturned value

Returns
maxNumOfCandidatesReturned: The range of maxNumOfCandidatesReturned is between 1 and 100 (default is 10).

◆ GetOutputCol()

string Synapse.ML.Cognitive.IdentifyFaces.GetOutputCol ( )

Gets outputCol value

Returns
outputCol: The name of the output column

◆ GetPersonGroupId()

string Synapse.ML.Cognitive.IdentifyFaces.GetPersonGroupId ( )

Gets personGroupId value

Returns
personGroupId: personGroupId of the target person group, created by PersonGroup - Create. Parameter personGroupId and largePersonGroupId should not be provided at the same time.

◆ GetSubscriptionKey()

string Synapse.ML.Cognitive.IdentifyFaces.GetSubscriptionKey ( )

Gets subscriptionKey value

Returns
subscriptionKey: the API key to use

◆ GetTimeout()

double Synapse.ML.Cognitive.IdentifyFaces.GetTimeout ( )

Gets timeout value

Returns
timeout: number of seconds to wait before closing the connection

◆ GetUrl()

string Synapse.ML.Cognitive.IdentifyFaces.GetUrl ( )

Gets url value

Returns
url: Url of the service

◆ Load()

static IdentifyFaces Synapse.ML.Cognitive.IdentifyFaces.Load ( string  path)
static

Loads the IdentifyFaces that was previously saved using Save(string).

Parameters
pathThe path the previous IdentifyFaces was saved to
Returns
New IdentifyFaces object, loaded from path.

◆ Read()

JavaMLReader<IdentifyFaces> Synapse.ML.Cognitive.IdentifyFaces.Read ( )

Get the corresponding JavaMLReader instance.

Returns
an JavaMLReader<IdentifyFaces> instance for this ML instance.

◆ Save()

void Synapse.ML.Cognitive.IdentifyFaces.Save ( string  path)

Saves the object so that it can be loaded later using Load. Note that these objects can be shared with Scala by Loading or Saving in Scala.

Parameters
pathThe path to save the object to

◆ SetConcurrency()

IdentifyFaces Synapse.ML.Cognitive.IdentifyFaces.SetConcurrency ( int  value)

Sets value for concurrency

Parameters
valuemax number of concurrent calls
Returns
New IdentifyFaces object

◆ SetConcurrentTimeout()

IdentifyFaces Synapse.ML.Cognitive.IdentifyFaces.SetConcurrentTimeout ( double  value)

Sets value for concurrentTimeout

Parameters
valuemax number seconds to wait on futures if concurrency >= 1
Returns
New IdentifyFaces object

◆ SetConfidenceThreshold()

IdentifyFaces Synapse.ML.Cognitive.IdentifyFaces.SetConfidenceThreshold ( double  value)

Sets value for confidenceThreshold

Parameters
valueOptional parameter.Customized identification confidence threshold, in the range of [0, 1].Advanced user can tweak this value to override defaultinternal threshold for better precision on their scenario data.Note there is no guarantee of this threshold value workingon other data and after algorithm updates.
Returns
New IdentifyFaces object

◆ SetConfidenceThresholdCol()

IdentifyFaces Synapse.ML.Cognitive.IdentifyFaces.SetConfidenceThresholdCol ( string  value)

Sets value for confidenceThreshold column

Parameters
valueOptional parameter.Customized identification confidence threshold, in the range of [0, 1].Advanced user can tweak this value to override defaultinternal threshold for better precision on their scenario data.Note there is no guarantee of this threshold value workingon other data and after algorithm updates.
Returns
New IdentifyFaces object

◆ SetErrorCol()

IdentifyFaces Synapse.ML.Cognitive.IdentifyFaces.SetErrorCol ( string  value)

Sets value for errorCol

Parameters
valuecolumn to hold http errors
Returns
New IdentifyFaces object

◆ SetFaceIds()

IdentifyFaces Synapse.ML.Cognitive.IdentifyFaces.SetFaceIds ( string []  value)

Sets value for faceIds

Parameters
valueArray of query faces faceIds, created by the Face - Detect. Each of the faces are identified independently. The valid number of faceIds is between [1, 10].
Returns
New IdentifyFaces object

◆ SetFaceIdsCol()

IdentifyFaces Synapse.ML.Cognitive.IdentifyFaces.SetFaceIdsCol ( string  value)

Sets value for faceIds column

Parameters
valueArray of query faces faceIds, created by the Face - Detect. Each of the faces are identified independently. The valid number of faceIds is between [1, 10].
Returns
New IdentifyFaces object

◆ SetHandler()

IdentifyFaces Synapse.ML.Cognitive.IdentifyFaces.SetHandler ( object  value)

Sets value for handler

Parameters
valueWhich strategy to use when handling requests
Returns
New IdentifyFaces object

◆ SetLargePersonGroupId()

IdentifyFaces Synapse.ML.Cognitive.IdentifyFaces.SetLargePersonGroupId ( string  value)

Sets value for largePersonGroupId

Parameters
valuelargePersonGroupId of the target large person group, created by LargePersonGroup - Create. Parameter personGroupId and largePersonGroupId should not be provided at the same time.
Returns
New IdentifyFaces object

◆ SetLargePersonGroupIdCol()

IdentifyFaces Synapse.ML.Cognitive.IdentifyFaces.SetLargePersonGroupIdCol ( string  value)

Sets value for largePersonGroupId column

Parameters
valuelargePersonGroupId of the target large person group, created by LargePersonGroup - Create. Parameter personGroupId and largePersonGroupId should not be provided at the same time.
Returns
New IdentifyFaces object

◆ SetLinkedService()

IdentifyFaces Synapse.ML.Cognitive.IdentifyFaces.SetLinkedService ( string  value)

Sets value for linkedService

Parameters
valuelinkedService name
Returns
New IdentifyFaces object

◆ SetLocation()

IdentifyFaces Synapse.ML.Cognitive.IdentifyFaces.SetLocation ( string  value)

Sets value for location

Parameters
valueLocation of the cognitive service
Returns
New IdentifyFaces object

◆ SetMaxNumOfCandidatesReturned()

IdentifyFaces Synapse.ML.Cognitive.IdentifyFaces.SetMaxNumOfCandidatesReturned ( int  value)

Sets value for maxNumOfCandidatesReturned

Parameters
valueThe range of maxNumOfCandidatesReturned is between 1 and 100 (default is 10).
Returns
New IdentifyFaces object

◆ SetMaxNumOfCandidatesReturnedCol()

IdentifyFaces Synapse.ML.Cognitive.IdentifyFaces.SetMaxNumOfCandidatesReturnedCol ( string  value)

Sets value for maxNumOfCandidatesReturned column

Parameters
valueThe range of maxNumOfCandidatesReturned is between 1 and 100 (default is 10).
Returns
New IdentifyFaces object

◆ SetOutputCol()

IdentifyFaces Synapse.ML.Cognitive.IdentifyFaces.SetOutputCol ( string  value)

Sets value for outputCol

Parameters
valueThe name of the output column
Returns
New IdentifyFaces object

◆ SetPersonGroupId()

IdentifyFaces Synapse.ML.Cognitive.IdentifyFaces.SetPersonGroupId ( string  value)

Sets value for personGroupId

Parameters
valuepersonGroupId of the target person group, created by PersonGroup - Create. Parameter personGroupId and largePersonGroupId should not be provided at the same time.
Returns
New IdentifyFaces object

◆ SetPersonGroupIdCol()

IdentifyFaces Synapse.ML.Cognitive.IdentifyFaces.SetPersonGroupIdCol ( string  value)

Sets value for personGroupId column

Parameters
valuepersonGroupId of the target person group, created by PersonGroup - Create. Parameter personGroupId and largePersonGroupId should not be provided at the same time.
Returns
New IdentifyFaces object

◆ SetSubscriptionKey()

IdentifyFaces Synapse.ML.Cognitive.IdentifyFaces.SetSubscriptionKey ( string  value)

Sets value for subscriptionKey

Parameters
valuethe API key to use
Returns
New IdentifyFaces object

◆ SetSubscriptionKeyCol()

IdentifyFaces Synapse.ML.Cognitive.IdentifyFaces.SetSubscriptionKeyCol ( string  value)

Sets value for subscriptionKey column

Parameters
valuethe API key to use
Returns
New IdentifyFaces object

◆ SetTimeout()

IdentifyFaces Synapse.ML.Cognitive.IdentifyFaces.SetTimeout ( double  value)

Sets value for timeout

Parameters
valuenumber of seconds to wait before closing the connection
Returns
New IdentifyFaces object

◆ SetUrl()

IdentifyFaces Synapse.ML.Cognitive.IdentifyFaces.SetUrl ( string  value)

Sets value for url

Parameters
valueUrl of the service
Returns
New IdentifyFaces object

The documentation for this class was generated from the following file: