Skip to content

Commit

Permalink
skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
syurkevi committed Mar 26, 2021
0 parents commit 6d921c0
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 0 deletions.
12 changes: 12 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Copyright (c) 2014-2021, ArrayFire
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

* Neither the name ArrayFire nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# ArrayFire SKlearn MonkeyPatch

MonkeyPatch sklearn with ArrayFire accelerated variants.

## Quick Start


5 changes: 5 additions & 0 deletions af-sklearn-monkeypatch/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
__version__ = '0.1.0'

from .monkeypatcher import patch_sklearn, unpatch_sklearn, get_patch_names

__all__ = [patch_sklearn, unpatch_sklearn, get_patch_names]
8 changes: 8 additions & 0 deletions af-sklearn-monkeypatch/monkeypatcher.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import sklearn

def patch_sklearn
pass
def unpatch_sklearn:
pass
def get_patch_names():
pass
14 changes: 14 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
from setuptools import setup, find_packages

import af-sklearn-monkeypatch as afskmp

setup(
name=afskmp.__name__,
version=afskmp.__version__,
url='https://github.com/arrayfire/af-sklearn-monkeypatch',
author='ArrayFire',
author_email='[email protected]',
description='GPU accelerated monkey patch for sklearn',
packages=find_packages(exclude=['test']),
install_requires=['arrayfire>=3.8', 'numpy', 'scipy', 'sklearn']
)

0 comments on commit 6d921c0

Please sign in to comment.