Machine Learning/Courera's Competitive Data Science Course: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
No edit summary
Line 33: Line 33:


notepad https://hub.coursera-notebooks.org/user/hnlrfyqblxjsscsosbsvlx/notebooks/readonly/reading_materials/EDA_video2.ipynb
notepad https://hub.coursera-notebooks.org/user/hnlrfyqblxjsscsosbsvlx/notebooks/readonly/reading_materials/EDA_video2.ipynb
also see [[Big_Data#Exploratory_Data_Analysis_.28EDA.29]]
=== Handling analysing annoymoused data ===
for example hashed out data

Revision as of 17:09, 14 May 2018

Exam notes

I

Suppose that you have a credit scoring task, where you have to create a ML model that approximates expert evaluation of an individual's creditworthiness. Which of the following can potentially be a data leakage? Select all that apply.

1. First half of the data points in the train set has a score of 0, while the second half has scores > 0. - This should be selected
Is a leak -
2. Among the features you have a company_id, an identifier of a company where this person works. It turns out that this feature is very important and adding it to the model significantly improves your score. = Un-selected is correct
not a source of leak
3. An ID of a data point (row) in the train set correlates with target variable.
Is a leak
Explainiation: Data was not shuffled, this information can not be used in real-world scenario

II

What is the most foolproof way to set up a time series competition?

Split train, public and private parts of data by time. Remove all features except IDs (e.g. timestamp) from test set so that participants will generate all the features based on past and join them themselves.
Correct Answer
Make a time based split for train/test and a random split for public/private.
This should not be selected - WRONG!
Explanation: Vulnerable to leaderboard probing.
Split train, public and private parts of data by time. Remove time variable from test set, keep the features.
Also Ronge - dunno why


Exploratory Data Analysis (EDA)

notepad https://hub.coursera-notebooks.org/user/hnlrfyqblxjsscsosbsvlx/notebooks/readonly/reading_materials/EDA_video2.ipynb

also see Big_Data#Exploratory_Data_Analysis_.28EDA.29

Handling analysing annoymoused data

for example hashed out data