Synapseml
0.11.2
|
ImageSHAP implements ImageSHAP More...
Public Member Functions | |
ImageSHAP () | |
Creates a ImageSHAP without any parameters. More... | |
ImageSHAP (string uid) | |
Creates a ImageSHAP with a UID that is used to give the ImageSHAP a unique ID. More... | |
ImageSHAP | SetCellSize (double value) |
Sets value for cellSize More... | |
ImageSHAP | SetInfWeight (double value) |
Sets value for infWeight More... | |
ImageSHAP | SetInputCol (string value) |
Sets value for inputCol More... | |
ImageSHAP | SetMetricsCol (string value) |
Sets value for metricsCol More... | |
ImageSHAP | SetModel (JavaTransformer value) |
Sets value for model More... | |
ImageSHAP | SetModifier (double value) |
Sets value for modifier More... | |
ImageSHAP | SetNumSamples (int value) |
Sets value for numSamples More... | |
ImageSHAP | SetOutputCol (string value) |
Sets value for outputCol More... | |
ImageSHAP | SetSuperpixelCol (string value) |
Sets value for superpixelCol More... | |
ImageSHAP | SetTargetClasses (int[] value) |
Sets value for targetClasses More... | |
ImageSHAP | SetTargetClassesCol (string value) |
Sets value for targetClassesCol More... | |
ImageSHAP | SetTargetCol (string value) |
Sets value for targetCol More... | |
double | GetCellSize () |
Gets cellSize value More... | |
double | GetInfWeight () |
Gets infWeight value More... | |
string | GetInputCol () |
Gets inputCol 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... | |
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< ImageSHAP > | Read () |
Get the corresponding JavaMLReader instance. More... | |
Static Public Member Functions | |
static ImageSHAP | Load (string path) |
Loads the ImageSHAP that was previously saved using Save(string). More... | |
|
inline |
Creates a ImageSHAP without any parameters.
|
inline |
double Synapse.ML.Explainers.ImageSHAP.GetCellSize | ( | ) |
Gets cellSize value
double Synapse.ML.Explainers.ImageSHAP.GetInfWeight | ( | ) |
Gets infWeight value
string Synapse.ML.Explainers.ImageSHAP.GetInputCol | ( | ) |
Gets inputCol value
string Synapse.ML.Explainers.ImageSHAP.GetMetricsCol | ( | ) |
Gets metricsCol value
|
inline |
Gets model value
double Synapse.ML.Explainers.ImageSHAP.GetModifier | ( | ) |
Gets modifier value
int Synapse.ML.Explainers.ImageSHAP.GetNumSamples | ( | ) |
Gets numSamples value
string Synapse.ML.Explainers.ImageSHAP.GetOutputCol | ( | ) |
Gets outputCol value
string Synapse.ML.Explainers.ImageSHAP.GetSuperpixelCol | ( | ) |
Gets superpixelCol value
int [] Synapse.ML.Explainers.ImageSHAP.GetTargetClasses | ( | ) |
Gets targetClasses value
string Synapse.ML.Explainers.ImageSHAP.GetTargetClassesCol | ( | ) |
Gets targetClassesCol value
string Synapse.ML.Explainers.ImageSHAP.GetTargetCol | ( | ) |
Gets targetCol value
|
static |
Loads the ImageSHAP that was previously saved using Save(string).
path | The path the previous ImageSHAP was saved to |
JavaMLReader<ImageSHAP> Synapse.ML.Explainers.ImageSHAP.Read | ( | ) |
Get the corresponding JavaMLReader instance.
void Synapse.ML.Explainers.ImageSHAP.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 |
ImageSHAP Synapse.ML.Explainers.ImageSHAP.SetCellSize | ( | double | value | ) |
Sets value for cellSize
value | Number that controls the size of the superpixels |
ImageSHAP Synapse.ML.Explainers.ImageSHAP.SetInfWeight | ( | double | value | ) |
Sets value for infWeight
value | The double value to represent infinite weight. Default: 1E8. |
ImageSHAP Synapse.ML.Explainers.ImageSHAP.SetInputCol | ( | string | value | ) |
ImageSHAP Synapse.ML.Explainers.ImageSHAP.SetMetricsCol | ( | string | value | ) |
Sets value for metricsCol
value | Column name for fitting metrics |
ImageSHAP Synapse.ML.Explainers.ImageSHAP.SetModel | ( | JavaTransformer | value | ) |
ImageSHAP Synapse.ML.Explainers.ImageSHAP.SetModifier | ( | double | value | ) |
Sets value for modifier
value | Controls the trade-off spatial and color distance |
ImageSHAP Synapse.ML.Explainers.ImageSHAP.SetNumSamples | ( | int | value | ) |
Sets value for numSamples
value | Number of samples to generate. |
ImageSHAP Synapse.ML.Explainers.ImageSHAP.SetOutputCol | ( | string | value | ) |
ImageSHAP Synapse.ML.Explainers.ImageSHAP.SetSuperpixelCol | ( | string | value | ) |
Sets value for superpixelCol
value | The column holding the superpixel decompositions |
ImageSHAP Synapse.ML.Explainers.ImageSHAP.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. |
ImageSHAP Synapse.ML.Explainers.ImageSHAP.SetTargetClassesCol | ( | string | value | ) |
Sets value for targetClassesCol
value | The name of the column that specifies the indices of the classes for multinomial classification models. |
ImageSHAP Synapse.ML.Explainers.ImageSHAP.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 |