Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add (optional) dependencies of newer tpot #4708

Merged
merged 8 commits into from
Jan 5, 2018
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions recipes/scikit-mdr/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{% set name = "scikit-MDR" %}
{% set version = "0.4.4" %}
{% set sha256 = "fc4e6710c7ac7a63c55641773388e43cc75bbe19f8d946bb8ac09eadb7d9eb2e" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
fn: {{ name }}-{{ version }}.tar.gz
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: {{ sha256 }}

build:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works locally!

number: 0
noarch: python
script: python setup.py install --single-version-externally-managed --record record.txt

requirements:
build:
- python
- setuptools
run:
- matplotlib
- numpy
- python
- scikit-learn
- scipy

test:
imports:
- mdr

about:
home: https://github.com/EpistasisLab/scikit-mdr
license: MIT
license_family: MIT
license_file: LICENSE
summary: |
A sklearn-compatible Python implementation of Multifactor Dimensionality
Reduction (MDR) for feature construction.

description: |
MDR is an effective feature construction algorithm that is capable of
modeling higher-order interactions and capturing complex patterns in data
sets.

MDR currently only works with categorical features and supports both binary
classification and regression problems. We are working on expanding the
algorithm to cover more problem types and provide more convenience features.
dev_url: https://github.com/EpistasisLab/scikit-mdr

extra:
recipe-maintainers:
- bollwyvl
- bryketos
- EpistasisLab
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

at request of @rhiever, i've added @EpistasisLab as a maintainer, which is an organization (in this case, a lab at Penn)

EpistasisLab/scikit-rebate#31 (comment)

This does seem like a great feature for certain cases, but maybe not in all, depending on how the org in question is structured... figured I'd let CI chew on it, but any formal guidance would be good!

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can provide a list of specific GitHub names to use in place of the org if needed/desired.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated with list given.

- pschmitt52
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pschmitt52, can you comment here that you're okay being added as a co-maintainer to skrebate and scikit-mdr?

- rhiever
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rhiever, can you comment here that you're okay being added as a co-maintainer to skrebate and scikit-mdr?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine with me!

- weixuanfu
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@weixuanfu, can you comment here that you're okay being added as a co-maintainer to skrebate and scikit-mdr?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine with me! Thank you!

57 changes: 57 additions & 0 deletions recipes/skrebate/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{% set name = "skrebate" %}
{% set version = "0.4" %}
{% set sha256 = "e7311e2ef54461a2d6df4ac4c81d74dec9e71ccd02040bc7fadb3a5221225cc2" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
fn: {{ name }}-{{ version }}.tar.gz
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: {{ sha256 }}

build:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also possibly noarch: python?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also works locally

number: 0
noarch: python
script: python setup.py install --single-version-externally-managed --record record.txt

requirements:
build:
- python
- setuptools
run:
- numpy
- python
- scikit-learn
- scipy

test:
imports:
- skrebate

about:
home: https://epistasislab.github.io/scikit-rebate
license: MIT
license_family: MIT
# TODO: upstream a PR to add LICENSE to MANIFEST.in
# license_file: LICENSE
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please submit the PR and list it as a comment in this recipe. Also:

conda-forge.github.io/docs/meta.html#packaging-the-license-manually

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR!

summary: |
A scikit-learn-compatible Python implementation of ReBATE, a suite of
Relief-based feature selection algorithms for Machine Learning.
description: |
These algorithms excel at identifying features that are predictive of the
outcome in supervised learning problems, and are especially good at
identifying feature interactions that are normally overlooked by standard
feature selection methods.
doc_url: https://epistasislab.github.io/scikit-rebate
dev_url: https://github.com/EpistasisLab/scikit-rebate

extra:
recipe-maintainers:
- bollwyvl
- bryketos
- EpistasisLab
- pschmitt52
- rhiever
- weixuanfu
49 changes: 49 additions & 0 deletions recipes/stopit/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{% set name = "stopit" %}
{% set version = "1.1.1" %}
{% set sha256 = "d879a892e6c0d524763b8bf20831a78311d86ea59ec199ec551abf3f494b0708" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
fn: {{ name }}-{{ version }}.tar.gz
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: {{ sha256 }}

build:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possibly noarch: python

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works locally

number: 0
noarch: python
script: python setup.py install --single-version-externally-managed --record record.txt

requirements:
build:
- python
- setuptools
run:
- python
- setuptools


test:
imports:
- stopit

about:
home: https://pypi.python.org/pypi/stopit
license: GPL-3.0
license_family: GPL
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you submit an issue upstream asking them to include a license file in the source distribution and put a link to the issue as a comment here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR!

summary: |
Raise asynchronous exceptions in other thread, control the timeout of
blocks or callables with a context manager or a decorator
description: |
This module provides:
- a function that raises an exception in another thread, including the
main thread.
- two context managers that may stop its inner block activity on timeout.
- two decorators that may stop its decorated callables on timeout.
dev_url: https://github.com/glenfant/stopit

extra:
recipe-maintainers:
- bollwyvl