Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
analytics-toolkit-tutorials
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nomad-lab
analytics-toolkit-tutorials
Commits
ee236822
Commit
ee236822
authored
6 years ago
by
Emre Ahmetcik
Browse files
Options
Downloads
Patches
Plain Diff
small changes
parent
aa92cc4a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hands-on/hands-on-tutorial.bkr
+16
-2
16 additions, 2 deletions
hands-on/hands-on-tutorial.bkr
with
16 additions
and
2 deletions
hands-on/hands-on-tutorial.bkr
+
16
−
2
View file @
ee236822
...
...
@@ -1616,6 +1616,19 @@
"lineCount": 9,
"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",
"type": "section",
...
...
@@ -3924,7 +3937,8 @@
"",
"Des, D_selected, overlap = sis.get_results()[-1]",
"print \"Descriptors: %s \\nNumber of samples in overlap regions: %s\\n\" %(Des, overlap)"
]
],
"hidden": true
},
"output": {
"state": {},
...
...
@@ -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"
},
"evaluatorReader": true,
"lineCount": 3
6
,
"lineCount": 3
5
,
"tags": "calc_SIS_cell"
},
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment