Fourkites, Inc. Interview Questions

Fourkites, Inc. Interview Guides

Click or hover over a slice to explore questions for that topic.
Data Structures & Algorithms
(83)
SQL
(63)
Machine Learning
(62)
Probability
(31)
Product Sense & Metrics
(25)

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