Synapseml  1.0.2
Public Member Functions | Static Public Member Functions | List of all members
Synapse.ML.Causal.DoubleMLEstimator Class Reference

DoubleMLEstimator implements DoubleMLEstimator More...

Inheritance diagram for Synapse.ML.Causal.DoubleMLEstimator:
Inheritance graph
[legend]
Collaboration diagram for Synapse.ML.Causal.DoubleMLEstimator:
Collaboration graph
[legend]

Public Member Functions

 DoubleMLEstimator ()
 Creates a DoubleMLEstimator without any parameters. More...
 
 DoubleMLEstimator (string uid)
 Creates a DoubleMLEstimator with a UID that is used to give the DoubleMLEstimator a unique ID. More...
 
DoubleMLEstimator SetConfidenceLevel (double value)
 Sets value for confidenceLevel More...
 
DoubleMLEstimator SetFeaturesCol (string value)
 Sets value for featuresCol More...
 
DoubleMLEstimator SetMaxIter (int value)
 Sets value for maxIter More...
 
DoubleMLEstimator SetOutcomeCol (string value)
 Sets value for outcomeCol More...
 
DoubleMLEstimator SetOutcomeModel< M > (JavaEstimator< M > value)
 Sets value for outcomeModel More...
 
DoubleMLEstimator SetParallelism (int value)
 Sets value for parallelism More...
 
DoubleMLEstimator SetSampleSplitRatio (double[] value)
 Sets value for sampleSplitRatio More...
 
DoubleMLEstimator SetTreatmentCol (string value)
 Sets value for treatmentCol More...
 
DoubleMLEstimator SetTreatmentModel< M > (JavaEstimator< M > value)
 Sets value for treatmentModel More...
 
DoubleMLEstimator SetWeightCol (string value)
 Sets value for weightCol More...
 
double GetConfidenceLevel ()
 Gets confidenceLevel value More...
 
string GetFeaturesCol ()
 Gets featuresCol value More...
 
int GetMaxIter ()
 Gets maxIter value More...
 
string GetOutcomeCol ()
 Gets outcomeCol value More...
 
IEstimator< object > GetOutcomeModel ()
 Gets outcomeModel value More...
 
int GetParallelism ()
 Gets parallelism value More...
 
double[] GetSampleSplitRatio ()
 Gets sampleSplitRatio value More...
 
string GetTreatmentCol ()
 Gets treatmentCol value More...
 
IEstimator< object > GetTreatmentModel ()
 Gets treatmentModel value More...
 
string GetWeightCol ()
 Gets weightCol value More...
 
override DoubleMLModel Fit (DataFrame dataset)
 Fits a model to the input data. 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 ()
 
Returns
a JavaMLWriter instance for this ML instance.

 
JavaMLReader< DoubleMLEstimatorRead ()
 Get the corresponding JavaMLReader instance. More...
 

Static Public Member Functions

static DoubleMLEstimator Load (string path)
 Loads the DoubleMLEstimator that was previously saved using Save(string). More...
 

Detailed Description

DoubleMLEstimator implements DoubleMLEstimator

Constructor & Destructor Documentation

◆ DoubleMLEstimator() [1/2]

Synapse.ML.Causal.DoubleMLEstimator.DoubleMLEstimator ( )
inline

Creates a DoubleMLEstimator without any parameters.

◆ DoubleMLEstimator() [2/2]

Synapse.ML.Causal.DoubleMLEstimator.DoubleMLEstimator ( string  uid)
inline

Creates a DoubleMLEstimator with a UID that is used to give the DoubleMLEstimator a unique ID.

Parameters
uidAn immutable unique ID for the object and its derivatives.

Member Function Documentation

◆ Fit()

override DoubleMLModel Synapse.ML.Causal.DoubleMLEstimator.Fit ( DataFrame  dataset)

Fits a model to the input data.

Parameters
datasetThe 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()

static DoubleMLEstimator Synapse.ML.Causal.DoubleMLEstimator.Load ( string  path)
static

Loads the DoubleMLEstimator that was previously saved using Save(string).

Parameters
pathThe path the previous DoubleMLEstimator was saved to
Returns
New DoubleMLEstimator object, loaded from path.

◆ Read()

JavaMLReader<DoubleMLEstimator> Synapse.ML.Causal.DoubleMLEstimator.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
pathThe path to save the object to

◆ SetConfidenceLevel()

DoubleMLEstimator Synapse.ML.Causal.DoubleMLEstimator.SetConfidenceLevel ( double  value)

Sets value for confidenceLevel

Parameters
valueconfidence level, default value is 0.975
Returns
New DoubleMLEstimator object

◆ SetFeaturesCol()

DoubleMLEstimator Synapse.ML.Causal.DoubleMLEstimator.SetFeaturesCol ( string  value)

Sets value for featuresCol

Parameters
valueThe name of the features column
Returns
New DoubleMLEstimator object

◆ SetMaxIter()

DoubleMLEstimator Synapse.ML.Causal.DoubleMLEstimator.SetMaxIter ( int  value)

Sets value for maxIter

Parameters
valuemaximum number of iterations (>= 0)
Returns
New DoubleMLEstimator object

◆ SetOutcomeCol()

DoubleMLEstimator Synapse.ML.Causal.DoubleMLEstimator.SetOutcomeCol ( string  value)

Sets value for outcomeCol

Parameters
valueoutcome column
Returns
New DoubleMLEstimator object

◆ SetOutcomeModel< M >()

DoubleMLEstimator Synapse.ML.Causal.DoubleMLEstimator.SetOutcomeModel< M > ( JavaEstimator< M >  value)

Sets value for outcomeModel

Parameters
valueoutcome model to run
Returns
New DoubleMLEstimator object
Type Constraints
M :JavaModel<M> 
M :WrapAsDoubleMLEstimator 
M :Reference.Invoke 
M :setOutcomeModel 
M :object 
M :value 

◆ SetParallelism()

DoubleMLEstimator Synapse.ML.Causal.DoubleMLEstimator.SetParallelism ( int  value)

Sets value for parallelism

Parameters
valuethe 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
valueSample split ratio for cross-fitting. Default: [0.5, 0.5].
Returns
New DoubleMLEstimator object

◆ SetTreatmentCol()

DoubleMLEstimator Synapse.ML.Causal.DoubleMLEstimator.SetTreatmentCol ( string  value)

Sets value for treatmentCol

Parameters
valuetreatment column
Returns
New DoubleMLEstimator object

◆ SetTreatmentModel< M >()

DoubleMLEstimator Synapse.ML.Causal.DoubleMLEstimator.SetTreatmentModel< M > ( JavaEstimator< M >  value)

Sets value for treatmentModel

Parameters
valuetreatment model to run
Returns
New DoubleMLEstimator object
Type Constraints
M :JavaModel<M> 
M :WrapAsDoubleMLEstimator 
M :Reference.Invoke 
M :setTreatmentModel 
M :object 
M :value 

◆ SetWeightCol()

DoubleMLEstimator Synapse.ML.Causal.DoubleMLEstimator.SetWeightCol ( string  value)

Sets value for weightCol

Parameters
valueThe name of the weight column
Returns
New DoubleMLEstimator object

The documentation for this class was generated from the following file: