File size: 385 Bytes
08bd580
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
"""Load the trained router; X is the canonical ordered 31-feature matrix."""
from pathlib import Path
import numpy as np
from factcascade.utility_model import UtilityModel

root=Path(__file__).parent
model=UtilityModel.load(root / "router.json")
# Replace this synthetic vector with the frozen feature implementation output.
X=np.zeros((1,31),dtype=np.float64)
print(model.predict(X))