Python json-file Projects
-
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
Project mention: Summoning Your ML Model from the Cloud: FastAPI + AWS Lambda Speedrun | dev.to | 2025-06-09
# train.py import joblib, pandas as pd from sklearn.linear_model import LogisticRegression from pathlib import Path cards = pd.read_csv("cards.csv") # download from https://mtgjson.com # --- feature engineering -------------------------------------------- cards["numColors"] = cards["colorIdentity"].apply(len) cards["isCreature"] = cards["type"].str.contains("Creature").astype(int) rarity_map = {"common": 0, "uncommon": 1, "rare": 2, "mythic": 3} cards["rarityScore"] = cards["rarity"].str.lower().map(rarity_map).fillna(0) X = cards[["manaValue", "numColors", "isCreature", "rarityScore"]] y = (cards["edhrecRank"] <= 5000).astype(int) model = LogisticRegression(max_iter=1000).fit(X, y) joblib.dump(model, "edh_staple_model.joblib") print("Saved model — size:", round(Path('edh_staple_model.joblib').stat().st_size / 1024, 1), "KB")
Python json-files discussion
Index
# | Project | Stars |
---|---|---|
1 | AutoRclone | 1,377 |
2 | mtgjson | 417 |