code: def test_2_tempscale_analysis(self):
      # Create base json ai
      df = pd.read_csv("tests/data/hdi.csv").iloc[0:100]
      pdef = ProblemDefinition.from_dict(
          {
              "target": "Development Index",
              "time_aim": 20,
              "use_default_analysis": False,
          }
      )
      json_ai = json_ai_from_problem(df, pdef)
  
      # modify it
      json_ai_dump = json_ai.to_dict()
      json_ai_dump["analysis_blocks"] = [{"module": "TempScaler"}]
      json_ai = JsonAI.from_dict(json_ai_dump)
  
      # create a predictor from it
      code = code_from_json_ai(json_ai)
      predictor = predictor_from_code(code)
      predictor.learn(df)
      row_insights = predictor.predict(df)
      assert "confidence" in row_insights.columns
  
file_path: lightwood/tests/integration/basic/test_jsonai.py
imports: import unittest
  import pandas
  from lightwood.api.types import ProblemDefinition
  from lightwood.api.high_level import json_ai_from_problem, predictor_from_json_ai, JsonAI, code_from_json_ai, predictor_from_code
label_desc: Use image node_id 3 for calling the TestJsonAI obj's underlying member method code with example usage: obj.test_2_tempscale_analysis() without return types