francesco-camussoni-ueno commented on issue #43552:
URL: https://github.com/apache/airflow/issues/43552#issuecomment-2451865544

   I know is executiing this file: 
[operators/sagemaker.py](https://github.com/apache/airflow/blob/main/providers/src/airflow/providers/amazon/aws/operators/sagemaker.py)
 
   
   Because in the log I have this INFO log  _After preprocessing the config is:_
   
   `[2024-10-31, 15:57:06 UTC] {{sagemaker.py:96}} INFO - Preprocessing the 
config and doing required s3_operations
   [2024-10-31, 15:57:06 UTC] {{sagemaker.py:100}} INFO - After preprocessing 
the config is:
    {
       "HyperParameterTuningJobConfig": {
           "HyperParameterTuningJobObjective": {
               "Name": "validation:accuracy",
               "Type": "Maximize"
           },
           "ParameterRanges": {
               "CategoricalParameterRanges": [
                   {
                       "Name": "max_features",
                       "Values": [
                           "sqrt",
                           "log2"
                       ]
                   },
                   {
                       "Name": "criterion",
                       "Values": [
                           "gini",
                           "entropy",
                           "log_loss"
                       ]
                   }
               ],
               "ContinuousParameterRanges": [
                   {
                       "MaxValue": 0.02,
                       "MinValue": 0.0,
                       "Name": "ccp_alpha"
                   }
               ],
               "IntegerParameterRanges": [
                   {
                       "MaxValue": 15,
                       "MinValue": 2,
                       "Name": "min_samples_leaf"
                   },
                   {
                       "MaxValue": 500,
                       "MinValue": 50,
                       "Name": "n_estimators"
                   }
               ]
           },
           "RandomSeed": 123,
           "Strategy": "Bayesian"
       },
       "HyperParameterTuningJobName": "mlpipeline-training-tuning",
       "ResourceLimits": {
           "MaxNumberOfTrainingJobs": 10,
           "MaxParallelTrainingJobs": 4,
           "MaxRuntimeInSeconds": 7200
       },`
       
       Basically, the problem is that after the transformation I'm seeing those 
values as int or float instead of str


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to