I’m new to guild.ai and trying to use the guild.yml files to save all relevant information including scalars. The scalars are however not being saved.
This is my code:
boston = load_boston()
X = pd.DataFrame(boston.data, columns=boston.feature_names)
y = boston.target
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2)
namedf = ['X_train', 'X_test']
namenp = ['y_train', 'y_test']
reg = Ridge(alpha=0.9)
fitted = reg.fit(X, y)
print("score: %f" % fitted.score(X, y))
and this is my guild.yml file:
ridge-regression:
description: fit ridge regression using boston data.
notebook: Checklist.ipynb
flags:
alpha:
description: alpha value in ridge regression
nb-replace: 'alpha=(\d+)'
output-scalers:
score: 'score: (\value)'
When I print out all information on the command line there are no scalars to be seen. Does anyone know why?