Sobes.tech

Machine Learning / AI

How is a random forest structured and what are its advantages and disadvantages?

297

There is data with different time granularities: some are recorded hourly, some daily. What to do with this?

259

What was the final sample size and how many initial and selected features were in the project?

205

Tell us more about your end-to-end experience: what stages did you perform from task setting to deploying the model in production?

204

What examples of feature engineering have you performed in projects?

190

Why are shallow trees usually used in boosting, and how does the number of trees affect overfitting?

186

Calculate the total revenue for each user Find the first and last purchase date for each user.

185

What is holdout users and why keep constant control?

Middle — Senior
168

import pandas as pd import numpy as np data = { 'user_id': [1, 1, 1, 2, 2, 3, 3, 3, 4], 'date': ['[phone]', '[phone]', '[phone]', '[phone]', '[phone]', '[phone]', '[phone]', '[phone]', '[phone]'], 'revenue': [100, 200, 150, 300, 250, 100, 100, 100, 400] } df = pd.DataFrame(data) df['date'] = pd.to_datetime(df['date']) Calculate the total revenue for each user.

167
/3