Synapseml
1.0.2
|
DoubleMLModel implements DoubleMLModel More...
Public Member Functions | |
DoubleMLModel () | |
Creates a DoubleMLModel without any parameters. More... | |
DoubleMLModel (string uid) | |
Creates a DoubleMLModel with a UID that is used to give the DoubleMLModel a unique ID. More... | |
DoubleMLModel | SetConfidenceLevel (double value) |
Sets value for confidenceLevel More... | |
DoubleMLModel | SetFeaturesCol (string value) |
Sets value for featuresCol More... | |
DoubleMLModel | SetMaxIter (int value) |
Sets value for maxIter More... | |
DoubleMLModel | SetOutcomeCol (string value) |
Sets value for outcomeCol More... | |
DoubleMLModel | SetOutcomeModel< M > (JavaEstimator< M > value) |
Sets value for outcomeModel More... | |
DoubleMLModel | SetParallelism (int value) |
Sets value for parallelism More... | |
DoubleMLModel | SetRawTreatmentEffects (double[] value) |
Sets value for rawTreatmentEffects More... | |
DoubleMLModel | SetSampleSplitRatio (double[] value) |
Sets value for sampleSplitRatio More... | |
DoubleMLModel | SetTreatmentCol (string value) |
Sets value for treatmentCol More... | |
DoubleMLModel | SetTreatmentModel< M > (JavaEstimator< M > value) |
Sets value for treatmentModel More... | |
DoubleMLModel | 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[] | GetRawTreatmentEffects () |
Gets rawTreatmentEffects 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... | |
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< DoubleMLModel > | Read () |
Get the corresponding JavaMLReader instance. More... | |
Static Public Member Functions | |
static DoubleMLModel | Load (string path) |
Loads the DoubleMLModel that was previously saved using Save(string). More... | |
DoubleMLModel implements DoubleMLModel
|
inline |
Creates a DoubleMLModel without any parameters.
|
inline |
Creates a DoubleMLModel with a UID that is used to give the DoubleMLModel a unique ID.
uid | An immutable unique ID for the object and its derivatives. |
double Synapse.ML.Causal.DoubleMLModel.GetConfidenceLevel | ( | ) |
Gets confidenceLevel value
string Synapse.ML.Causal.DoubleMLModel.GetFeaturesCol | ( | ) |
Gets featuresCol value
int Synapse.ML.Causal.DoubleMLModel.GetMaxIter | ( | ) |
Gets maxIter value
string Synapse.ML.Causal.DoubleMLModel.GetOutcomeCol | ( | ) |
Gets outcomeCol value
|
inline |
Gets outcomeModel value
int Synapse.ML.Causal.DoubleMLModel.GetParallelism | ( | ) |
Gets parallelism value
double [] Synapse.ML.Causal.DoubleMLModel.GetRawTreatmentEffects | ( | ) |
Gets rawTreatmentEffects value
double [] Synapse.ML.Causal.DoubleMLModel.GetSampleSplitRatio | ( | ) |
Gets sampleSplitRatio value
string Synapse.ML.Causal.DoubleMLModel.GetTreatmentCol | ( | ) |
Gets treatmentCol value
|
inline |
Gets treatmentModel value
string Synapse.ML.Causal.DoubleMLModel.GetWeightCol | ( | ) |
Gets weightCol value
|
static |
Loads the DoubleMLModel that was previously saved using Save(string).
path | The path the previous DoubleMLModel was saved to |
JavaMLReader<DoubleMLModel> Synapse.ML.Causal.DoubleMLModel.Read | ( | ) |
Get the corresponding JavaMLReader instance.
void Synapse.ML.Causal.DoubleMLModel.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 |
DoubleMLModel Synapse.ML.Causal.DoubleMLModel.SetConfidenceLevel | ( | double | value | ) |
Sets value for confidenceLevel
value | confidence level, default value is 0.975 |
DoubleMLModel Synapse.ML.Causal.DoubleMLModel.SetFeaturesCol | ( | string | value | ) |
Sets value for featuresCol
value | The name of the features column |
DoubleMLModel Synapse.ML.Causal.DoubleMLModel.SetMaxIter | ( | int | value | ) |
Sets value for maxIter
value | maximum number of iterations (>= 0) |
DoubleMLModel Synapse.ML.Causal.DoubleMLModel.SetOutcomeCol | ( | string | value | ) |
DoubleMLModel Synapse.ML.Causal.DoubleMLModel.SetOutcomeModel< M > | ( | JavaEstimator< M > | value | ) |
Sets value for outcomeModel
value | outcome model to run |
M | : | JavaModel<M> | |
M | : | WrapAsDoubleMLModel | |
M | : | Reference.Invoke | |
M | : | setOutcomeModel | |
M | : | object | |
M | : | value |
DoubleMLModel Synapse.ML.Causal.DoubleMLModel.SetParallelism | ( | int | value | ) |
Sets value for parallelism
value | the number of threads to use when running parallel algorithms |
DoubleMLModel Synapse.ML.Causal.DoubleMLModel.SetRawTreatmentEffects | ( | double[] | value | ) |
Sets value for rawTreatmentEffects
value | raw treatment effect results for all iterations |
DoubleMLModel Synapse.ML.Causal.DoubleMLModel.SetSampleSplitRatio | ( | double[] | value | ) |
Sets value for sampleSplitRatio
value | Sample split ratio for cross-fitting. Default: [0.5, 0.5]. |
DoubleMLModel Synapse.ML.Causal.DoubleMLModel.SetTreatmentCol | ( | string | value | ) |
DoubleMLModel Synapse.ML.Causal.DoubleMLModel.SetTreatmentModel< M > | ( | JavaEstimator< M > | value | ) |
Sets value for treatmentModel
value | treatment model to run |
M | : | JavaModel<M> | |
M | : | WrapAsDoubleMLModel | |
M | : | Reference.Invoke | |
M | : | setTreatmentModel | |
M | : | object | |
M | : | value |
DoubleMLModel Synapse.ML.Causal.DoubleMLModel.SetWeightCol | ( | string | value | ) |
Sets value for weightCol
value | The name of the weight column |