Synapseml
0.10.0
|
ImageLIME implements ImageLIME More...
Public Member Functions | |
ImageLIME () | |
Creates a ImageLIME without any parameters. More... | |
ImageLIME (string uid) | |
Creates a ImageLIME with a UID that is used to give the ImageLIME a unique ID. More... | |
ImageLIME | SetCellSize (double value) |
Sets value for cellSize More... | |
ImageLIME | SetInputCol (string value) |
Sets value for inputCol More... | |
ImageLIME | SetKernelWidth (double value) |
Sets value for kernelWidth More... | |
ImageLIME | SetMetricsCol (string value) |
Sets value for metricsCol More... | |
ImageLIME | SetModel (JavaTransformer value) |
Sets value for model More... | |
ImageLIME | SetModifier (double value) |
Sets value for modifier More... | |
ImageLIME | SetNumSamples (int value) |
Sets value for numSamples More... | |
ImageLIME | SetOutputCol (string value) |
Sets value for outputCol More... | |
ImageLIME | SetRegularization (double value) |
Sets value for regularization More... | |
ImageLIME | SetSamplingFraction (double value) |
Sets value for samplingFraction More... | |
ImageLIME | SetSuperpixelCol (string value) |
Sets value for superpixelCol More... | |
ImageLIME | SetTargetClasses (int[] value) |
Sets value for targetClasses More... | |
ImageLIME | SetTargetClassesCol (string value) |
Sets value for targetClassesCol More... | |
ImageLIME | SetTargetCol (string value) |
Sets value for targetCol More... | |
double | GetCellSize () |
Gets cellSize value More... | |
string | GetInputCol () |
Gets inputCol value More... | |
double | GetKernelWidth () |
Gets kernelWidth value More... | |
string | GetMetricsCol () |
Gets metricsCol value More... | |
JavaTransformer | GetModel () |
Gets model value More... | |
double | GetModifier () |
Gets modifier value More... | |
int | GetNumSamples () |
Gets numSamples value More... | |
string | GetOutputCol () |
Gets outputCol value More... | |
double | GetRegularization () |
Gets regularization value More... | |
double | GetSamplingFraction () |
Gets samplingFraction value More... | |
string | GetSuperpixelCol () |
Gets superpixelCol value More... | |
int [] | GetTargetClasses () |
Gets targetClasses value More... | |
string | GetTargetClassesCol () |
Gets targetClassesCol value More... | |
string | GetTargetCol () |
Gets targetCol 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< ImageLIME > | Read () |
Get the corresponding JavaMLReader instance. More... | |
Static Public Member Functions | |
static ImageLIME | Load (string path) |
Loads the ImageLIME that was previously saved using Save(string). More... | |
|
inline |
Creates a ImageLIME without any parameters.
|
inline |
double Synapse.ML.Explainers.ImageLIME.GetCellSize | ( | ) |
Gets cellSize value
string Synapse.ML.Explainers.ImageLIME.GetInputCol | ( | ) |
Gets inputCol value
double Synapse.ML.Explainers.ImageLIME.GetKernelWidth | ( | ) |
Gets kernelWidth value
string Synapse.ML.Explainers.ImageLIME.GetMetricsCol | ( | ) |
Gets metricsCol value
|
inline |
Gets model value
double Synapse.ML.Explainers.ImageLIME.GetModifier | ( | ) |
Gets modifier value
int Synapse.ML.Explainers.ImageLIME.GetNumSamples | ( | ) |
Gets numSamples value
string Synapse.ML.Explainers.ImageLIME.GetOutputCol | ( | ) |
Gets outputCol value
double Synapse.ML.Explainers.ImageLIME.GetRegularization | ( | ) |
Gets regularization value
double Synapse.ML.Explainers.ImageLIME.GetSamplingFraction | ( | ) |
Gets samplingFraction value
string Synapse.ML.Explainers.ImageLIME.GetSuperpixelCol | ( | ) |
Gets superpixelCol value
int [] Synapse.ML.Explainers.ImageLIME.GetTargetClasses | ( | ) |
Gets targetClasses value
string Synapse.ML.Explainers.ImageLIME.GetTargetClassesCol | ( | ) |
Gets targetClassesCol value
string Synapse.ML.Explainers.ImageLIME.GetTargetCol | ( | ) |
Gets targetCol value
|
static |
Loads the ImageLIME that was previously saved using Save(string).
path | The path the previous ImageLIME was saved to |
JavaMLReader<ImageLIME> Synapse.ML.Explainers.ImageLIME.Read | ( | ) |
Get the corresponding JavaMLReader instance.
void Synapse.ML.Explainers.ImageLIME.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 |
ImageLIME Synapse.ML.Explainers.ImageLIME.SetCellSize | ( | double | value | ) |
Sets value for cellSize
value | Number that controls the size of the superpixels |
ImageLIME Synapse.ML.Explainers.ImageLIME.SetInputCol | ( | string | value | ) |
ImageLIME Synapse.ML.Explainers.ImageLIME.SetKernelWidth | ( | double | value | ) |
Sets value for kernelWidth
value | Kernel width. Default value: sqrt (number of features) * 0.75 |
ImageLIME Synapse.ML.Explainers.ImageLIME.SetMetricsCol | ( | string | value | ) |
Sets value for metricsCol
value | Column name for fitting metrics |
ImageLIME Synapse.ML.Explainers.ImageLIME.SetModel | ( | JavaTransformer | value | ) |
ImageLIME Synapse.ML.Explainers.ImageLIME.SetModifier | ( | double | value | ) |
Sets value for modifier
value | Controls the trade-off spatial and color distance |
ImageLIME Synapse.ML.Explainers.ImageLIME.SetNumSamples | ( | int | value | ) |
Sets value for numSamples
value | Number of samples to generate. |
ImageLIME Synapse.ML.Explainers.ImageLIME.SetOutputCol | ( | string | value | ) |
ImageLIME Synapse.ML.Explainers.ImageLIME.SetRegularization | ( | double | value | ) |
Sets value for regularization
value | Regularization param for the lasso. Default value: 0. |
ImageLIME Synapse.ML.Explainers.ImageLIME.SetSamplingFraction | ( | double | value | ) |
Sets value for samplingFraction
value | The fraction of superpixels (for image) or tokens (for text) to keep on |
ImageLIME Synapse.ML.Explainers.ImageLIME.SetSuperpixelCol | ( | string | value | ) |
Sets value for superpixelCol
value | The column holding the superpixel decompositions |
ImageLIME Synapse.ML.Explainers.ImageLIME.SetTargetClasses | ( | int [] | value | ) |
Sets value for targetClasses
value | The indices of the classes for multinomial classification models. Default: 0.For regression models this parameter is ignored. |
ImageLIME Synapse.ML.Explainers.ImageLIME.SetTargetClassesCol | ( | string | value | ) |
Sets value for targetClassesCol
value | The name of the column that specifies the indices of the classes for multinomial classification models. |
ImageLIME Synapse.ML.Explainers.ImageLIME.SetTargetCol | ( | string | value | ) |
Sets value for targetCol
value | The column name of the prediction target to explain (i.e. the response variable). This is usually set to "prediction" for regression models and "probability" for probabilistic classification models. Default value: probability |