ML classification
ML classification in the Carbium Library: 10 working Solana examples, among them Feature drift monitor and Transaction category classifier.
- Feature drift monitor SI0113
Compare older and newest transactions of a Solana program with a population stability index, so a drifting model input shows before accuracy falls.
- Transaction category classifier SI0108
Label an address's recent transactions as swap, transfer, memo, setup, failed or program call with a small weighted scorer over parsed Carbium RPC data.
- Token launch feature table SI0106
Build a flat CSV of mint setup and address activity per Solana token, ready for a classifier once you add your own labels.
- Rug-pull label dataset SI0105
Build a SQLite table of Solana mint inputs for rug-pull classification: authorities, extensions, activity and a weak label, with an empty outcome column.
- Token-2022 transfer labels SI0069
Label Token-2022 mints with the transfer form each needs and what can stop a transfer, from one getMultipleAccounts read of up to 100 mints.
- Fee-pressure sentiment index SI0058
A read-only script that turns recent priority fees and slot fill into one sentiment number from -100 to +100, with its parts and no transaction decoding.
- Inbound transaction triage SI0056
Sort a wallet's unexpected incoming transactions into classes from who signed, what arrived, its size in token units and how many others were paid.
- Wallet spam token filter SI0036
Score every token in a wallet for spam with a small logistic model over mint authority, freeze authority, balance and supply, read through Carbium RPC.
- Rug-risk token scorer SI0035
Scores an SPL token mint for rug risk from its live authorities, Token-2022 extensions and age, and prints the reasons behind the number.
- LP token classifier SI0009
Scores SPL mints as LP-like from one getMultipleAccounts read, using the mint authority, freeze authority and fixed-supply flags.