Commit ee236822 authored by Emre Ahmetcik's avatar Emre Ahmetcik

small changes

parent aa92cc4a
...@@ -1616,6 +1616,19 @@ ...@@ -1616,6 +1616,19 @@
"lineCount": 9, "lineCount": 9,
"tags": "lambda_cell" "tags": "lambda_cell"
}, },
{
"id": "markdownXXp8Xd",
"type": "markdown",
"body": [
"Hint:",
"Compare these results to the L0 results you have obtained before from the same feature space, copied and pasted in here:<br>",
"\"Number of total features generated: 99 <br>",
" features: 99; 1D RMSE: 0.296667831742 best features: ['(r_p(A)+r_d(B))'] <br>",
" features: 99; 2D RMSE: 0.194137965466 best features: ['(r_s(B)+r_p(A))', '(r_s(B)+r_p(A))^2'] <br>",
" features: 99; 3D RMSE: 0.170545556349 best features: ['(r_s(B)+r_p(A))', '(r_s(B)+r_p(A))^2', 'exp(r_s(B)+r_p(A))']\""
],
"evaluatorReader": false
},
{ {
"id": "section0K9XU9", "id": "section0K9XU9",
"type": "section", "type": "section",
...@@ -3924,7 +3937,8 @@ ...@@ -3924,7 +3937,8 @@
"", "",
"Des, D_selected, overlap = sis.get_results()[-1]", "Des, D_selected, overlap = sis.get_results()[-1]",
"print \"Descriptors: %s \\nNumber of samples in overlap regions: %s\\n\" %(Des, overlap)" "print \"Descriptors: %s \\nNumber of samples in overlap regions: %s\\n\" %(Des, overlap)"
] ],
"hidden": true
}, },
"output": { "output": {
"state": {}, "state": {},
...@@ -3935,7 +3949,7 @@ ...@@ -3935,7 +3949,7 @@
"dataresult": "\nprint Des\nc =0\ncolors = ['r','b', 'g', 'm', 'k']\nfor s, stru_class in enumerate(P):\n color = colors[s]\n d = []\n for mat in stru_class:\n x,y = D[c]\n d.append([x,y])\n plt.plot(x,y, '%ss'%color)\n c+=1 \n points = np.array(d)\n if len(points)>2:\n hull = ConvexHull(points)\n for simplex in hull.simplices:\n plt.plot(points[simplex, 0], points[simplex, 1], '%s--' %color)\n #plt.plot(points[hull.vertices,0], points[hull.vertices,1], '%s--' %color, lw=2)\n else:\n plt.plot(points[:,0],points[:,1], '%s--' %color)\nprint overlap\n" "dataresult": "\nprint Des\nc =0\ncolors = ['r','b', 'g', 'm', 'k']\nfor s, stru_class in enumerate(P):\n color = colors[s]\n d = []\n for mat in stru_class:\n x,y = D[c]\n d.append([x,y])\n plt.plot(x,y, '%ss'%color)\n c+=1 \n points = np.array(d)\n if len(points)>2:\n hull = ConvexHull(points)\n for simplex in hull.simplices:\n plt.plot(points[simplex, 0], points[simplex, 1], '%s--' %color)\n #plt.plot(points[hull.vertices,0], points[hull.vertices,1], '%s--' %color, lw=2)\n else:\n plt.plot(points[:,0],points[:,1], '%s--' %color)\nprint overlap\n"
}, },
"evaluatorReader": true, "evaluatorReader": true,
"lineCount": 36, "lineCount": 35,
"tags": "calc_SIS_cell" "tags": "calc_SIS_cell"
}, },
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment