to AlphaNova mofos
how do I use your city stuff.?
2 Replies
sorry for the delay, been busy. will respond in about 12 hours.
With the package, you can run:
# Full walk-forward + city/novelty metrics
python runner.py demo.py --gauge-fix
You can also run this using your own predictor.
The output includes a city-space novelty metric, which estimates how close your signal is to the existing signals we provide.
A signal can be thought of as a cross-sectionally demeaned vector time series:
with
for each time step ( t ).
After demeaning, normalization, and a few additional geometric transformations, we map the signal into a sequence of points on the unit sphere:
where
Intuitively, the original 20-dimensional instrument space loses one degree of freedom from demeaning, and another from normalization.
A city is simply the normalized average of these spherical points:
This gives a compact geometric representation of the entire signal.
The similarity between two cities is measured using cosine similarity:
or equivalently by the angular distance:
Empirically, if your signal is sufficiently far from the provided cities in this space, then there is a good probability that it will also exhibit low correlation with those signals in practice.
As a rough rule of thumb, you generally want your city to be at least:
away from existing cities, corresponding to:
The package also includes the raw ambient coordinate city representations in a parquet file. Those can be explored directly, potentially with the assistance of an agentic workflow for automated novelty search or signal discovery.
Sign in to reply.