|
Synapseml
0.10.0
|
TabularLIME implements TabularLIME More...


Public Member Functions | |
| TabularLIME () | |
| Creates a TabularLIME without any parameters. More... | |
| TabularLIME (string uid) | |
| Creates a TabularLIME with a UID that is used to give the TabularLIME a unique ID. More... | |
| TabularLIME | SetBackgroundData (DataFrame value) |
| Sets value for backgroundData More... | |
| TabularLIME | SetCategoricalFeatures (string[] value) |
| Sets value for categoricalFeatures More... | |
| TabularLIME | SetInputCols (string[] value) |
| Sets value for inputCols More... | |
| TabularLIME | SetKernelWidth (double value) |
| Sets value for kernelWidth More... | |
| TabularLIME | SetMetricsCol (string value) |
| Sets value for metricsCol More... | |
| TabularLIME | SetModel (JavaTransformer value) |
| Sets value for model More... | |
| TabularLIME | SetNumSamples (int value) |
| Sets value for numSamples More... | |
| TabularLIME | SetOutputCol (string value) |
| Sets value for outputCol More... | |
| TabularLIME | SetRegularization (double value) |
| Sets value for regularization More... | |
| TabularLIME | SetTargetClasses (int[] value) |
| Sets value for targetClasses More... | |
| TabularLIME | SetTargetClassesCol (string value) |
| Sets value for targetClassesCol More... | |
| TabularLIME | SetTargetCol (string value) |
| Sets value for targetCol More... | |
| DataFrame | GetBackgroundData () |
| Gets backgroundData value More... | |
| string [] | GetCategoricalFeatures () |
| Gets categoricalFeatures value More... | |
| string [] | GetInputCols () |
| Gets inputCols value More... | |
| double | GetKernelWidth () |
| Gets kernelWidth value More... | |
| string | GetMetricsCol () |
| Gets metricsCol value More... | |
| JavaTransformer | GetModel () |
| Gets model value More... | |
| int | GetNumSamples () |
| Gets numSamples value More... | |
| string | GetOutputCol () |
| Gets outputCol value More... | |
| double | GetRegularization () |
| Gets regularization 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< TabularLIME > | Read () |
| Get the corresponding JavaMLReader instance. More... | |
Static Public Member Functions | |
| static TabularLIME | Load (string path) |
| Loads the TabularLIME that was previously saved using Save(string). More... | |
TabularLIME implements TabularLIME
|
inline |
Creates a TabularLIME without any parameters.
|
inline |
Creates a TabularLIME with a UID that is used to give the TabularLIME a unique ID.
| uid | An immutable unique ID for the object and its derivatives. |
| DataFrame Synapse.ML.Explainers.TabularLIME.GetBackgroundData | ( | ) |
Gets backgroundData value
| string [] Synapse.ML.Explainers.TabularLIME.GetCategoricalFeatures | ( | ) |
Gets categoricalFeatures value
| string [] Synapse.ML.Explainers.TabularLIME.GetInputCols | ( | ) |
Gets inputCols value
| double Synapse.ML.Explainers.TabularLIME.GetKernelWidth | ( | ) |
Gets kernelWidth value
| string Synapse.ML.Explainers.TabularLIME.GetMetricsCol | ( | ) |
Gets metricsCol value
|
inline |
Gets model value
| int Synapse.ML.Explainers.TabularLIME.GetNumSamples | ( | ) |
Gets numSamples value
| string Synapse.ML.Explainers.TabularLIME.GetOutputCol | ( | ) |
Gets outputCol value
| double Synapse.ML.Explainers.TabularLIME.GetRegularization | ( | ) |
Gets regularization value
| int [] Synapse.ML.Explainers.TabularLIME.GetTargetClasses | ( | ) |
Gets targetClasses value
| string Synapse.ML.Explainers.TabularLIME.GetTargetClassesCol | ( | ) |
Gets targetClassesCol value
| string Synapse.ML.Explainers.TabularLIME.GetTargetCol | ( | ) |
Gets targetCol value
|
static |
Loads the TabularLIME that was previously saved using Save(string).
| path | The path the previous TabularLIME was saved to |
| JavaMLReader<TabularLIME> Synapse.ML.Explainers.TabularLIME.Read | ( | ) |
Get the corresponding JavaMLReader instance.
| void Synapse.ML.Explainers.TabularLIME.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 |
| TabularLIME Synapse.ML.Explainers.TabularLIME.SetBackgroundData | ( | DataFrame | value | ) |
Sets value for backgroundData
| value | A dataframe containing background data |
| TabularLIME Synapse.ML.Explainers.TabularLIME.SetCategoricalFeatures | ( | string [] | value | ) |
Sets value for categoricalFeatures
| value | Name of features that should be treated as categorical variables. |
| TabularLIME Synapse.ML.Explainers.TabularLIME.SetInputCols | ( | string [] | value | ) |
| TabularLIME Synapse.ML.Explainers.TabularLIME.SetKernelWidth | ( | double | value | ) |
Sets value for kernelWidth
| value | Kernel width. Default value: sqrt (number of features) * 0.75 |
| TabularLIME Synapse.ML.Explainers.TabularLIME.SetMetricsCol | ( | string | value | ) |
Sets value for metricsCol
| value | Column name for fitting metrics |
| TabularLIME Synapse.ML.Explainers.TabularLIME.SetModel | ( | JavaTransformer | value | ) |
| TabularLIME Synapse.ML.Explainers.TabularLIME.SetNumSamples | ( | int | value | ) |
Sets value for numSamples
| value | Number of samples to generate. |
| TabularLIME Synapse.ML.Explainers.TabularLIME.SetOutputCol | ( | string | value | ) |
| TabularLIME Synapse.ML.Explainers.TabularLIME.SetRegularization | ( | double | value | ) |
Sets value for regularization
| value | Regularization param for the lasso. Default value: 0. |
| TabularLIME Synapse.ML.Explainers.TabularLIME.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. |
| TabularLIME Synapse.ML.Explainers.TabularLIME.SetTargetClassesCol | ( | string | value | ) |
Sets value for targetClassesCol
| value | The name of the column that specifies the indices of the classes for multinomial classification models. |
| TabularLIME Synapse.ML.Explainers.TabularLIME.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 |
1.8.13