How do you handle missing values in python or r?
Answer / Hiba Jainab
In Python, missing values are typically represented by NaN (Not a Number) for numerical data and NaN or None for categorical data. In R, missing values are also represented by NA for both numerical and categorical data. To handle these missing values, you can use various methods like mean imputation (filling the missing value with the mean of the column), median imputation (filling the missing value with the median of the column), or using advanced techniques like k-nearest neighbors or multiple imputation.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to determine the number of clusters in k-means clustering algorithm?
You are given a training dataset of users that contain their demographic details, the pages on Facebook they have liked so far and results of psychology test based on their personality i.e. their openness to like FB pages or not. How will you predict the age, gender and other demographics of unseen data?
What do you understand by parametric and non-parametric methods? Explain with examples.
What is random forests and how is it different from decision trees?
What data structures are available in the Pandas package in Python programming language?
Differentiate between skewed and uniform distribution?
How can you check if a data set or time series is random?
A certain couple tells you that they have two children, at least one of which is a girl. What is the probability that they have two girls?
How will you drop variables using indices in a data frame?
What are the various classification algorithms?
What is an rdbms? Name some examples for rdbms? What is crud?
Please explain eigenvectors and eigenvalues?
AI Algorithms (74)
AI Natural Language Processing (96)
AI Knowledge Representation Reasoning (12)
AI Robotics (183)
AI Computer Vision (13)
AI Neural Networks (66)
AI Fuzzy Logic (31)
AI Games (8)
AI Languages (141)
AI Tools (11)
AI Machine Learning (659)
Data Science (671)
Data Mining (120)
AI Deep Learning (111)
Generative AI (153)
AI Frameworks Libraries (197)
AI Ethics Safety (100)
AI Applications (427)
AI General (197)
AI AllOther (6)