Pinned Loading
-
AutoRDDCaching
AutoRDDCaching PublicFinds an optimal RDD to cache in Spark Java.
Jupyter Notebook 1
-
-
Weiszfeld's Algorithm to numerically...
Weiszfeld's Algorithm to numerically approximate the geometric median for a list of ML model weights. 1def average(models, eps=1e-5, tol=1e-6):
2"""
3Computes geometric median of the model weights using Weiszfeld's Algorithm
4"""
5models = [model.get_weights() for model in models]
-
Very simple Python interpreter writt...
Very simple Python interpreter written in Python 1# ref: https://www.aosabook.org/en/500L/a-python-interpreter-written-in-python.html
2from typing import NamedTuple, Optional, Union, List
3from collections import deque
4from dataclasses import dataclass
5
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.