Premium Employer

i

This company page is being actively managed by Affine Team. If you also belong to the team, you can get access from here

Affine Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Affine Interview Questions, Process, and Tips

Updated 8 Jan 2025

Top Affine Interview Questions and Answers

View all 49 questions

Affine Interview Experiences

Popular Designations

48 interviews found

I applied via Company Website and was interviewed in Jul 2022. There were 3 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. Interview involves covering the basic ML
  • Q2. Project Related Statistics ML Basics
Round 2 - Case Study 

Case Study interview
Puzzle
Live Coding

Round 3 - Case Study 

Case study interview

Interview Preparation Tips

Interview preparation tips for other job seekers - Never ever join this organisation.
They will tell that u have completed all the assessments and take your pay slip info.

Then, they will keep another round just for the sake of elimination

Senior Data Scientist Interview Questions asked at other Companies

Q1. What is the difference between logistic and linear regression?
View answer (4)

I applied via Company Website and was interviewed in Jul 2022. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all Resume tips
Round 2 - Aptitude Test 

Concepts of Machine Learning Algorithm and Two Coding problems

Round 3 - Technical 

(1 Question)

  • Q1. Concepts of Machine Learning and their impact Case Study F1-score gamma values in-depth questions Model Evaluation Confusion Metrics What will happen if we don't treat imbalanced data set? Python dataset c...

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare well technically and verbally. You will be the judge based on technical and soft skills as well. If you fail to summarize your thought to the interviewer then better to forget about this.

Associate Data Scientist Interview Questions asked at other Companies

Q1. Why do you think the objective of predictive modeling is minimizing the cost function? How would you define a cost function after all?
View answer (1)
Affine Interview Questions and Answers for Freshers
illustration image

I applied via Naukri.com and was interviewed in Feb 2022. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all Resume tips
Round 2 - Coding Test 

Test had a mix of questions on Statistics, Probability, Machine Learning, SQL and Python.

Round 3 - Technical 

(11 Questions)

  • Q1. How to retain special characters (that pandas discards by default) in the data while reading it?
  • Ans. 

    To retain special characters in pandas data, use encoding parameter while reading the data.

    • Use encoding parameter while reading the data in pandas

    • Specify the encoding type of the data file

    • Example: pd.read_csv('filename.csv', encoding='utf-8')

  • Answered by AI
  • Q2. How to read large .csv files in pandas quickly?
  • Ans. 

    Use pandas' read_csv() method with appropriate parameters to read large .csv files quickly.

    • Use the chunksize parameter to read the file in smaller chunks

    • Use the low_memory parameter to optimize memory usage

    • Use the dtype parameter to specify data types for columns

    • Use the usecols parameter to read only necessary columns

    • Use the skiprows parameter to skip unnecessary rows

    • Use the nrows parameter to read only a specific numb...

  • Answered by AI
  • Q3. How do perform the manipulations quicker in pandas?
  • Ans. 

    Use vectorized operations, avoid loops, and optimize memory usage.

    • Use vectorized operations like apply(), map(), and applymap() instead of loops.

    • Avoid using iterrows() and itertuples() as they are slower than vectorized operations.

    • Optimize memory usage by using appropriate data types and dropping unnecessary columns.

    • Use inplace=True parameter to modify the DataFrame in place instead of creating a copy.

    • Use the pd.eval()...

  • Answered by AI
  • Q4. Explain generators and decorators in python
  • Ans. 

    Generators are functions that allow you to iterate over a sequence of values without creating the entire sequence in memory. Decorators are functions that modify the behavior of other functions.

    • Generators use the yield keyword to return values one at a time

    • Generators are memory efficient and can handle large datasets

    • Decorators are functions that take another function as input and return a modified version of that funct...

  • Answered by AI
  • Q5. You have a pandas dataframe with three columns, filled with state names, city names and arbitrary numbers respectively. How to retrieve top 2 cities per state. (top according to the max number in the third...
  • Ans. 

    Retrieve top 2 cities per state based on max number in third column of pandas dataframe.

    • Group the dataframe by state column

    • Sort each group by the third column in descending order

    • Retrieve the top 2 rows of each group using head(2) function

    • Concatenate the resulting dataframes using pd.concat() function

  • Answered by AI
  • Q6. How does look up happens in a list when you do my_list[5]?
  • Ans. 

    my_list[5] retrieves the 6th element of the list.

    • Indexing starts from 0 in Python.

    • The integer inside the square brackets is the index of the element to retrieve.

    • If the index is out of range, an IndexError is raised.

  • Answered by AI
  • Q7. How to create dictionaries in python with repeated keys?
  • Ans. 

    To create dictionaries in Python with repeated keys, use defaultdict from the collections module.

    • Import the collections module

    • Create a defaultdict object

    • Add key-value pairs to the dictionary using the same key multiple times

    • Access the values using the key

    • Example: from collections import defaultdict; d = defaultdict(list); d['key'].append('value1'); d['key'].append('value2')

  • Answered by AI
  • Q8. What is the purpose of lambda function when regural functions(of def) exist? how are they different?
  • Ans. 

    Lambda functions are anonymous functions used for short and simple operations. They are different from regular functions in their syntax and usage.

    • Lambda functions are defined without a name and keyword 'lambda' is used to define them.

    • They can take any number of arguments but can only have one expression.

    • They are commonly used in functional programming and as arguments to higher-order functions.

    • Lambda functions are oft...

  • Answered by AI
  • Q9. Merge vs join in pandas
  • Ans. 

    Merge and join are used to combine dataframes in pandas.

    • Merge is used to combine dataframes based on a common column or index.

    • Join is used to combine dataframes based on their index.

    • Merge can handle different column names, while join cannot.

    • Merge can handle different types of joins (inner, outer, left, right), while join only does inner join by default.

  • Answered by AI
  • Q10. How will the resultant table be, when you "merge" two tables that match at a column. and the second table has many of keys repeated.
  • Ans. 

    The resultant table will have all the columns from both tables and the rows will be a combination of matching rows.

    • The resultant table will have all the columns from both tables

    • The rows in the resultant table will be a combination of matching rows

    • If the second table has repeated keys, there will be multiple rows with the same key in the resultant table

  • Answered by AI
  • Q11. Some questions on spacy and NLP models and my project.
Round 4 - Technical 

(8 Questions)

  • Q1. Explain eign vectors and eign values? what purpose do they serve in ML?
  • Ans. 

    Eigenvalues and eigenvectors are linear algebra concepts used in machine learning for dimensionality reduction and feature extraction.

    • Eigenvalues represent the scaling factor of the eigenvectors.

    • Eigenvectors are the directions along which a linear transformation acts by stretching or compressing.

    • In machine learning, eigenvectors are used for principal component analysis (PCA) to reduce the dimensionality of data.

    • Eigenv...

  • Answered by AI
  • Q2. Explain PCA briefly? what can it be used for and what can it not be used for?
  • Ans. 

    PCA is a dimensionality reduction technique used to transform high-dimensional data into a lower-dimensional space.

    • PCA can be used for feature extraction, data visualization, and noise reduction.

    • PCA cannot be used for causal inference or to handle missing data.

    • PCA assumes linear relationships between variables and may not work well with non-linear data.

    • PCA can be applied to various fields such as finance, image process

  • Answered by AI
  • Q3. What is VIF and how is it calculated?
  • Ans. 

    VIF stands for Variance Inflation Factor, a measure of multicollinearity in regression analysis.

    • VIF is calculated for each predictor variable in a regression model.

    • It measures how much the variance of the estimated regression coefficient is increased due to multicollinearity.

    • A VIF of 1 indicates no multicollinearity, while a VIF greater than 1 indicates increasing levels of multicollinearity.

    • VIF is calculated as 1 / (1...

  • Answered by AI
  • Q4. What is AIC & BIC in linear regression?
  • Ans. 

    AIC & BIC are statistical measures used to evaluate the goodness of fit of a linear regression model.

    • AIC stands for Akaike Information Criterion and BIC stands for Bayesian Information Criterion.

    • Both AIC and BIC are used to compare different models and select the best one.

    • AIC penalizes complex models less severely than BIC.

    • Lower AIC/BIC values indicate a better fit of the model to the data.

    • AIC and BIC can be calculated...

  • Answered by AI
  • Q5. Do we minimize or maximize the loss in logistic regression?
  • Ans. 

    We minimize the loss in logistic regression.

    • The goal of logistic regression is to minimize the loss function.

    • The loss function measures the difference between predicted and actual values.

    • The optimization algorithm tries to find the values of coefficients that minimize the loss function.

    • Minimizing the loss function leads to better model performance.

    • Examples of loss functions used in logistic regression are cross-entropy

  • Answered by AI
  • Q6. How does one vs rest work for logistic regression?
  • Ans. 

    One vs Rest is a technique used to extend binary classification to multi-class problems in logistic regression.

    • It involves training multiple binary classifiers, one for each class.

    • In each classifier, one class is treated as the positive class and the rest as negative.

    • The class with the highest probability is predicted as the final output.

    • It is also known as one vs all or one vs others.

    • Example: In a 3-class problem, we ...

  • Answered by AI
  • Q7. What is one vs one classification?
  • Ans. 

    One vs one classification is a binary classification method where multiple models are trained to classify each pair of classes.

    • It is used when there are more than two classes in the dataset.

    • It involves training multiple binary classifiers for each pair of classes.

    • The final prediction is made by combining the results of all the binary classifiers.

    • Example: In a dataset with 5 classes, 10 binary classifiers will be traine

  • Answered by AI
  • Q8. How to find the number of white cars in a city? (interviewer wanted my approach and had given me 5 minutes to come up with an apporach)

Interview Preparation Tips

Interview preparation tips for other job seekers - for the most part, practical questions were asked. so, your experience would matter the most. hence prepare accordingly.

Skills evaluated in this interview

Top Affine Data Scientist Interview Questions and Answers

Q1. you have a pandas dataframe with three columns, filled with state names, city names and arbitrary numbers respectively. How to retrieve top 2 cities per state. (top according to the max number in the third column)
View answer (3)

Data Scientist Interview Questions asked at other Companies

Q1. for a data with 1000 samples and 700 dimensions, how would you find a line that best fits the data, to be able to extrapolate? this is not a supervised ML problem, there's no target. and how would you do it, if you want to treat this as a s... read more
View answer (5)
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-

I applied via Recruitment Consulltant and was interviewed before Aug 2023. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Python and SQL related questions

Associate Engineer Interview Questions asked at other Companies

Q1. Count Ways To Reach The N-th Stair Problem Statement You are given a number of stairs, N. Starting at the 0th stair, you need to reach the Nth stair. Each time you can either climb one step or two steps. You have to return the number of dis... read more
View answer (1)

Affine interview questions for popular designations

 Data Analyst

 (8)

 Business Analyst

 (6)

 Data Scientist

 (5)

 Senior Associate

 (3)

 Data Engineer

 (3)

 Senior Data Scientist

 (2)

 Graduate Engineer

 (1)

 Associate Engineer

 (1)

I applied via Job Portal and was interviewed in Mar 2022. There were 2 interview rounds.

Round 1 - Coding Test 

(1 Question)

  • Q1. Machine Learning, Python, SQL, Basic Stats The difficulty level of questions was average.
Round 2 - Technical 

(1 Question)

  • Q1. Resume and project related. One or two questions around probability and stats.

Interview Preparation Tips

Interview preparation tips for other job seekers - Round 1 have MCQ questions around machine Learning , data science and sql with average difficulty
Round 2 -- Technical round. Asked mostly around resume and the project mentioned.
Also asked to do live python and sql coding

Top Affine Data Scientist Interview Questions and Answers

Q1. you have a pandas dataframe with three columns, filled with state names, city names and arbitrary numbers respectively. How to retrieve top 2 cities per state. (top according to the max number in the third column)
View answer (3)

Data Scientist Interview Questions asked at other Companies

Q1. for a data with 1000 samples and 700 dimensions, how would you find a line that best fits the data, to be able to extrapolate? this is not a supervised ML problem, there's no target. and how would you do it, if you want to treat this as a s... read more
View answer (5)

Get interview-ready with Top Affine Interview Questions

Interview Questions & Answers

user image Anonymous

posted on 27 Nov 2022

I applied via Approached by Company and was interviewed in May 2022. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all Resume tips
Round 2 - Assignment 

ML and sql MCQs and 2 python python coding questions one on linear regression and other one general

Round 3 - Technical 

(1 Question)

  • Q1. Questions based on resume and ml techniques python and sql coding Scenario based questions
Round 4 - HR 

(1 Question)

  • Q1. Salary discussion and general questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare on whatever mentioned in resume. Strong machine learning and statistics basics.

Jobs at Affine

View all

I applied via Naukri.com and was interviewed in Jul 2021. There were 3 interview rounds.

Interview Questionnaire 

5 Questions

  • Q1. Given an input string "neeraj chopra" Write Python code to get output string as "jareen arpohc".
  • Ans. 

    The Python code to get the output string as 'jareen arpohc' from the input string 'neeraj chopra' is provided.

    • Split the input string into individual words

    • Reverse each word

    • Join the reversed words with a space in between

  • Answered by AI
  • Q2. Given a list of 10 numbers. Write a code to list only even numbers out of the original list.
  • Ans. 

    Code to list even numbers from a given list of 10 numbers.

    • Loop through the list of numbers

    • Check if each number is even using the modulo operator

    • If the number is even, add it to a new list of even numbers

    • Return the new list of even numbers

  • Answered by AI
  • Q3. SQL queries using Window Functions Rank() , Dense Rank() etc
  • Q4. Reversal of string in python code
  • Ans. 

    Reversing a string in Python code

    • Use slicing to reverse the string

    • Use the built-in function 'reversed()'

    • Convert the string to a list, reverse it, and then join it back to a string

  • Answered by AI
  • Q5. SQL queries in general.

Interview Preparation Tips

Interview preparation tips for other job seekers - There is hiring surge in the company so one should go for it .
Basic Python , SQL knowledge is enough to crack the interviews.

Skills evaluated in this interview

Senior Associate Interview Questions asked at other Companies

Q1. On an average, how many invoices can you process in a day?
View answer (10)

Consultant Interview Questions & Answers

user image Anonymous

posted on 25 Aug 2023

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Walk-in and was interviewed before Aug 2022. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all Resume tips
Round 2 - Coding Test 

Test of SQL, Tableau and other skills based on your resume on Skillate

Round 3 - Technical 

(1 Question)

  • Q1. SQL and other skills technical questions
Round 4 - One-on-one 

(1 Question)

  • Q1. Manager round / 2nd technical round

Consultant Interview Questions asked at other Companies

Q1. How would you pass an entry for travel expenses incurred and paid by employee and was reimbursed? How would the end to end flow happens
View answer (8)

Team Manager Interview Questions & Answers

user image Anonymous

posted on 18 Jun 2022

I applied via Naukri.com and was interviewed in Dec 2021. There was 1 interview round.

Round 1 - One-on-one 

(1 Question)

  • Q1. How do you deal with your employees to motivate them

Interview Preparation Tips

Interview preparation tips for other job seekers - Good company to work, interview was good

Team Manager Interview Questions asked at other Companies

Q1. To maintain SIEM solution which are the daily activities that you will perform?
View answer (4)

Interview Questions & Answers

user image Anonymous

posted on 26 Oct 2021

I applied via Naukri.com and was interviewed in Apr 2021. There were 3 interview rounds.

Interview Questionnaire 

3 Questions

  • Q1. Python - Data Structures, Problem Solving
  • Q2. SQL queries
  • Q3. Questions on Previous Experience - with respect to Cloud - AWS , GCP

Interview Preparation Tips

Interview preparation tips for other job seekers - When a candidate is strong with fundamentals, and relevant experience with expertise, more chances of getting offer
Contribute & help others!
anonymous
You can choose to be anonymous

Affine Interview FAQs

How many rounds are there in Affine interview?
Affine interview process usually has 1-2 rounds. The most common rounds in the Affine interview process are Technical, Coding Test and One-on-one Round.
How to prepare for Affine interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Affine. The most common topics and skills that interviewers at Affine expect are SQL, Python, AWS, ETL and Machine Learning.
What are the top questions asked in Affine interview?

Some of the top questions asked at the Affine interview -

  1. you have a pandas dataframe with three columns, filled with state names, city n...read more
  2. I have two jars of 5 litres and 3 litres. How can I measure 4 litres? (Assume: ...read more
  3. How to retain special characters (that pandas discards by default) in the data ...read more
How long is the Affine interview process?

The duration of Affine interview process can vary, but typically it takes about less than 2 weeks to complete.

Recently Viewed

DESIGNATION

JOBS

Affine

No Jobs

INTERVIEWS

Arup

No Interviews

SALARIES

Essar Group

LIST OF COMPANIES

Essar Group

Locations

INTERVIEWS

Arup

No Interviews

INTERVIEWS

Betsol

No Interviews

INTERVIEWS

Arup

No Interviews

INTERVIEWS

Betsol

No Interviews

Tell us how to improve this page.

Affine Interview Process

based on 38 interviews

Interview experience

3.6
  
Good
View more
Join Affine Command The New

Interview Questions from Similar Companies

Mu Sigma Interview Questions
2.6
 • 229 Interviews
Tiger Analytics Interview Questions
3.7
 • 222 Interviews
Fractal Analytics Interview Questions
4.0
 • 204 Interviews
Tredence Interview Questions
3.6
 • 123 Interviews
Axtria Interview Questions
3.1
 • 115 Interviews
AbsolutData Interview Questions
3.6
 • 9 Interviews
Algonomy Interview Questions
4.0
 • 9 Interviews
Crayon Data Interview Questions
3.6
 • 4 Interviews
View all

Affine Reviews and Ratings

based on 168 reviews

3.3/5

Rating in categories

3.5

Skill development

3.1

Work-life balance

3.2

Salary

3.1

Job security

3.2

Company culture

2.9

Promotions

3.2

Work satisfaction

Explore 168 Reviews and Ratings
Business Analyst

Bangalore / Bengaluru

3-5 Yrs

₹ 10-20 LPA

Python Engineer

Bangalore / Bengaluru

5-9 Yrs

Not Disclosed

Explore more jobs
Senior Associate
129 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Business Analyst
94 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Business Analyst
87 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Consultant
87 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Data Engineer
47 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare Affine with

Fractal Analytics

4.0
Compare

Mu Sigma

2.6
Compare

Tiger Analytics

3.7
Compare

LatentView Analytics

3.7
Compare
Did you find this page helpful?
Yes No
write
Share an Interview