Skip to content

Commit

Permalink
Merge pull request #296 from mohammad-gh009/patch-5
Browse files Browse the repository at this point in the history
Delete the duplicate sentence!
  • Loading branch information
merveenoyan authored May 7, 2024
2 parents 6a8a91c + 3556121 commit f2fa020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/en/unit9/intro_to_model_optimization.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ There are several techniques in the model optimization, which will be explained

## Trade-offs between accuracy, performance, and resource usage
A trade-off exists between accuracy, performance, and resource usage when deploying a model. That's when we have to decide which part to prioritize so that the model can be maximized in the case at hand.
1. Accuracy is the model's ability to predict correctly. High accuracy is needed in all applications, which also causes higher performance and resource usage. Complex models with high accuracy usually require a lot of memory, so there will be limitations if they are deployed on resource-constrained devices. Complex models with high accuracy usually require a lot of memory, so there will be limitations if they are deployed on resource-constrained devices.
1. Accuracy is the model's ability to predict correctly. High accuracy is needed in all applications, which also causes higher performance and resource usage. Complex models with high accuracy usually require a lot of memory, so there will be limitations if they are deployed on resource-constrained devices.
2. Performance is the model's speed and efficiency (latency). This is important so the model can make predictions quickly, even in real time. However, optimizing performance will usually result in decreasing accuracy.
3. Resource usage is the computational resources needed to perform inference on the model, such as CPU, memory, and storage. Efficient resource usage is crucial if we want to deploy models on devices with certain limitations, such as smartphones or IoT devices.

Expand Down

0 comments on commit f2fa020

Please sign in to comment.