Data Science: The 10 Commandments for Performing a Data Science Project

Hello!

These principles will guide your next data science project in 2026. Let me know in the comments if you found them helpful—you can even share your own commandments!
Understanding stakeholder goals is vital in any data science initiative, yet it alone does not guarantee success. Data science teams must follow proven best practices to deliver on a clearly defined brief. The ten points below outline what this entails in practice.
1. Understanding the Problem

Ask clarifying questions early and validate your understanding with domain experts, colleagues, and end users. When their feedback aligns with your interpretation, you are on the right track.
2. Know Your Data
Deep familiarity with your data helps determine which models and features will be most effective. The nature of the data directly influences model choice and computational cost, which in turn affects project timelines and budgets.
Creating meaningful features allows models to better emulate human decision-making. Understanding each field is especially critical in regulated industries, where data is often anonymized. When in doubt, consult a domain expert.
3. Split Your Data

For supervised learning, split the dataset into training (typically 75–80 % of the original data, selected randomly) and testing sets. A separate validation set may also be required to compare models tuned on the test data.
Use scikit-learn’s train_test_split function in Python to perform this split reliably.
4. Don’t Leak Test Data

Premature normalization, for example, can inadvertently expose the model to the global minimum and maximum values present in the held-out test data, leading to overly optimistic performance estimates.
5. Use the Right Evaluation Metrics
Every problem demands an evaluation approach tailored to its specific context. Accuracy alone can be misleading—consider a cancer-detection model that simply predicts “not cancer” and achieves 99 % accuracy while failing to identify any actual cases.

6. Keep It Simple
Resist the temptation to adopt the most complex model available. Follow Occam’s Razor: select the simplest model that adequately meets performance requirements. This approach reduces training time, improves interpretability, and often yields better generalization.
7. Avoid Overfitting and Underfitting

8. Try Different Model Architectures

9. Tune Your Hyperparameters
Hyperparameters control the learning process (for example, the maximum depth of a decision tree). Default values are chosen for average performance across many datasets, yet problem-specific tuning often yields substantial gains. Techniques such as grid search, randomized search, and Bayesian optimization can help identify optimal settings.

10. Comparing Models Correctly
Machine learning succeeds when models generalize well. To choose the best model, evaluate it on a holdout set that was never used during hyperparameter tuning, and apply appropriate statistical tests to confirm performance differences.
Also read:
- Scientists Suggest Tiny Black Holes Are Regularly Cruising Through Our Star System
- Biotech Penile Implants Let Pigs Get Erections Again
- Small Robots, Big Impact: Surprising Ways Automation Helps Us
Thank you!
Join us on social networks!
See you!
Subscribe to our newsletter
Get the latest Web3, AI, and crypto news delivered straight to your inbox.