Skip to content

Commit

Permalink
V0.5.1 (#149)
Browse files Browse the repository at this point in the history
* update tensorflow variable initialization to new api

* fix theme deprecations and add changelog

* v0.5.1

* v0.5.1

* test sfs defaults properly
  • Loading branch information
rasbt authored Feb 14, 2017
1 parent 5c83985 commit 86e40d5
Show file tree
Hide file tree
Showing 8 changed files with 42 additions and 37 deletions.
28 changes: 14 additions & 14 deletions docs/cinder/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<html lang="en">

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">{% if page_description %}
<meta name="description" content="{{ page_description }}">{% endif %} {% if site_author %}
<meta name="author" content="{{ site_author }}">{% endif %} {% if canonical_url %}
<link rel="canonical" href="{{ canonical_url }}">{% endif %} {% if favicon %}
<link rel="shortcut icon" href="{{ base_url }}/{{ favicon }}">{% else %}
<page.page.meta charset="utf-8">
<page.page.meta http-equiv="X-UA-Compatible" page.content="IE=edge">
<page.page.meta name="viewport" page.content="width=device-width, initial-scale=1.0">{% if config.site_description %}
<page.page.meta name="description" page.content="{{ config.site_description }}">{% endif %} {% if config.site_author %}
<page.page.meta name="author" page.content="{{ config.site_author }}">{% endif %} {% if page.canonical_url %}
<link rel="canonical" href="{{ page.canonical_url }}">{% endif %} {% if "{{ base_url }}/img/favicon.ico" %}
<link rel="shortcut icon" href="{{ base_url }}/img/favicon.ico">{% else %}
<link rel="shortcut icon" href="{{ base_url }}/img/favicon.ico">{% endif %}

<title>{% if page_title %}{{ page_title }} - {% endif %}{{ site_name }}</title>
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ config.site_name }}</title>

<link href="{{ base_url }}/css/bootstrap-custom.min.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css" rel="stylesheet">
Expand Down Expand Up @@ -40,7 +40,7 @@
});
</script>

{% if google_analytics %}
{% if config.google_analytics %}
<script>
(function(i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
Expand All @@ -54,13 +54,13 @@
m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');

ga('create', '{{ google_analytics[0] }}', '{{ google_analytics[1] }}');
ga('create', '{{ config.google_analytics[0] }}', '{{ config.google_analytics[1] }}');
ga('send', 'pageview');
</script>
{% endif %}
</head>

<body{% if current_page and current_page.is_homepage %} class="homepage" {% endif %}>
<body{% if page and page.is_homepage %} class="homepage" {% endif %}>

{% include "nav.html" %}

Expand All @@ -73,8 +73,8 @@

<footer class="col-md-12 text-center">
<hr>
<p>{% if copyright %}
<small>{{ copyright }}<br></small>
<p>{% if config.copyright %}
<small>{{ config.copyright }}<br></small>
{% endif %}
<small>Documentation built with <a href="http://www.mkdocs.org/">MkDocs</a>.</p></small>
</footer>
Expand Down Expand Up @@ -122,7 +122,7 @@ <h4 class="modal-title" id="exampleModalLabel">Search</h4>
</body>

</html>
{% if current_page and current_page.is_homepage %}
{% if page and page.is_homepage %}
<!--
MkDocs version : {{ mkdocs_version }}
Build Date UTC : {{ build_date_utc }}
Expand Down
6 changes: 3 additions & 3 deletions docs/cinder/content.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{% if meta.source %}
{% if page.meta.source %}
<div class="source-links">
{% for filename in meta.source %}
{% for filename in page.meta.source %}
<span class="label label-primary">{{ filename }}</span>
{% endfor %}
</div>
{% endif %}

{{ content }}
{{ page.content }}
26 changes: 13 additions & 13 deletions docs/cinder/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<!-- Collapsed navigation -->
<div class="navbar-header">
{% if include_nav or include_next_prev or repo_url %}
{% if nav|length>1 or page.next_page or page.previous_page or page.repo_url %}
<!-- Expander button -->
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
Expand All @@ -14,12 +14,12 @@
{% endif %}

<!-- Main title -->
<a class="navbar-brand" href="{{ homepage_url }}">{{ site_name }}</a>
<a class="navbar-brand" href="{{ nav.homepage.url }}">{{ config.site_name }}</a>
</div>

<!-- Expanded navigation -->
<div class="navbar-collapse collapse">
{% if include_nav %}
{% if nav|length>1 %}
<!-- Main navigation -->
<ul class="nav navbar-nav">
{% for nav_item in nav %}
Expand Down Expand Up @@ -47,27 +47,27 @@
<i class="fa fa-search"></i> Search
</a>
</li>
{% if include_next_prev %}
<li {% if not previous_page %}class="disabled"{% endif %}>
<a rel="next" {% if previous_page %}href="{{ previous_page.url }}"{% endif %}>
{% if page.next_page or page.previous_page %}
<li {% if not page.previous_page %}class="disabled"{% endif %}>
<a rel="next" {% if page.previous_page %}href="{{ page.previous_page.url }}"{% endif %}>
<i class="fa fa-arrow-left"></i> Previous
</a>
</li>
<li {% if not next_page %}class="disabled"{% endif %}>
<a rel="prev" {% if next_page %}href="{{ next_page.url }}"{% endif %}>
<li {% if not page.next_page %}class="disabled"{% endif %}>
<a rel="prev" {% if page.next_page %}href="{{ page.next_page.url }}"{% endif %}>
Next <i class="fa fa-arrow-right"></i>
</a>
</li>
{% endif %}
{% if repo_url %}
{% if page.repo_url %}
<li>
<a href="{{ repo_url }}">
{% if repo_name == 'GitHub' %}
<a href="{{ page.repo_url }}">
{% if page.repo_name == 'GitHub' %}
<i class="fa fa-github"></i>
{% elif repo_name == 'Bitbucket' %}
{% elif page.repo_name == 'Bitbucket' %}
<i class="fa fa-bitbucket"></i>
{% endif %}
{{ repo_name }}
{{ page.repo_name }}
</a>
</li>
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion docs/cinder/toc.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="bs-sidebar hidden-print affix well" role="complementary">
<ul class="nav bs-sidenav">
{% for toc_item in toc %}
{% for toc_item in page.toc %}
<li class="main {% if toc_item.active %}active{% endif %}"><a href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>
{% for toc_item in toc_item.children %}
<li><a href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>
Expand Down
12 changes: 9 additions & 3 deletions docs/sources/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,22 @@

---

The CHANGELOG for the current development version is available at
[https://github.com/rasbt/mlxtend/blob/master/docs/sources/CHANGELOG.md](https://github.com/rasbt/mlxtend/blob/master/docs/sources/CHANGELOG.md).

---


### Version 0.5.1 (2017-02-14)

### Version 0.5.1dev0

The CHANGELOG for the current development version is available at
[https://github.com/rasbt/mlxtend/blob/master/docs/sources/CHANGELOG.md](https://github.com/rasbt/mlxtend/blob/master/docs/sources/CHANGELOG.md).

##### Downloads

- [Source code (zip)](https://github.com/rasbt/mlxtend/archive/0.5.0.zip)
- [Source code (tar.gz)](https://github.com/rasbt/mlxtend/archive/v0.5.0.tar.gz)
- [Source code (zip)](https://github.com/rasbt/mlxtend/archive/0.5.1.zip)
- [Source code (tar.gz)](https://github.com/rasbt/mlxtend/archive/v0.5.1.tar.gz)

##### New Features

Expand Down
2 changes: 1 addition & 1 deletion docs/sources/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

![](./img/logo.png)

### Welcome to mlxtends documentation!
### Welcome to mlxtend's documentation!

**Mlxtend (machine learning extensions) is a Python library of useful tools for the day-to-day data science tasks.**

Expand Down
2 changes: 1 addition & 1 deletion mlxtend/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
#
# License: BSD 3 clause

__version__ = '0.5.1.dev0'
__version__ = '0.5.1'
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ def test_run_default():
y = iris.target
knn = KNeighborsClassifier()
sfs = SFS(estimator=knn,
k_features=1,
verbose=0)
sfs.fit(X, y)
assert sfs.k_feature_idx_ == (3, )
Expand Down

0 comments on commit 86e40d5

Please sign in to comment.