Skip to content

Commit

Permalink
Merge pull request #6 from kernc/requirements-help
Browse files Browse the repository at this point in the history
Requirements help
  • Loading branch information
jamartinh committed Dec 1, 2015
2 parents eacc643 + 6dc6026 commit b96c5de
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 22 deletions.
48 changes: 27 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,24 @@
Orange3-Spark
==================
=============

A set of widgets for Python's Orange Machine Learning to work over Apache Spark ML (Machine Learnint) API
A set of widgets for Orange data mining suite to work with Apache Spark ML API.


Requirements
------------

Requirements:
-----------------

- Python >=3.4

- Python >= 3.4
- Pandas

- Orange3

Please follow the instruction to install Orange3 first.
The main Orange proyect is hosted at: https://github.com/biolab/orange3


- Orange 3

Please follow the instruction to install Orange 3 first.

The main Orange project is hosted at: https://github.com/biolab/orange3
Download from: http://orange.biolab.si


It includes:
-------------------
Features
--------

* A Spark Context.
* A Hive Table.
Expand All @@ -39,12 +34,23 @@ It includes:

... more coming soon!

Installing:
---------------

pip install Orange3-spark
Installing
----------

First, you need to have Apache Spark installed. Follow the instructions here:
http://spark.apache.org/docs/latest/

Then you can do:

pip install Orange3-spark

or from the Orange3 add-on menu.
or install the add-on from the Orange's Options | Add-ons menu. Note, if
installing from Add-ons menu, the installation may fail if not all requirements
are satisfiable.

If install is Ok, you will see a new section in Orange ML containing a series of widgets from Spark ML API.
If you require ODBC connectivity, you need to install `pyodbc`
(which requires `sql.h` available if built with `pip`
that's `unixodbc-dev` package on Linux).

If install is ok, you should see a new section in Orange containing a series of widgets from Spark ML API.
11 changes: 10 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,16 @@
'orangecontrib.spark': ['tutorials/*.ows'],
'orangecontrib.spark.widgets': ['icons/*'],
},
install_requires = ['Orange', 'pandas', 'sqlparse', 'pyodbc'],
install_requires = [
'Orange',
'pandas',
'py4j',
'sqlparse',
'pyodbc',
],
extras_require = {
'pyspark': [],
},
entry_points = ENTRY_POINTS,
keywords = ", ".join(KEYWORDS),
namespace_packages = ['orangecontrib'],
Expand Down

0 comments on commit b96c5de

Please sign in to comment.