Fourkites, Inc. Interview Questions

Fourkites, Inc. Interview Guides

Click or hover over a slice to explore questions for that topic.
Data Structures & Algorithms
(80)
SQL
(61)
Machine Learning
(59)
Probability
(31)
Statistics
(23)

Fourkites, Inc. Interview Questions

Practice for the Fourkites, Inc. interview with these recently asked interview questions.

QuestionTopicDifficulty
Machine Learning
Easy

Given a 2-D matrix P of predicted values and actual values, write a function precision_recall to calculate precision and recall metrics.

Return the ordered pair (precision, recall).

Example:

Input:


P = [[121, 9],
    [17, 144]]

where P represents the following table

Predicted =TRUE Predicted =FALSE
Actual =TRUE 121 9
Actual =FALSE 17 144

Output:

def precision_recall(P) -> (0.931, 0.877,)
Machine Learning
Easy
Product Sense & Metrics
Medium
Loading pricing options

View all Fourkites, Inc. questions

Challenge

Check your skills...
How prepared are you for working at Fourkites, Inc.?

Discussion & Interview Experiences

?
There are no comments yet. Start the conversation by leaving a comment.

Discussion & Interview Experiences

There are no comments yet. Start the conversation by leaving a comment.

Jump to Discussion