Welcome to the Linux Foundation Forum!

3.0.5 Target and Task

Posts: 7
edited March 2024 in LFD273 Class Forum

hp_idx = cont_attr.index('hp')

Is there a specific reason why we use hp and not another continuous attribute such as weight for this example?

Best Answer

  • Posts: 7
    Answer ✓

    Hi @lzambra,

    There's no specific reason for using hp, any other continuous attribute could have been used to train a model. HP seemed like a good choice because the relationship between fuel consumption and HP strikes me as the most intuitive. But I guess the weight would be a good choice as well, as you pointed out.
    Best,
    Daniel

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training