-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {/* */}
- {/* */}
-
- {/* */}
-
-
-
-
-
- {/*
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {" "}
+ {/* */}
+ {" "}
+ {/* */}
+
+ {/* */}
+
+
+
+ {/* */
- }
-
- {/* */}
- {/* This TestChart is for interactive and responsive confusion matrix */}
-
-
-
- {/* */}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {/* onChange={moveSlidermakeBlack} */}
- ""
- ""
- ""
- ""
- ""
- ""
-
-
-
-
-
-
- //
- //
- //
- //
- // {/* */} {/* */} {/* */}
- // {/* */}
- // {/* */} {/* */ }
- // {/* */ } {/*
- // */} {/*
- // This TestChart is for interactive and responsive confusion matrix */}
- //
- //
- //
- // {/*
- // https://en.wikipedia.org/wiki/Confusion_matrix
- // */}
- // {/* GPT Space */} {/*
- // */ } {/* GPT Space */}
- );
- } else if (experiment.data.prediction_type == "regression") { // regression
- let importanceScore,
- reg_cv_pred,
- reg_cv_resi,
- reg_cv_qq,
- reg_cvp_png,
- reg_cvp_json,
- reg_cvr_png,
- reg_cvr_json,
- reg_qqnr_png,
- reg_qqnr_json;
-
- experiment
- .data
- .experiment_files
- .forEach(file => {
- const filename = file.filename;
- console.log("filename-regression", filename)
- if (filename.includes('imp_score')) {
- importanceScore = file;
- } else if (filename.includes('reg_cv_pred')) {
- reg_cv_pred = file;
- } else if (filename.includes('reg_cv_resi')) {
- reg_cv_resi = file;
- } else if (filename.includes('reg_cv_qq')) {
- reg_cv_qq = file;
- } else if (filename.includes('reg_cv_pred') && filename.includes('png') ) {
- reg_cvp_png = file;
- console.log("reg_cvp_png", reg_cvp_png)
- } else if (filename.includes('reg_cv_resi') && filename.includes('png')) {
- reg_cvr_png = file;
- console.log("reg_cvr_png", reg_cvr_png)
- } else if (filename.includes('reg_cv_qq') && filename.includes('png')) {
- reg_qqnr_png = file;
- }else if (filename.includes('reg_cvp') && filename.includes('json') ) {
- reg_cvp_json = file;
- console.log("reg_cvp_json", reg_cvp_json)
- } else if (filename.includes('reg_cvr') && filename.includes('json')) {
- reg_cvr_json = file;
- console.log("reg_cvr_json", reg_cvr_json)
- } else if (filename.includes('reg_qqnr') && filename.includes('json')) {
- reg_qqnr_json = file;
- console.log("reg_qqnr_json", reg_qqnr_json)
- }
-
- });
- // r2
- let R2Keys = ['train_r2_score', 'r2_score'];
- // r
- let RKeys = ['train_pearsonr_score', 'pearsonr_score'];
- // r2
- let VAFKeys = ['train_explained_variance_score', 'explained_variance_score'];
-
- let R2List = this.getGaugeArray(R2Keys);
- let RList = this.getGaugeArray(RKeys);
- let VAFList = this.getGaugeArray(VAFKeys);
-
- return (
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {/* */}
-
-
-
-
- {/* */}
- {/* */}
- {/* */}
-
- {/* {
+ /> */}
+ {" "}
+ {/* */}
+ {/* This TestChart is for interactive and responsive confusion matrix */}
+
+
+
+ {/* */}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {/* onChange={moveSlidermakeBlack} */}
+ ""
+ ""
+ ""
+ ""
+ ""
+ ""
+
+
+
+
+
+
+ //
+ //
+ //
+ //
+ // {/* */} {/* */} {/* */}
+ // {/* */}
+ // {/* */} {/* */ }
+ // {/* */ } {/*
+ // */} {/*
+ // This TestChart is for interactive and responsive confusion matrix */}
+ //
+ //
+ //
+ // {/*
+ // https://en.wikipedia.org/wiki/Confusion_matrix
+ // */}
+ // {/* GPT Space */} {/*
+ // */ } {/* GPT Space */}
+ );
+ } else if (experiment.data.prediction_type == "regression") {
+ // regression
+ let importanceScore,
+ reg_cv_pred,
+ reg_cv_resi,
+ reg_cv_qq,
+ reg_cvp_png,
+ reg_cvp_json,
+ reg_cvr_png,
+ reg_cvr_json,
+ reg_qqnr_png,
+ reg_qqnr_json;
+
+ experiment.data.experiment_files.forEach((file) => {
+ const filename = file.filename;
+ console.log("filename-regression", filename);
+ if (filename.includes("imp_score")) {
+ importanceScore = file;
+ } else if (filename.includes("reg_cv_pred")) {
+ reg_cv_pred = file;
+ } else if (filename.includes("reg_cv_resi")) {
+ reg_cv_resi = file;
+ } else if (filename.includes("reg_cv_qq")) {
+ reg_cv_qq = file;
+ } else if (
+ filename.includes("reg_cv_pred") &&
+ filename.includes("png")
+ ) {
+ reg_cvp_png = file;
+ console.log("reg_cvp_png", reg_cvp_png);
+ } else if (
+ filename.includes("reg_cv_resi") &&
+ filename.includes("png")
+ ) {
+ reg_cvr_png = file;
+ console.log("reg_cvr_png", reg_cvr_png);
+ } else if (filename.includes("reg_cv_qq") && filename.includes("png")) {
+ reg_qqnr_png = file;
+ } else if (filename.includes("reg_cvp") && filename.includes("json")) {
+ reg_cvp_json = file;
+ console.log("reg_cvp_json", reg_cvp_json);
+ } else if (filename.includes("reg_cvr") && filename.includes("json")) {
+ reg_cvr_json = file;
+ console.log("reg_cvr_json", reg_cvr_json);
+ } else if (filename.includes("reg_qqnr") && filename.includes("json")) {
+ reg_qqnr_json = file;
+ console.log("reg_qqnr_json", reg_qqnr_json);
+ }
+ });
+ // r2
+ let R2Keys = ["train_r2_score", "r2_score"];
+ // r
+ let RKeys = ["train_pearsonr_score", "pearsonr_score"];
+ // r2
+ let VAFKeys = [
+ "train_explained_variance_score",
+ "explained_variance_score",
+ ];
+
+ let R2List = this.getGaugeArray(R2Keys);
+ let RList = this.getGaugeArray(RKeys);
+ let VAFList = this.getGaugeArray(VAFKeys);
+
+ return (
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {" "}
+ {/* */}
+
+
+
+ {/* */}
+ {/* */}
+ {/* */}
+
+ {/* {
experiment.data.CVP_2d === undefined
?
:
} */}
-
-
- {/*
+
+ {/* */
- }
-
- {/* {
+ data={experiment.data}/> */}
+
+ {/* {
experiment.data.CVR_2d === undefined
?
:
} */}
-
-
- {/* {
+
+
+ {/* {
experiment.data.QQNR_2d === undefined
?
:
} */}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {/* onChange={moveSlidermakeBlack} */}
- ""
- ""
- ""
- ""
- ""
- ""
-
-
-
-
-
-
- );
- }
+
+
+
+
+
+
+
+
+
+
+
+