Sapio Analytics
Laiqa Interview Questions and Answers
Q1. Can regression be used to solve Classification Problems?
No, regression is used for predicting continuous values, while classification is used for predicting categorical values.
Regression predicts continuous values, while classification predicts categorical values
Regression models include linear regression, polynomial regression, etc.
Classification models include logistic regression, decision trees, etc.
Q2. What tools have you worked with?
I have worked with tools such as Excel, SQL, Python, Tableau, and Power BI.
Excel
SQL
Python
Tableau
Power BI
Q3. Differentiate between Inner and Outer Join
Inner join returns only the matching rows between two tables, while outer join returns all rows from both tables.
Inner join combines rows from two tables based on a related column
Outer join combines rows from two tables even if there is no match based on a related column
Examples: Inner join - SELECT * FROM table1 INNER JOIN table2 ON table1.id = table2.id
Outer join - SELECT * FROM table1 LEFT OUTER JOIN table2 ON table1.id = table2.id
Q4. What is Bivariate Analysis?
Bivariate analysis is the analysis of two variables to determine if there is a relationship between them.
It involves examining the relationship between two variables to determine if changes in one variable are associated with changes in the other variable.
Common techniques used in bivariate analysis include correlation analysis, scatter plots, and regression analysis.
Bivariate analysis helps in understanding the strength and direction of the relationship between two variables...read more
Q5. Explain the model evaluation metrics.
Model evaluation metrics are used to assess the performance of a predictive model by comparing predicted values with actual values.
Common model evaluation metrics include accuracy, precision, recall, F1 score, ROC-AUC, and mean squared error.
Accuracy measures the proportion of correct predictions out of the total predictions made by the model.
Precision measures the proportion of true positive predictions out of all positive predictions made by the model.
Recall measures the pr...read more
Q6. decorator with example
A decorator in Python is a design pattern that allows you to add new functionality to an existing object without modifying its structure.
Decorators are functions that take another function as an argument and extend its behavior without modifying it directly.
They are commonly used in web frameworks like Django to add functionality to views or methods.
Example: @login_required decorator in Django ensures that only authenticated users can access a particular view.
Q7. difference tuple and list
Tuple is immutable, ordered collection of elements while list is mutable, ordered collection of elements.
Tuple is defined using parentheses () while list is defined using square brackets []
Tuple elements cannot be changed once defined while list elements can be modified
Tuple is faster than list for iteration and accessing elements
Example: tuple_example = (1, 2, 3) and list_example = [1, 2, 3]
Q8. dictionary with examples
A dictionary in Python is a collection of key-value pairs, where each key is unique and maps to a specific value.
Keys must be unique within a dictionary.
Values can be of any data type, including lists, tuples, or even other dictionaries.
Access values in a dictionary using their corresponding keys.
Example: {'name': 'John', 'age': 30, 'city': 'New York'}
Interview Process at Laiqa
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month