Skip to content
Closed
Changes from 2 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
50 changes: 50 additions & 0 deletions recipes/mlrose/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{% set name = "mlrose" %}
{% set version = "1.3.0" %}

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

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

build:
noarch: python
number: 0
script: "{{ PYTHON }} -m pip install . -vv"

requirements:
host:
- numpy
- scipy
- scikit-learn
Comment thread
beenje marked this conversation as resolved.
Outdated
- python >=3
- pip
run:
- python >=3

test:
imports:
- mlrose
requires:
- pip
commands:
- pip check

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The python package still requires sklearn instead of scikit-learn. This is why the test is failing. Remove this check (and the requires pip).
The import will be enough.


about:
home: https://github.com/gkhayes/mlrose
license: BSD-3-Clause
license_family: BSD
license_file: LICENSE
Comment thread
beenje marked this conversation as resolved.
summary: 'Python package for implementing a number of Machine Learning, Randomized Optimization and SEarch algorithms.'
description: |
mlrose is a Python package for applying some of the most common
randomized optimization and search algorithms to a range of different
optimization problems, over both discrete- and continuous-valued parameter spaces.
doc_url: https://mlrose.readthedocs.io/
dev_url: https://github.com/gkhayes/mlrose

extra:
recipe-maintainers:
- onelharrison