Low-Latency, Low-Energy Models

Bookmark this to keep an eye on my project updates!

View My GitHub Profile

moco: makes rate-limited and energy-limited classification ML models 15-30% more efficient.

Use Cases

How it works:

The basic Python usage (with an explanation) is the following:


from sklearn.neural_network import MLPClassifier
from moco import LoggedFunction

# Train your model.
m = MLPClassifier()
m.fit(X, y)

# Wrap your predictor
lf = LoggedFunction(m.predict)

# Run your data through the wrapped model prediction function.
# Internally, we collect the input data as well as the output.
out = lf(X)

# We identify natural clusters in X that are entirely one class or another
# and construct rules based on these clusters.
rules = lf.optimize()

# Now when we run,
lf(X)

# the original model is only run when none of the rules indicate certainty in prediction.

image

Notebooks

Natural Language Processing (NLP)

Tabular

Computer Vision (CV)

Achieving Faster Models

📢 Stay Tuned: I am building a software package. Indicate interest here.

🚀 Try it on your model — Contact me

View the project on GitHub at moco-client. PyPi package coming soon for you to try out.

About Me

My name is Sam Randall. I attended Stanford University for my MS in Computational and Mathematical Engineering and my Bachelors in Applied Mathematics and Public Health from Johns Hopkins University. My research interests are in computational geometry, graph theory and their applications to machine learning.

I seek to make sustainability profitable and our world healthier so I am especially interested in partnering with organizations that are working to deploy models in very resource-constrained settings on edge devices to promote health and sustainability.

LinkedIn