The contributor platform behind frontier AI.

Compete on hard problems across STEM, earn bounties, and produce the data that drives LLMs forward.

app.shipd.ai
Pre-Submission
Ranking
#1eigenSolverEeigenSolver0.0312
#2prob_masterPprob_master0.0318
#3mathwhiz42Mmathwhiz420.0327
#4you0.0341
Reviews
Bounty $210
solution.py
test_solution.py
Explorer
challenges
gradient-boost
solution.py
test_solution.py
README.md
config.yaml
workspace/challenges/gradient-boost/solution.py
1import numpy as np
2from sklearn.metrics import mean_squared_error
3 
4def train_gradient_boosted_regressor(
5 X_train, y_train, X_val, y_val,
6 n_estimators=500, lr=0.01, max_depth=4
7):
8 """Gradient boosted regressor with early stopping."""
9 
10 residuals = y_train.copy()
11 trees = []
12 val_scores = []
13 best_val, patience_ctr = np.inf, 0
14 
15 for i in range(n_estimators):
16 tree = DecisionTreeRegressor(
17 max_depth=max_depth,
18 min_samples_leaf=5
19 )
20 tree.fit(X_train, residuals)
21 pred = tree.predict(X_train)
22 residuals -= lr * pred
23 trees.append((lr, tree))
24 
25 val_pred = predict(trees, X_val)
26 val_mse = mean_squared_error(y_val, val_pred)
27 val_scores.append(val_mse)
28 
29 if val_mse < best_val - 1e-4:
30 best_val = val_mse
31 patience_ctr = 0
32 else:
33 patience_ctr += 1
34 if patience_ctr >= 20:
35 break
36 
37 return trees, val_scores
Problems1
OutputTerminal

community

Where Kaggle grandmasters, OSS contributors, and tinkerers compete

LangChain
LangChain
React
React
Airbyte
Airbyte
Next.js
Next.js
PyTorch
PyTorch
Hugging Face
Hugging Face

Top OSS contributors

From the world's most impactful open-source projects.

Kaggle GrandmasterKaggle
Legendary GrandmasterCodeforces
LeetCode GuardianLeetCode
ICPC World FinalistICPC

Top-ranked across platforms

Competitive programmers and ML engineers ranked among the best on every major platform.

quests

You’re not here to annotate data.
Work on what excites you.

Each unique project on Shipd is called a ‘quest’, and focuses on a specific category in STEM, including SWE, ML, DS, and more. You pick what you want to work on.

Mars

Mars

Software Engineering

Tackle GitHub issues, build features, and fix bugs across the repos you care about.

Eris

Eris

Machine Learning

Build and solve ML competitions that stump agents and humans alike.

Monte

Monte

Data Science

Create and solve numerical computation problems that push AI reasoning to its limits.

Explore

Explore

All Disciplines

New quests launch every month across dozens of STEM categories. Create an account to get notified when projects match your skills.