Skip to content

Commit

Permalink
Fix/ensure Created by is set in Experiment Tracking (#937)
Browse files Browse the repository at this point in the history
* fill in the field and add a couple runs to show it

Signed-off-by: Tynan DeBold <[email protected]>

* add release note

Signed-off-by: Tynan DeBold <[email protected]>

* fix stlying inconsistency on exp tracking run titles

Signed-off-by: Tynan DeBold <[email protected]>
  • Loading branch information
tynandebold authored Jun 23, 2022
1 parent de8cdb8 commit 399ddee
Show file tree
Hide file tree
Showing 12 changed files with 57 additions and 1 deletion.
1 change: 1 addition & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Please follow the established format:
## Bug fixes and other changes

- General design-debt fixes. (#933, #934)
- Ensure `Created by` is set in experiment tracking metadata. (#937)

# Release 4.7.0

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"model_type": "LinearRegression",
"fit_intercept": true,
"copy_X": true,
"positive": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"model_type": "LinearRegression",
"fit_intercept": true,
"copy_X": true,
"positive": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"r2_score": 0.40296896595214116
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"r2_score": 0.40296896595214116
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"model_type": "RandomForestRegressor",
"n_estimators": 100,
"criterion": "squared_error",
"min_samples_split": 2,
"min_samples_leaf": 1,
"min_weight_fraction_leaf": 0,
"max_features": "auto",
"min_impurity_decrease": 0,
"bootstrap": true,
"oob_score": false,
"verbose": 0,
"warm_start": false,
"ccp_alpha": 0
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"model_type": "RandomForestRegressor",
"n_estimators": 100,
"criterion": "squared_error",
"min_samples_split": 2,
"min_samples_leaf": 1,
"min_weight_fraction_leaf": 0,
"max_features": "auto",
"min_impurity_decrease": 0,
"bootstrap": true,
"oob_score": false,
"verbose": 0,
"warm_start": false,
"ccp_alpha": 0
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"r2_score": 0.4084434438644098
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"r2_score": 0.42273401064875815
}
Binary file modified demo-project/data/session_store.db
Binary file not shown.
2 changes: 1 addition & 1 deletion package/kedro_viz/api/graphql.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def format_run(
user_run_details.notes if user_run_details and user_run_details.notes else ""
)
run = Run(
author="",
author=run_blob.get("username"),
bookmark=bookmark,
gitBranch=git_data.get("branch") if git_data else None,
gitSha=git_data.get("commit_sha") if git_data else None,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ const RunMetadata = ({
<tr>
<td className="details-metadata__title" colSpan="2">
<span
className="details-metadata__title-detail"
onClick={() => onTitleOrNoteClick(run.id)}
title={sanitiseEmptyValue(run.title)}
>
Expand Down

0 comments on commit 399ddee

Please sign in to comment.