Answers.Body: <p>The real world is harder than a video game.</p>
  <blockquote>
  <p>I could just write an algorithm that can park the car perfectly every time.</p>
  </blockquote>
  <p>No you cannot. You may believe that you can, but you cannot. Real world data is too imperfect and complex.</p>
  <blockquote>
  <p>Let's say I want to build a self-driving car that uses cameras and ai to detect objects and driving lanes.</p>
  <p>So if the camera detects e.g. a car in front, it calculates the distance (using a sensor) and passes that information to the algorithm which handles steering and acceleration.</p>
  </blockquote>
  <p>How do you propose &quot;passing that information&quot; to the algorithm? Raw camera data are images with pixels. What sort of algorithm could you construct that could drive based on raw camera input?</p>
  <p>In short a human could never construct such an algorithm. It is beyond our abilities.</p>
  <p>I also want to point out, deep learning IS an algorithm, just one learned from data.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-03-02T23:38:54.350Z
Answers.Text: I meant that the camera input could be processed by an ai that detects e.g. objects, but the steering would be handled by an algorithm using the information from the "camera ai"
Answers.UserDisplayName: Mointy
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-03-03T03:43:19.657Z
Answers.Text: @Mointy Did you say you can "write an algorithm that can park the car perfectly every time"? Please, sell it! You will be a millionaire in no time.
Answers.UserDisplayName: lpounng
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-03-02T22:51:51.783Z
Answers.LastActivityDate: 2023-03-02T22:51:51.783Z
Answers.UserDisplayName: chessprogrammer
Body: <p>Let's say I want to build a self-driving car that uses cameras and ai to detect objects and driving lanes.</p>
  <p>So if the camera detects e.g. a car in front, it calculates the distance (using a sensor) and passes that information to the algorithm which handles steering and acceleration.</p>
  <p>Another example is parking. I could just write an algorithm that can park the car perfectly every time, instead of trying to train an ai, which would take a lot of time and computation.</p>
  <p>Why would I use Deep Learning to make the car navigate instead of using a simple algorithm (like in video games) that can find the best path and steer accordingly?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-03-02T21:53:23.063Z
Comments.Text: Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.
Comments.UserDisplayName: Community
Tags: <machine-learning><deep-learning><algorithm><autonomous-vehicles>
Title: Why use Deep Learning instead of algorithms for decision making in self-driving cars?
UserDisplayName: Mointy
ThreadText: # Why use Deep Learning instead of algorithms for decision making in self-driving cars?
  
  (Asked by: username_0 on 2023-03-02)
  
  Let's say I want to build a self-driving car that uses cameras and ai to detect objects and driving lanes.
  
  So if the camera detects e.g. a car in front, it calculates the distance (using a sensor) and passes that information to the algorithm which handles steering and acceleration.
  
  Another example is parking. I could just write an algorithm that can park the car perfectly every time, instead of trying to train an ai, which would take a lot of time and computation.
  
  Why would I use Deep Learning to make the car navigate instead of using a simple algorithm (like in video games) that can find the best path and steer accordingly?
  
  **Tags:** machine-learning, deep-learning, algorithm, autonomous-vehicles
  
  > **Comments:**
  > **username_1**: Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2023-03-02. Score: 2
  
  The real world is harder than a video game.
  
  > I could just write an algorithm that can park the car perfectly every time.
  
  No you cannot. You may believe that you can, but you cannot. Real world data is too imperfect and complex.
  
  > Let's say I want to build a self-driving car that uses cameras and ai to detect objects and driving lanes.
  >
  > So if the camera detects e.g. a car in front, it calculates the distance (using a sensor) and passes that information to the algorithm which handles steering and acceleration.
  
  How do you propose "passing that information" to the algorithm? Raw camera data are images with pixels. What sort of algorithm could you construct that could drive based on raw camera input?
  
  In short a human could never construct such an algorithm. It is beyond our abilities.
  
  I also want to point out, deep learning IS an algorithm, just one learned from data.
  
  > **Comments:**
  > **username_0**: I meant that the camera input could be processed by an ai that detects e.g. objects, but the steering would be handled by an algorithm using the information from the "camera ai"  
  > **username_3**: @username_0 Did you say you can "write an algorithm that can park the car perfectly every time"? Please, sell it! You will be a millionaire in no time.  
  
  ---
  
  