Skip to content

Commit

Permalink
Update to v0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
computron committed Nov 10, 2017
1 parent 6f75ab0 commit ee0fd79
Show file tree
Hide file tree
Showing 37 changed files with 623 additions and 351 deletions.
Binary file modified docs/_images/math/074903764bb5a464b7c346e84f43cba2174f3ab0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/math/b851d3a5fb872ad82d61f964772ca1cc2520a590.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/math/d32c78b759903e3f4bd4fd2ce0b86358f7500c5d.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions docs/_sources/changelog.rst.txt
Expand Up @@ -5,6 +5,19 @@
matminer Changelog
==================

**v0.1.5**

* new Site and Structure fingerprints based on order parameters (N. Zimmermann)
* DOSFeaturizer (M. Dylla)
* Structure fingerprint can do cations/anions only (A. Jain)
* include the degeneracy of the CBM/VBM in BandFeaturizer (A. Faghaninia)
* fixes / updates to CitrineDataRetrieval (S. Bajaj)
* more property stats (L. Ward)
* fixes to AGNIFingerprint (L. Ward)
* FigRecipes cleanup (A. Dunn)
* updated examples, docs (A. Dunn)
* various bugfixes, code cleanup (A. Jain)

**v0.1.4**

* add a band structure featurizer (A. Faghaninia)
Expand Down
3 changes: 2 additions & 1 deletion docs/_sources/contributors.rst.txt
Expand Up @@ -41,6 +41,7 @@ University of Chicago

Other
-----
* Kyle Bystrom (Asta Research Group)
* Kyle Bystrom (Asta Research Group, UC Berkeley)
* Shyue Ping Ong (UC San Diego)
* Evgeny Blokhin (Tilde Lab)
* Max Dylla (Snyder Research Group, Northwestern University)
6 changes: 1 addition & 5 deletions docs/_static/basic.css
Expand Up @@ -445,14 +445,10 @@ dd {
margin-left: 30px;
}

dt:target, span.highlighted {
dt:target, .highlighted {
background-color: #fbe54e;
}

rect.highlighted {
fill: #fbe54e;
}

dl.glossary dt {
font-weight: bold;
font-size: 1.1em;
Expand Down
52 changes: 14 additions & 38 deletions docs/_static/doctools.js
Expand Up @@ -45,7 +45,7 @@ jQuery.urlencode = encodeURIComponent;
* it will always return arrays of strings for the value parts.
*/
jQuery.getQueryParameters = function(s) {
if (typeof s === 'undefined')
if (typeof s == 'undefined')
s = document.location.search;
var parts = s.substr(s.indexOf('?') + 1).split('&');
var result = {};
Expand All @@ -66,53 +66,29 @@ jQuery.getQueryParameters = function(s) {
* span elements with the given class name.
*/
jQuery.fn.highlightText = function(text, className) {
function highlight(node, addItems) {
if (node.nodeType === 3) {
function highlight(node) {
if (node.nodeType == 3) {
var val = node.nodeValue;
var pos = val.toLowerCase().indexOf(text);
if (pos >= 0 && !jQuery(node.parentNode).hasClass(className)) {
var span;
var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg");
if (isInSVG) {
span = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
} else {
span = document.createElement("span");
span.className = className;
}
var span = document.createElement("span");
span.className = className;
span.appendChild(document.createTextNode(val.substr(pos, text.length)));
node.parentNode.insertBefore(span, node.parentNode.insertBefore(
document.createTextNode(val.substr(pos + text.length)),
node.nextSibling));
node.nodeValue = val.substr(0, pos);
if (isInSVG) {
var bbox = span.getBBox();
var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect");
rect.x.baseVal.value = bbox.x;
rect.y.baseVal.value = bbox.y;
rect.width.baseVal.value = bbox.width;
rect.height.baseVal.value = bbox.height;
rect.setAttribute('class', className);
var parentOfText = node.parentNode.parentNode;
addItems.push({
"parent": node.parentNode,
"target": rect});
}
}
}
else if (!jQuery(node).is("button, select, textarea")) {
jQuery.each(node.childNodes, function() {
highlight(this, addItems);
highlight(this);
});
}
}
var addItems = [];
var result = this.each(function() {
highlight(this, addItems);
return this.each(function() {
highlight(this);
});
for (var i = 0; i < addItems.length; ++i) {
jQuery(addItems[i].parent).before(addItems[i].target);
}
return result;
};

/*
Expand Down Expand Up @@ -155,21 +131,21 @@ var Documentation = {
* i18n support
*/
TRANSLATIONS : {},
PLURAL_EXPR : function(n) { return n === 1 ? 0 : 1; },
PLURAL_EXPR : function(n) { return n == 1 ? 0 : 1; },
LOCALE : 'unknown',

// gettext and ngettext don't access this so that the functions
// can safely bound to a different name (_ = Documentation.gettext)
gettext : function(string) {
var translated = Documentation.TRANSLATIONS[string];
if (typeof translated === 'undefined')
if (typeof translated == 'undefined')
return string;
return (typeof translated === 'string') ? translated : translated[0];
return (typeof translated == 'string') ? translated : translated[0];
},

ngettext : function(singular, plural, n) {
var translated = Documentation.TRANSLATIONS[singular];
if (typeof translated === 'undefined')
if (typeof translated == 'undefined')
return (n == 1) ? singular : plural;
return translated[Documentation.PLURALEXPR(n)];
},
Expand Down Expand Up @@ -240,7 +216,7 @@ var Documentation = {
var src = $(this).attr('src');
var idnum = $(this).attr('id').substr(7);
$('tr.cg-' + idnum).toggle();
if (src.substr(-9) === 'minus.png')
if (src.substr(-9) == 'minus.png')
$(this).attr('src', src.substr(0, src.length-9) + 'plus.png');
else
$(this).attr('src', src.substr(0, src.length-8) + 'minus.png');
Expand Down Expand Up @@ -272,7 +248,7 @@ var Documentation = {
var path = document.location.pathname;
var parts = path.split(/\//);
$.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() {
if (this === '..')
if (this == '..')
parts.pop();
});
var url = parts.join('/');
Expand Down
3 changes: 0 additions & 3 deletions docs/_static/searchtools.js
Expand Up @@ -540,9 +540,6 @@ var Search = {
});
} else if (DOCUMENTATION_OPTIONS.HAS_SOURCE) {
var suffix = DOCUMENTATION_OPTIONS.SOURCELINK_SUFFIX;
if (suffix === undefined) {
suffix = '.txt';
}
$.ajax({url: DOCUMENTATION_OPTIONS.URL_ROOT + '_sources/' + item[5] + (item[5].slice(-suffix.length) === suffix ? '' : suffix),
dataType: "text",
complete: function(jqxhr, textstatus) {
Expand Down
23 changes: 18 additions & 5 deletions docs/changelog.html
Expand Up @@ -5,13 +5,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>MatMiner Changlog &#8212; matminer 0.1.4 documentation</title>
<title>MatMiner Changlog &#8212; matminer 0.1.5 documentation</title>
<link rel="stylesheet" href="_static/nature.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '0.1.4',
VERSION: '0.1.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand All @@ -34,7 +34,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">matminer 0.1.4 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="index.html">matminer 0.1.5 documentation</a> &#187;</li>
</ul>
</div>

Expand All @@ -45,6 +45,19 @@ <h3>Navigation</h3>

<div class="section" id="matminer-changelog">
<h1>matminer Changelog<a class="headerlink" href="#matminer-changelog" title="Permalink to this headline"></a></h1>
<p><strong>v0.1.5</strong></p>
<ul class="simple">
<li>new Site and Structure fingerprints based on order parameters (N. Zimmermann)</li>
<li>DOSFeaturizer (M. Dylla)</li>
<li>Structure fingerprint can do cations/anions only (A. Jain)</li>
<li>include the degeneracy of the CBM/VBM in BandFeaturizer (A. Faghaninia)</li>
<li>fixes / updates to CitrineDataRetrieval (S. Bajaj)</li>
<li>more property stats (L. Ward)</li>
<li>fixes to AGNIFingerprint (L. Ward)</li>
<li>FigRecipes cleanup (A. Dunn)</li>
<li>updated examples, docs (A. Dunn)</li>
<li>various bugfixes, code cleanup (A. Jain)</li>
</ul>
<p><strong>v0.1.4</strong></p>
<ul class="simple">
<li>add a band structure featurizer (A. Faghaninia)</li>
Expand Down Expand Up @@ -130,12 +143,12 @@ <h3>Navigation</h3>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">matminer 0.1.4 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="index.html">matminer 0.1.5 documentation</a> &#187;</li>
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2015, Anubhav Jain.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.3.
</div>
</body>
</html>
13 changes: 7 additions & 6 deletions docs/contributors.html
Expand Up @@ -5,13 +5,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>MatMiner Contributors &#8212; matminer 0.1.4 documentation</title>
<title>MatMiner Contributors &#8212; matminer 0.1.5 documentation</title>
<link rel="stylesheet" href="_static/nature.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '0.1.4',
VERSION: '0.1.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand All @@ -34,7 +34,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">matminer 0.1.4 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="index.html">matminer 0.1.5 documentation</a> &#187;</li>
</ul>
</div>

Expand Down Expand Up @@ -78,9 +78,10 @@ <h2><a class="reference external" href="http://perssongroup.lbl.gov/">LBNL - Per
<div class="section" id="other">
<h2>Other<a class="headerlink" href="#other" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li>Kyle Bystrom (Asta Research Group)</li>
<li>Kyle Bystrom (Asta Research Group, UC Berkeley)</li>
<li>Shyue Ping Ong (UC San Diego)</li>
<li>Evgeny Blokhin (Tilde Lab)</li>
<li>Max Dylla (Snyder Research Group, Northwestern University)</li>
</ul>
</div>
</div>
Expand Down Expand Up @@ -132,12 +133,12 @@ <h3>Navigation</h3>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">matminer 0.1.4 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="index.html">matminer 0.1.5 documentation</a> &#187;</li>
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2015, Anubhav Jain.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.3.
</div>
</body>
</html>
14 changes: 7 additions & 7 deletions docs/example_bulkmod.html
Expand Up @@ -5,13 +5,13 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Predicting bulk moduli with matminer &#8212; matminer 0.1.4 documentation</title>
<title>Predicting bulk moduli with matminer &#8212; matminer 0.1.5 documentation</title>
<link rel="stylesheet" href="_static/nature.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '0.1.4',
VERSION: '0.1.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand All @@ -34,7 +34,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">matminer 0.1.4 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="index.html">matminer 0.1.5 documentation</a> &#187;</li>
</ul>
</div>

Expand Down Expand Up @@ -223,7 +223,7 @@ <h3>Step 4: Plot the results with FigRecipes<a class="headerlink" href="#step-4-
<span class="n">add_xy_plot</span><span class="o">=</span><span class="p">[</span><span class="n">xy_params</span><span class="p">])</span>
</pre></div>
</div>
<a class="reference internal image-reference" href="_images/example_bulkmod.png"><img alt="_images/example_bulkmod.png" src="_images/example_bulkmod.png" style="width: 630.0px; height: 497.0px;" /></a>
<a class="reference internal image-reference" href="_images/example_bulkmod.png"><img alt="_images/example_bulkmod.png" src="_images/example_bulkmod.png" style="width: 630.0px; height: 496.99999999999994px;" /></a>
<p>Great! We just fit a linear regression model to pymatgen features using matminer and sklearn. Now let’s use a Random
Forest model to examine the importance of our features.</p>
</div>
Expand Down Expand Up @@ -289,7 +289,7 @@ <h3>Step 6: Plot our results and determine what features are the most important<
<span class="n">add_xy_plot</span><span class="o">=</span><span class="p">[</span><span class="n">xy_line</span><span class="p">])</span>
</pre></div>
</div>
<a class="reference internal image-reference" href="_images/example_bulkmod_rf.png"><img alt="_images/example_bulkmod_rf.png" src="_images/example_bulkmod_rf.png" style="width: 646.4px; height: 517.6px;" /></a>
<a class="reference internal image-reference" href="_images/example_bulkmod_rf.png"><img alt="_images/example_bulkmod_rf.png" src="_images/example_bulkmod_rf.png" style="width: 646.4000000000001px; height: 517.6px;" /></a>
<p><strong>Step 6b: Plot the importance of the features we used</strong></p>
<div class="highlight-python"><div class="highlight"><pre><span></span><span class="n">importances</span> <span class="o">=</span> <span class="n">rf</span><span class="o">.</span><span class="n">feature_importances_</span>
<span class="n">X_cols</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">asarray</span><span class="p">(</span><span class="n">X_cols</span><span class="p">)</span>
Expand Down Expand Up @@ -365,12 +365,12 @@ <h3>Navigation</h3>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">matminer 0.1.4 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="index.html">matminer 0.1.5 documentation</a> &#187;</li>
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2015, Anubhav Jain.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.3.
</div>
</body>
</html>

0 comments on commit ee0fd79

Please sign in to comment.