Class: AWSCDK::CleanRooms::CfnAnalysisTemplate::SyntheticDataColumnPropertiesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CleanRooms::CfnAnalysisTemplate::SyntheticDataColumnPropertiesProperty
- Defined in:
- clean_rooms/cfn_analysis_template.rb
Overview
Properties that define how a specific data column should be handled during synthetic data generation, including its name, type, and role in predictive modeling.
Instance Attribute Summary collapse
-
#column_name ⇒ String
readonly
The name of the data column as it appears in the dataset.
-
#column_type ⇒ String
readonly
The data type of the column, which determines how the synthetic data generation algorithm processes and synthesizes values for this column.
-
#is_predictive_value ⇒ Boolean, AWSCDK::IResolvable
readonly
Indicates if this column contains predictive values that should be treated as target variables in machine learning models.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(column_name:, column_type:, is_predictive_value:) ⇒ SyntheticDataColumnPropertiesProperty
constructor
A new instance of SyntheticDataColumnPropertiesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(column_name:, column_type:, is_predictive_value:) ⇒ SyntheticDataColumnPropertiesProperty
Returns a new instance of SyntheticDataColumnPropertiesProperty.
1210 1211 1212 1213 1214 1215 1216 1217 |
# File 'clean_rooms/cfn_analysis_template.rb', line 1210 def initialize(column_name:, column_type:, is_predictive_value:) @column_name = column_name Jsii::Type.check_type(@column_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "columnName") @column_type = column_type Jsii::Type.check_type(@column_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "columnType") @is_predictive_value = is_predictive_value Jsii::Type.check_type(@is_predictive_value, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "isPredictiveValue") end |
Instance Attribute Details
#column_name ⇒ String (readonly)
The name of the data column as it appears in the dataset.
1223 1224 1225 |
# File 'clean_rooms/cfn_analysis_template.rb', line 1223 def column_name @column_name end |
#column_type ⇒ String (readonly)
The data type of the column, which determines how the synthetic data generation algorithm processes and synthesizes values for this column.
1228 1229 1230 |
# File 'clean_rooms/cfn_analysis_template.rb', line 1228 def column_type @column_type end |
#is_predictive_value ⇒ Boolean, AWSCDK::IResolvable (readonly)
Indicates if this column contains predictive values that should be treated as target variables in machine learning models.
This affects how the synthetic data generation preserves statistical relationships.
1235 1236 1237 |
# File 'clean_rooms/cfn_analysis_template.rb', line 1235 def is_predictive_value @is_predictive_value end |
Class Method Details
.jsii_properties ⇒ Object
1237 1238 1239 1240 1241 1242 1243 |
# File 'clean_rooms/cfn_analysis_template.rb', line 1237 def self.jsii_properties { :column_name => "columnName", :column_type => "columnType", :is_predictive_value => "isPredictiveValue", } end |
Instance Method Details
#to_jsii ⇒ Object
1245 1246 1247 1248 1249 1250 1251 1252 1253 |
# File 'clean_rooms/cfn_analysis_template.rb', line 1245 def to_jsii result = {} result.merge!({ "columnName" => @column_name, "columnType" => @column_type, "isPredictiveValue" => @is_predictive_value, }) result.compact end |