<commit_before>{% set name = "scikit-learn-intelex" %}
{% set version = "2021.2.1" %}
{% set buildnumber = 0 %}

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

source:
  url: https://github.com/intel/scikit-learn-intelex/archive/{{ version }}.tar.gz
  sha256: 5cfd513245e686d5503ae6ef2d5a17dbf5d0ca41d14b2322a492e1f816ece251

build:
  skip: true  # [osx]
  number: {{ buildnumber }}
  script: "{{ PYTHON }} setup_sklearnex.py install --single-version-externally-managed --record=record.txt"

requirements:
  host:
    - python
    - setuptools
  run:
    - python
    - daal4py ==2020.3.1

test:
  requires:
    - pandas
    - scikit-learn
    - pytest
    - daal4py
  source_files:
    - sklearnex/tests
  commands:
    - python -c "import sklearnex"<commit_msg>adding scikit-learn to run<commit_after>{% set name = "scikit-learn-intelex" %}
{% set version = "2021.2.1" %}
{% set buildnumber = 0 %}

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

source:
  url: https://github.com/intel/scikit-learn-intelex/archive/{{ version }}.tar.gz
  sha256: 5cfd513245e686d5503ae6ef2d5a17dbf5d0ca41d14b2322a492e1f816ece251

build:
  skip: true  # [osx]
  number: {{ buildnumber }}
  script: "{{ PYTHON }} setup_sklearnex.py install --single-version-externally-managed --record=record.txt"

requirements:
  host:
    - python
    - setuptools
  run:
    - python
    - daal4py ==2020.3.1
    - scikit-learn >=0.21

test:
  requires:
    - pandas
    - pytest
  commands:
    - python -c "import sklearnex"
{'fraction_non_alphanumeric': 0.14473684210526316, 'fraction_numerical': 0.07631578947368421, 'mean_word_length': 3.1219512195121952, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1443192', 'n_tokens_mistral': 668, 'n_tokens_neox': 601, 'n_words': 110}