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

ImageFeaturizer implements ImageFeaturizer More...

Inheritance diagram for Synapse.ML.Cntk.ImageFeaturizer:
Inheritance graph
[legend]
Collaboration diagram for Synapse.ML.Cntk.ImageFeaturizer:
Collaboration graph
[legend]

Public Member Functions

 ImageFeaturizer ()
 Creates a ImageFeaturizer without any parameters. More...
 
 ImageFeaturizer (string uid)
 Creates a ImageFeaturizer with a UID that is used to give the ImageFeaturizer a unique ID. More...
 
ImageFeaturizer SetCntkModel (JavaTransformer value)
 Sets value for cntkModel More...
 
ImageFeaturizer SetCutOutputLayers (int value)
 Sets value for cutOutputLayers More...
 
ImageFeaturizer SetDropNa (bool value)
 Sets value for dropNa More...
 
ImageFeaturizer SetInputCol (string value)
 Sets value for inputCol More...
 
ImageFeaturizer SetLayerNames (string[] value)
 Sets value for layerNames More...
 
ImageFeaturizer SetOutputCol (string value)
 Sets value for outputCol More...
 
JavaTransformer GetCntkModel ()
 Gets cntkModel value More...
 
int GetCutOutputLayers ()
 Gets cutOutputLayers value More...
 
bool GetDropNa ()
 Gets dropNa value More...
 
string GetInputCol ()
 Gets inputCol value More...
 
string [] GetLayerNames ()
 Gets layerNames value More...
 
string GetOutputCol ()
 Gets outputCol 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< ImageFeaturizerRead ()
 Get the corresponding JavaMLReader instance. More...
 

Static Public Member Functions

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

Detailed Description

ImageFeaturizer implements ImageFeaturizer

Constructor & Destructor Documentation

◆ ImageFeaturizer() [1/2]

Synapse.ML.Cntk.ImageFeaturizer.ImageFeaturizer ( )
inline

Creates a ImageFeaturizer without any parameters.

◆ ImageFeaturizer() [2/2]

Synapse.ML.Cntk.ImageFeaturizer.ImageFeaturizer ( string  uid)
inline

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

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

Member Function Documentation

◆ GetCntkModel()

JavaTransformer Synapse.ML.Cntk.ImageFeaturizer.GetCntkModel ( )
inline

Gets cntkModel value

Returns
cntkModel: The internal CNTK model used in the featurizer

◆ GetCutOutputLayers()

int Synapse.ML.Cntk.ImageFeaturizer.GetCutOutputLayers ( )

Gets cutOutputLayers value

Returns
cutOutputLayers: The number of layers to cut off the end of the network, 0 leaves the network intact, 1 removes the output layer, etc

◆ GetDropNa()

bool Synapse.ML.Cntk.ImageFeaturizer.GetDropNa ( )

Gets dropNa value

Returns
dropNa: Whether to drop na values before mapping

◆ GetInputCol()

string Synapse.ML.Cntk.ImageFeaturizer.GetInputCol ( )

Gets inputCol value

Returns
inputCol: The name of the input column

◆ GetLayerNames()

string [] Synapse.ML.Cntk.ImageFeaturizer.GetLayerNames ( )

Gets layerNames value

Returns
layerNames: Array with valid CNTK nodes to choose from, the first entries of this array should be closer to the output node

◆ GetOutputCol()

string Synapse.ML.Cntk.ImageFeaturizer.GetOutputCol ( )

Gets outputCol value

Returns
outputCol: The name of the output column

◆ Load()

static ImageFeaturizer Synapse.ML.Cntk.ImageFeaturizer.Load ( string  path)
static

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

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

◆ Read()

JavaMLReader<ImageFeaturizer> Synapse.ML.Cntk.ImageFeaturizer.Read ( )

Get the corresponding JavaMLReader instance.

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

◆ Save()

void Synapse.ML.Cntk.ImageFeaturizer.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

◆ SetCntkModel()

ImageFeaturizer Synapse.ML.Cntk.ImageFeaturizer.SetCntkModel ( JavaTransformer  value)

Sets value for cntkModel

Parameters
valueThe internal CNTK model used in the featurizer
Returns
New ImageFeaturizer object

◆ SetCutOutputLayers()

ImageFeaturizer Synapse.ML.Cntk.ImageFeaturizer.SetCutOutputLayers ( int  value)

Sets value for cutOutputLayers

Parameters
valueThe number of layers to cut off the end of the network, 0 leaves the network intact, 1 removes the output layer, etc
Returns
New ImageFeaturizer object

◆ SetDropNa()

ImageFeaturizer Synapse.ML.Cntk.ImageFeaturizer.SetDropNa ( bool  value)

Sets value for dropNa

Parameters
valueWhether to drop na values before mapping
Returns
New ImageFeaturizer object

◆ SetInputCol()

ImageFeaturizer Synapse.ML.Cntk.ImageFeaturizer.SetInputCol ( string  value)

Sets value for inputCol

Parameters
valueThe name of the input column
Returns
New ImageFeaturizer object

◆ SetLayerNames()

ImageFeaturizer Synapse.ML.Cntk.ImageFeaturizer.SetLayerNames ( string []  value)

Sets value for layerNames

Parameters
valueArray with valid CNTK nodes to choose from, the first entries of this array should be closer to the output node
Returns
New ImageFeaturizer object

◆ SetOutputCol()

ImageFeaturizer Synapse.ML.Cntk.ImageFeaturizer.SetOutputCol ( string  value)

Sets value for outputCol

Parameters
valueThe name of the output column
Returns
New ImageFeaturizer object

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