Is accuracy always a good metric?
Accuracy is not a good performance metric when there is imbalance in the dataset. For example, in binary classification with 95% of A class and 5% of B class, a constant prediction of A class would have an accuracy of 95%. In case of imbalance dataset, we need to choose Precision, recall, or F1 Score depending on the problem we are trying to solve.
What are precision, recall, and F1-score?
Precision and recall are classification evaluation metrics:
P = TP / (TP + FP) and R = TP / (TP + FN).
Where TP is true positives, FP is false positives and FN is false negatives
In both cases the score of 1 is the best: we get no false positives or false negatives and only true positives.
F1 is a combination of both precision and recall in one score (harmonic mean):
F1 = 2 * PR / (P + R).
Max F score is 1 and min is 0, with 1 being the best.
Accuracy is not a good performance metric when there is imbalance in the dataset. For example, in binary classification with 95% of A class and 5% of B class, a constant prediction of A class would have an accuracy of 95%. In case of imbalance dataset, we need to choose Precision, recall, or F1 Score depending on the problem we are trying to solve.
What are precision, recall, and F1-score?
Precision and recall are classification evaluation metrics:
P = TP / (TP + FP) and R = TP / (TP + FN).
Where TP is true positives, FP is false positives and FN is false negatives
In both cases the score of 1 is the best: we get no false positives or false negatives and only true positives.
F1 is a combination of both precision and recall in one score (harmonic mean):
F1 = 2 * PR / (P + R).
Max F score is 1 and min is 0, with 1 being the best.
β€1π1
Β©How fresher can get a job as a data scientist?Β©
Job market is highly resistant to hire data scientist as a fresher. Everyone out there asks for at least 2 years of experience, but then the question is where will we get the two years experience from?
The important thing here to build a portfolio. As you are a fresher I would assume you had learnt data science through online courses. They only teach you the basics, the analytical skills required to clean the data and apply machine learning algorithms to them comes only from practice.
Do some real-world data science projects, participate in Kaggle competition. kaggle provides data sets for practice as well. Whatever projects you do, create a GitHub repository for it. Place all your projects there so when a recruiter is looking at your profile they know you have hands-on practice and do know the basics. This will take you a long way.
All the major data science jobs for freshers will only be available through off-campus interviews.
Some companies that hires data scientists are:
Siemens
Accenture
IBM
Cerner
Creating a technical portfolio will showcase the knowledge you have already gained and that is essential while you got out there as a fresher and try to find a data scientist job.
Job market is highly resistant to hire data scientist as a fresher. Everyone out there asks for at least 2 years of experience, but then the question is where will we get the two years experience from?
The important thing here to build a portfolio. As you are a fresher I would assume you had learnt data science through online courses. They only teach you the basics, the analytical skills required to clean the data and apply machine learning algorithms to them comes only from practice.
Do some real-world data science projects, participate in Kaggle competition. kaggle provides data sets for practice as well. Whatever projects you do, create a GitHub repository for it. Place all your projects there so when a recruiter is looking at your profile they know you have hands-on practice and do know the basics. This will take you a long way.
All the major data science jobs for freshers will only be available through off-campus interviews.
Some companies that hires data scientists are:
Siemens
Accenture
IBM
Cerner
Creating a technical portfolio will showcase the knowledge you have already gained and that is essential while you got out there as a fresher and try to find a data scientist job.
π2β€1π₯1
βΎHANDWRITTEN NOTES βοΈ βΎοΈ
πΊDATA STRUCTURE SHORT NOTES
πΊDATA STRUCTURE
INTERVIEW SERIES πΉ(PART - 1)
πΊDATA STRUCTURE
INTERVIEW SERIES πΉ(PART - 2)
πΊDATA STRUCTURE
INTERVIEW SERIES πΉ(PART - 3)
πΊDBMS (DATABASE MANAGEMENT SYSTEM)NOTES
πΊC PROGRAMMING SHORT NOTES
πΊDATA STRUCTURE SHORT NOTES
πΊDATA STRUCTURE
INTERVIEW SERIES πΉ(PART - 1)
πΊDATA STRUCTURE
INTERVIEW SERIES πΉ(PART - 2)
πΊDATA STRUCTURE
INTERVIEW SERIES πΉ(PART - 3)
πΊDBMS (DATABASE MANAGEMENT SYSTEM)NOTES
πΊC PROGRAMMING SHORT NOTES
Please open Telegram to view this post
VIEW IN TELEGRAM
ππππππππππ
*GATE-2025 Response Sheet and Answer Key is Released*
βοΈβοΈβοΈβοΈβοΈβοΈβοΈβοΈβοΈβοΈβοΈ
*GATE-2025 Response Sheet and Answer Key is Released*
βοΈβοΈβοΈβοΈβοΈβοΈβοΈβοΈβοΈβοΈβοΈ
R105J44-EE25S41527406-questionPaper.pdf
989.3 KB
GATE 2025 Electrical Engineering Master Question Paper
β€1
R105J44-EE25S41527406-answerKey (1).pdf
204.1 KB
GATE 2025 Electrical Engineering Paper Official Key
π1
R105J44-EC25S61527347-questionPaper (1).pdf
1.3 MB
GATE 2025 EC Master Question paper
βΎHANDWRITTEN NOTES βοΈβΎοΈ
πΊDATA STRUCTURE SHORT NOTES
πΊDATA STRUCTURE
INTERVIEW SERIES πΉ(PART - 1)
πΊDATA STRUCTURE
INTERVIEW SERIES πΉ(PART - 2)
πΊDATA STRUCTURE
INTERVIEW SERIES πΉ(PART - 3)
πΊDBMS (DATABASE MANAGEMENT SYSTEM)NOTES
πΊC PROGRAMMING SHORT NOTES
πΊDATA STRUCTURE SHORT NOTES
πΊDATA STRUCTURE
INTERVIEW SERIES πΉ(PART - 1)
πΊDATA STRUCTURE
INTERVIEW SERIES πΉ(PART - 2)
πΊDATA STRUCTURE
INTERVIEW SERIES πΉ(PART - 3)
πΊDBMS (DATABASE MANAGEMENT SYSTEM)NOTES
πΊC PROGRAMMING SHORT NOTES
π° Filtering and Modifying Array Elements in JavaScript
1. Using filter and map methods together.
2. Use the reduce method to achieve both tasks in a single step.
You may want to filter out certain elements while modifying the remaining elements in an array.
In JavaScript, this can be accomplished in the following ways:
1. Using filter and map methods together.
2. Use the reduce method to achieve both tasks in a single step.
β€3π₯1