Add office photos
Engaged Employer

Mahindra & Mahindra

4.1
based on 9.5k Reviews
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by

Mentora Institute Interview Questions and Answers

Updated 1 Sep 2024
Popular Designations

Q1. similar table. Find students who scored more than avg marks of both 11th and 12th.

Ans.

Find students who scored more than avg marks in both 11th and 12th grades.

  • Calculate the average marks for each student in 11th and 12th grades.

  • Compare each student's marks with the respective average marks to find those who scored higher in both grades.

Add your answer

Q2. Sql query - Customers who have ordered all products from all categories.

Ans.

Use a SQL query to find customers who have ordered all products from all categories.

  • Join the Customers, Orders, and Products tables

  • Group by customer and count the distinct products ordered

  • Filter for customers who have ordered the total number of products available in each category

Add your answer

Q3. What will happen if linear regression is used for classification

Ans.

Using linear regression for classification can lead to inaccurate predictions and unreliable results.

  • Linear regression assumes a continuous output, making it unsuitable for discrete classification tasks.

  • It may not handle outliers well, leading to incorrect classification boundaries.

  • The predicted values may fall outside the 0-1 range for binary classification.

  • Logistic regression is a more appropriate choice for classification tasks.

Add your answer

Q4. What is GAN.Have you worked with it.

Ans.

GAN stands for Generative Adversarial Network, a type of neural network used for generating new data.

  • Consists of two neural networks - generator and discriminator

  • Generator creates new data samples while discriminator tries to distinguish between real and generated data

  • Used in image generation, text generation, and other creative applications

Add your answer
Discover Mentora Institute interview dos and don'ts from real experiences

Q5. Python - All subsets of a list.

Ans.

Generate all possible subsets of a given list in Python.

  • Use itertools.combinations to generate all possible combinations of the list elements.

  • Convert the combinations to lists and store them in a new list to get all subsets.

Add your answer

Q6. what is Cost function.

Ans.

Cost function is a mathematical function that measures the error between predicted values and actual values in a machine learning model.

  • Cost function helps in optimizing the parameters of a model to minimize the error.

  • Common cost functions include Mean Squared Error (MSE) and Cross Entropy Loss.

  • It is used in training machine learning models through techniques like gradient descent.

  • The goal is to find the parameters that minimize the cost function.

Add your answer

Q7. What is ginni coefficient.

Ans.

Gini coefficient is a measure of statistical dispersion intended to represent the income or wealth distribution of a nation's residents.

  • Gini coefficient ranges from 0 to 1, where 0 represents perfect equality and 1 represents perfect inequality.

  • A Gini coefficient of 0.4 is considered moderate inequality, while 0.6 or higher is considered high inequality.

  • It is commonly used in economics to measure income inequality within a population.

  • The formula for calculating Gini coefficie...read more

Add your answer

Q8. Importance of feature engineering.

Ans.

Feature engineering is crucial in data science as it involves selecting, transforming, and creating new features to improve model performance.

  • Feature engineering helps in improving model accuracy by providing relevant and meaningful input variables.

  • It involves techniques like one-hot encoding, scaling, normalization, and creating interaction terms.

  • Feature engineering can help in reducing overfitting and improving model interpretability.

  • Examples include creating new features f...read more

Add your answer

Q9. What is entropy.

Ans.

Entropy is a measure of disorder or randomness in a system.

  • Entropy is used in information theory to quantify the amount of uncertainty involved in predicting the value of a random variable.

  • It is often used in machine learning to measure the impurity or disorder in a dataset.

  • In thermodynamics, entropy is a measure of the amount of energy in a physical system that is not available to do work.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter