TabularSHAP implements TabularSHAP
More...
◆ TabularSHAP() [1/2]
Synapse.ML.Explainers.TabularSHAP.TabularSHAP |
( |
| ) |
|
|
inline |
◆ TabularSHAP() [2/2]
Synapse.ML.Explainers.TabularSHAP.TabularSHAP |
( |
string |
uid | ) |
|
|
inline |
Creates a TabularSHAP with a UID that is used to give the TabularSHAP a unique ID.
- Parameters
-
uid | An immutable unique ID for the object and its derivatives. |
◆ GetBackgroundData()
DataFrame Synapse.ML.Explainers.TabularSHAP.GetBackgroundData |
( |
| ) |
|
Gets backgroundData value
- Returns
- backgroundData: A dataframe containing background data
◆ GetInfWeight()
double Synapse.ML.Explainers.TabularSHAP.GetInfWeight |
( |
| ) |
|
Gets infWeight value
- Returns
- infWeight: The double value to represent infinite weight. Default: 1E8.
◆ GetInputCols()
string [] Synapse.ML.Explainers.TabularSHAP.GetInputCols |
( |
| ) |
|
Gets inputCols value
- Returns
- inputCols: input column names
◆ GetMetricsCol()
string Synapse.ML.Explainers.TabularSHAP.GetMetricsCol |
( |
| ) |
|
Gets metricsCol value
- Returns
- metricsCol: Column name for fitting metrics
◆ GetModel()
JavaTransformer Synapse.ML.Explainers.TabularSHAP.GetModel |
( |
| ) |
|
|
inline |
Gets model value
- Returns
- model: The model to be interpreted.
◆ GetNumSamples()
int Synapse.ML.Explainers.TabularSHAP.GetNumSamples |
( |
| ) |
|
Gets numSamples value
- Returns
- numSamples: Number of samples to generate.
◆ GetOutputCol()
string Synapse.ML.Explainers.TabularSHAP.GetOutputCol |
( |
| ) |
|
Gets outputCol value
- Returns
- outputCol: output column name
◆ GetTargetClasses()
int [] Synapse.ML.Explainers.TabularSHAP.GetTargetClasses |
( |
| ) |
|
Gets targetClasses value
- Returns
- targetClasses: The indices of the classes for multinomial classification models. Default: 0.For regression models this parameter is ignored.
◆ GetTargetClassesCol()
string Synapse.ML.Explainers.TabularSHAP.GetTargetClassesCol |
( |
| ) |
|
Gets targetClassesCol value
- Returns
- targetClassesCol: The name of the column that specifies the indices of the classes for multinomial classification models.
◆ GetTargetCol()
string Synapse.ML.Explainers.TabularSHAP.GetTargetCol |
( |
| ) |
|
Gets targetCol value
- Returns
- targetCol: 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
◆ Load()
static TabularSHAP Synapse.ML.Explainers.TabularSHAP.Load |
( |
string |
path | ) |
|
|
static |
◆ Read()
JavaMLReader<TabularSHAP> Synapse.ML.Explainers.TabularSHAP.Read |
( |
| ) |
|
Get the corresponding JavaMLReader instance.
- Returns
- an JavaMLReader<TabularSHAP> instance for this ML instance.
◆ Save()
void Synapse.ML.Explainers.TabularSHAP.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
-
path | The path to save the object to |
◆ SetBackgroundData()
TabularSHAP Synapse.ML.Explainers.TabularSHAP.SetBackgroundData |
( |
DataFrame |
value | ) |
|
Sets value for backgroundData
- Parameters
-
value | A dataframe containing background data |
- Returns
- New TabularSHAP object
◆ SetInfWeight()
TabularSHAP Synapse.ML.Explainers.TabularSHAP.SetInfWeight |
( |
double |
value | ) |
|
Sets value for infWeight
- Parameters
-
value | The double value to represent infinite weight. Default: 1E8. |
- Returns
- New TabularSHAP object
◆ SetInputCols()
TabularSHAP Synapse.ML.Explainers.TabularSHAP.SetInputCols |
( |
string[] |
value | ) |
|
Sets value for inputCols
- Parameters
-
- Returns
- New TabularSHAP object
◆ SetMetricsCol()
TabularSHAP Synapse.ML.Explainers.TabularSHAP.SetMetricsCol |
( |
string |
value | ) |
|
Sets value for metricsCol
- Parameters
-
value | Column name for fitting metrics |
- Returns
- New TabularSHAP object
◆ SetModel()
TabularSHAP Synapse.ML.Explainers.TabularSHAP.SetModel |
( |
JavaTransformer |
value | ) |
|
Sets value for model
- Parameters
-
value | The model to be interpreted. |
- Returns
- New TabularSHAP object
◆ SetNumSamples()
TabularSHAP Synapse.ML.Explainers.TabularSHAP.SetNumSamples |
( |
int |
value | ) |
|
Sets value for numSamples
- Parameters
-
value | Number of samples to generate. |
- Returns
- New TabularSHAP object
◆ SetOutputCol()
TabularSHAP Synapse.ML.Explainers.TabularSHAP.SetOutputCol |
( |
string |
value | ) |
|
Sets value for outputCol
- Parameters
-
- Returns
- New TabularSHAP object
◆ SetTargetClasses()
TabularSHAP Synapse.ML.Explainers.TabularSHAP.SetTargetClasses |
( |
int[] |
value | ) |
|
Sets value for targetClasses
- Parameters
-
value | The indices of the classes for multinomial classification models. Default: 0.For regression models this parameter is ignored. |
- Returns
- New TabularSHAP object
◆ SetTargetClassesCol()
TabularSHAP Synapse.ML.Explainers.TabularSHAP.SetTargetClassesCol |
( |
string |
value | ) |
|
Sets value for targetClassesCol
- Parameters
-
value | The name of the column that specifies the indices of the classes for multinomial classification models. |
- Returns
- New TabularSHAP object
◆ SetTargetCol()
TabularSHAP Synapse.ML.Explainers.TabularSHAP.SetTargetCol |
( |
string |
value | ) |
|
Sets value for targetCol
- Parameters
-
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 |
- Returns
- New TabularSHAP object
The documentation for this class was generated from the following file:
- synapse/ml/explainers/TabularSHAP.cs