Synapseml
1.0.2
|
ImageFeaturizer implements ImageFeaturizer More...
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 | SetAutoConvertToColor (bool value) |
Sets value for autoConvertToColor More... | |
ImageFeaturizer | SetChannelNormalizationMeans (double[] value) |
Sets value for channelNormalizationMeans More... | |
ImageFeaturizer | SetChannelNormalizationStds (double[] value) |
Sets value for channelNormalizationStds More... | |
ImageFeaturizer | SetColorScaleFactor (double value) |
Sets value for colorScaleFactor More... | |
ImageFeaturizer | SetDropNa (bool value) |
Sets value for dropNa More... | |
ImageFeaturizer | SetFeatureTensorName (string value) |
Sets value for featureTensorName More... | |
ImageFeaturizer | SetHeadless (bool value) |
Sets value for headless More... | |
ImageFeaturizer | SetIgnoreDecodingErrors (bool value) |
Sets value for ignoreDecodingErrors More... | |
ImageFeaturizer | SetImageHeight (int value) |
Sets value for imageHeight More... | |
ImageFeaturizer | SetImageTensorName (string value) |
Sets value for imageTensorName More... | |
ImageFeaturizer | SetImageWidth (int value) |
Sets value for imageWidth More... | |
ImageFeaturizer | SetInputCol (string value) |
Sets value for inputCol More... | |
ImageFeaturizer | SetOnnxModel (JavaTransformer value) |
Sets value for onnxModel More... | |
ImageFeaturizer | SetOutputCol (string value) |
Sets value for outputCol More... | |
ImageFeaturizer | SetOutputTensorName (string value) |
Sets value for outputTensorName More... | |
bool | GetAutoConvertToColor () |
Gets autoConvertToColor value More... | |
double[] | GetChannelNormalizationMeans () |
Gets channelNormalizationMeans value More... | |
double[] | GetChannelNormalizationStds () |
Gets channelNormalizationStds value More... | |
double | GetColorScaleFactor () |
Gets colorScaleFactor value More... | |
bool | GetDropNa () |
Gets dropNa value More... | |
string | GetFeatureTensorName () |
Gets featureTensorName value More... | |
bool | GetHeadless () |
Gets headless value More... | |
bool | GetIgnoreDecodingErrors () |
Gets ignoreDecodingErrors value More... | |
int | GetImageHeight () |
Gets imageHeight value More... | |
string | GetImageTensorName () |
Gets imageTensorName value More... | |
int | GetImageWidth () |
Gets imageWidth value More... | |
string | GetInputCol () |
Gets inputCol value More... | |
JavaTransformer | GetOnnxModel () |
Gets onnxModel value More... | |
string | GetOutputCol () |
Gets outputCol value More... | |
string | GetOutputTensorName () |
Gets outputTensorName 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 () |
| |
JavaMLReader< ImageFeaturizer > | Read () |
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... | |
ImageFeaturizer implements ImageFeaturizer
|
inline |
Creates a ImageFeaturizer without any parameters.
|
inline |
Creates a ImageFeaturizer with a UID that is used to give the ImageFeaturizer a unique ID.
uid | An immutable unique ID for the object and its derivatives. |
bool Synapse.ML.Onnx.ImageFeaturizer.GetAutoConvertToColor | ( | ) |
Gets autoConvertToColor value
double [] Synapse.ML.Onnx.ImageFeaturizer.GetChannelNormalizationMeans | ( | ) |
Gets channelNormalizationMeans value
double [] Synapse.ML.Onnx.ImageFeaturizer.GetChannelNormalizationStds | ( | ) |
Gets channelNormalizationStds value
double Synapse.ML.Onnx.ImageFeaturizer.GetColorScaleFactor | ( | ) |
Gets colorScaleFactor value
bool Synapse.ML.Onnx.ImageFeaturizer.GetDropNa | ( | ) |
Gets dropNa value
string Synapse.ML.Onnx.ImageFeaturizer.GetFeatureTensorName | ( | ) |
Gets featureTensorName value
bool Synapse.ML.Onnx.ImageFeaturizer.GetHeadless | ( | ) |
Gets headless value
bool Synapse.ML.Onnx.ImageFeaturizer.GetIgnoreDecodingErrors | ( | ) |
Gets ignoreDecodingErrors value
int Synapse.ML.Onnx.ImageFeaturizer.GetImageHeight | ( | ) |
Gets imageHeight value
string Synapse.ML.Onnx.ImageFeaturizer.GetImageTensorName | ( | ) |
Gets imageTensorName value
int Synapse.ML.Onnx.ImageFeaturizer.GetImageWidth | ( | ) |
Gets imageWidth value
string Synapse.ML.Onnx.ImageFeaturizer.GetInputCol | ( | ) |
Gets inputCol value
|
inline |
Gets onnxModel value
string Synapse.ML.Onnx.ImageFeaturizer.GetOutputCol | ( | ) |
Gets outputCol value
string Synapse.ML.Onnx.ImageFeaturizer.GetOutputTensorName | ( | ) |
Gets outputTensorName value
|
static |
Loads the ImageFeaturizer that was previously saved using Save(string).
path | The path the previous ImageFeaturizer was saved to |
JavaMLReader<ImageFeaturizer> Synapse.ML.Onnx.ImageFeaturizer.Read | ( | ) |
Get the corresponding JavaMLReader instance.
void Synapse.ML.Onnx.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.
path | The path to save the object to |
ImageFeaturizer Synapse.ML.Onnx.ImageFeaturizer.SetAutoConvertToColor | ( | bool | value | ) |
Sets value for autoConvertToColor
value | Whether to automatically convert black and white images to color. default = true |
ImageFeaturizer Synapse.ML.Onnx.ImageFeaturizer.SetChannelNormalizationMeans | ( | double[] | value | ) |
Sets value for channelNormalizationMeans
value | Normalization means for color channels |
ImageFeaturizer Synapse.ML.Onnx.ImageFeaturizer.SetChannelNormalizationStds | ( | double[] | value | ) |
Sets value for channelNormalizationStds
value | Normalization std's for color channels |
ImageFeaturizer Synapse.ML.Onnx.ImageFeaturizer.SetColorScaleFactor | ( | double | value | ) |
Sets value for colorScaleFactor
value | Color scale factor |
ImageFeaturizer Synapse.ML.Onnx.ImageFeaturizer.SetDropNa | ( | bool | value | ) |
Sets value for dropNa
value | Whether to drop na values before mapping |
ImageFeaturizer Synapse.ML.Onnx.ImageFeaturizer.SetFeatureTensorName | ( | string | value | ) |
Sets value for featureTensorName
value | the name of the tensor to include in the fetch dict |
ImageFeaturizer Synapse.ML.Onnx.ImageFeaturizer.SetHeadless | ( | bool | value | ) |
Sets value for headless
value | whether to use the feature tensor or the output tensor |
ImageFeaturizer Synapse.ML.Onnx.ImageFeaturizer.SetIgnoreDecodingErrors | ( | bool | value | ) |
Sets value for ignoreDecodingErrors
value | Whether to throw on decoding errors or just return None |
ImageFeaturizer Synapse.ML.Onnx.ImageFeaturizer.SetImageHeight | ( | int | value | ) |
ImageFeaturizer Synapse.ML.Onnx.ImageFeaturizer.SetImageTensorName | ( | string | value | ) |
Sets value for imageTensorName
value | the name of the tensor to include in the fetch dict |
ImageFeaturizer Synapse.ML.Onnx.ImageFeaturizer.SetImageWidth | ( | int | value | ) |
ImageFeaturizer Synapse.ML.Onnx.ImageFeaturizer.SetInputCol | ( | string | value | ) |
Sets value for inputCol
value | The name of the input column |
ImageFeaturizer Synapse.ML.Onnx.ImageFeaturizer.SetOnnxModel | ( | JavaTransformer | value | ) |
Sets value for onnxModel
value | The internal ONNX model used in the featurizer |
ImageFeaturizer Synapse.ML.Onnx.ImageFeaturizer.SetOutputCol | ( | string | value | ) |
Sets value for outputCol
value | The name of the output column |
ImageFeaturizer Synapse.ML.Onnx.ImageFeaturizer.SetOutputTensorName | ( | string | value | ) |
Sets value for outputTensorName
value | the name of the tensor to include in the fetch dict |