DoubleMLEstimator implements DoubleMLEstimator
More...
◆ DoubleMLEstimator() [1/2]
Synapse.ML.Causal.DoubleMLEstimator.DoubleMLEstimator |
( |
| ) |
|
|
inline |
◆ DoubleMLEstimator() [2/2]
Synapse.ML.Causal.DoubleMLEstimator.DoubleMLEstimator |
( |
string |
uid | ) |
|
|
inline |
◆ Fit()
override DoubleMLModel Synapse.ML.Causal.DoubleMLEstimator.Fit |
( |
DataFrame |
dataset | ) |
|
Fits a model to the input data.
- Parameters
-
dataset | The DataFrame to fit the model to. |
- Returns
- DoubleMLModel
◆ GetConfidenceLevel()
double Synapse.ML.Causal.DoubleMLEstimator.GetConfidenceLevel |
( |
| ) |
|
Gets confidenceLevel value
- Returns
- confidenceLevel: confidence level, default value is 0.975
◆ GetFeaturesCol()
string Synapse.ML.Causal.DoubleMLEstimator.GetFeaturesCol |
( |
| ) |
|
Gets featuresCol value
- Returns
- featuresCol: The name of the features column
◆ GetMaxIter()
int Synapse.ML.Causal.DoubleMLEstimator.GetMaxIter |
( |
| ) |
|
Gets maxIter value
- Returns
- maxIter: maximum number of iterations (>= 0)
◆ GetOutcomeCol()
string Synapse.ML.Causal.DoubleMLEstimator.GetOutcomeCol |
( |
| ) |
|
Gets outcomeCol value
- Returns
- outcomeCol: outcome column
◆ GetOutcomeModel()
IEstimator<object> Synapse.ML.Causal.DoubleMLEstimator.GetOutcomeModel |
( |
| ) |
|
|
inline |
Gets outcomeModel value
- Returns
- outcomeModel: outcome model to run
◆ GetParallelism()
int Synapse.ML.Causal.DoubleMLEstimator.GetParallelism |
( |
| ) |
|
Gets parallelism value
- Returns
- parallelism: the number of threads to use when running parallel algorithms
◆ GetSampleSplitRatio()
double [] Synapse.ML.Causal.DoubleMLEstimator.GetSampleSplitRatio |
( |
| ) |
|
Gets sampleSplitRatio value
- Returns
- sampleSplitRatio: Sample split ratio for cross-fitting. Default: [0.5, 0.5].
◆ GetTreatmentCol()
string Synapse.ML.Causal.DoubleMLEstimator.GetTreatmentCol |
( |
| ) |
|
Gets treatmentCol value
- Returns
- treatmentCol: treatment column
◆ GetTreatmentModel()
IEstimator<object> Synapse.ML.Causal.DoubleMLEstimator.GetTreatmentModel |
( |
| ) |
|
|
inline |
Gets treatmentModel value
- Returns
- treatmentModel: treatment model to run
◆ GetWeightCol()
string Synapse.ML.Causal.DoubleMLEstimator.GetWeightCol |
( |
| ) |
|
Gets weightCol value
- Returns
- weightCol: The name of the weight column
◆ Load()
◆ Read()
Get the corresponding JavaMLReader instance.
- Returns
- an JavaMLReader<DoubleMLEstimator> instance for this ML instance.
◆ Save()
void Synapse.ML.Causal.DoubleMLEstimator.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 |
◆ SetConfidenceLevel()
DoubleMLEstimator Synapse.ML.Causal.DoubleMLEstimator.SetConfidenceLevel |
( |
double |
value | ) |
|
Sets value for confidenceLevel
- Parameters
-
value | confidence level, default value is 0.975 |
- Returns
- New DoubleMLEstimator object
◆ SetFeaturesCol()
Sets value for featuresCol
- Parameters
-
value | The name of the features column |
- Returns
- New DoubleMLEstimator object
◆ SetMaxIter()
Sets value for maxIter
- Parameters
-
value | maximum number of iterations (>= 0) |
- Returns
- New DoubleMLEstimator object
◆ SetOutcomeCol()
◆ SetOutcomeModel< M >()
DoubleMLEstimator Synapse.ML.Causal.DoubleMLEstimator.SetOutcomeModel< M > |
( |
JavaEstimator< M > |
value | ) |
|
Sets value for outcomeModel
- Parameters
-
value | outcome model to run |
- Returns
- New DoubleMLEstimator object
- Type Constraints
-
M | : | JavaModel<M> | |
M | : | WrapAsDoubleMLEstimator | |
M | : | Reference.Invoke | |
M | : | setOutcomeModel | |
M | : | object | |
M | : | value | |
◆ SetParallelism()
Sets value for parallelism
- Parameters
-
value | the number of threads to use when running parallel algorithms |
- Returns
- New DoubleMLEstimator object
◆ SetSampleSplitRatio()
DoubleMLEstimator Synapse.ML.Causal.DoubleMLEstimator.SetSampleSplitRatio |
( |
double[] |
value | ) |
|
Sets value for sampleSplitRatio
- Parameters
-
value | Sample split ratio for cross-fitting. Default: [0.5, 0.5]. |
- Returns
- New DoubleMLEstimator object
◆ SetTreatmentCol()
DoubleMLEstimator Synapse.ML.Causal.DoubleMLEstimator.SetTreatmentCol |
( |
string |
value | ) |
|
◆ SetTreatmentModel< M >()
DoubleMLEstimator Synapse.ML.Causal.DoubleMLEstimator.SetTreatmentModel< M > |
( |
JavaEstimator< M > |
value | ) |
|
Sets value for treatmentModel
- Parameters
-
value | treatment model to run |
- Returns
- New DoubleMLEstimator object
- Type Constraints
-
M | : | JavaModel<M> | |
M | : | WrapAsDoubleMLEstimator | |
M | : | Reference.Invoke | |
M | : | setTreatmentModel | |
M | : | object | |
M | : | value | |
◆ SetWeightCol()
Sets value for weightCol
- Parameters
-
value | The name of the weight column |
- Returns
- New DoubleMLEstimator object
The documentation for this class was generated from the following file:
- synapse/ml/causal/DoubleMLEstimator.cs