Coder Social home page Coder Social logo

biolab / orange3 Goto Github PK

View Code? Open in Web Editor NEW
4.6K 181.0 984.0 98.44 MB

🍊 :bar_chart: :bulb: Orange: Interactive data analysis

Home Page: https://orangedatamining.com

License: Other

Python 98.53% C 0.27% Shell 0.01% C++ 0.02% Jupyter Notebook 0.08% Cython 1.07%
data-mining data-science machine-learning data-visualization orange python scikit-learn numpy scipy pandas

orange3's Issues

CloneContexts does not work

TypeError Traceback (most recent call last):
File "/Users/janezdemsar/orange3/Orange/canvas/scheme/widgetsscheme.py", line 546, in process_signals_for_widget
handler(_args)
File "/Users/janezdemsar/orange3/Orange/widgets/visualize/owboxplot.py", line 198, in data
self.openContext(self.ddataset)
File "/Users/janezdemsar/orange3/Orange/widgets/widget.py", line 548, in openContext
self.settingsHandler.open_context(self, *a)
File "/Users/janezdemsar/orange3/Orange/widgets/settings.py", line 262, in open_context
self.find_or_create_context(widget, *arg, *_argkw)
File "/Users/janezdemsar/orange3/Orange/widgets/settings.py", line 391, in find_or_create_context
super().find_or_create_context(widget, *encoded_domain)
File "/Users/janezdemsar/orange3/Orange/widgets/settings.py", line 292, in find_or_create_context
context = self.clone_context(best_context, *arg)
TypeError: clone_context() takes exactly 5 arguments (4 given)

Define the hiearchy of filters

The filters should support any kind of data selection (rows or columns), as they will also be used for describing data sets in proxies used for SQL-based data storage.

For the beginning, think about what is needed for widget Select Data

Implement SVM Learner

Use any suitable library (probably sklearn) and assume that the data is stored in numpy.

Add sample datasets

Orange3 is currently missing any datasets. Copy datasets from orange2 repository, add them to default search patch and fix the FileWidget.

Implement ReliefF

The code may assume (at least for the time being) that the data is stored in numpy matrices; if it is not, it is allowed to load them into numpy.

If we want to implement the ReliefF for data stored in SQL, we will probably at least partially do it on the server side.

Implement naive Bayesian learner

For demonstration purposes, let this learner be written so that it does not assume a particular type of storage, e.g., let it use distributions and contingencies computed by the storage.

bincount - unexpected keyword argument 'mask'

Sample code that reproduces this error but works without (//2 + 1).

x = np.random.random_integers(1, 3, (10, 4))
y = np.random.random_integers(1, 5, (10, 1)) // 2 + 1
table_rand = Orange.data.Table(x, y)
dist_rand = distribution.get_distribution(table_rand, table_rand.domain.class_var)

Installation instructions in README.txt

They need some updating -- it is not as easy as described there.

For instance, scipy doesn't seem pip-installable -- it complains about the missing BLAS libraries, at least on Ubuntu 13. It seems better to install numpy and scipy through apt-get, globally, not within virtual environment.

I suggest keeping them in requirements.txt, but instruct people to install it with apt-get.

This seems to approximately work on a fresh Ubuntu 13:

# This is needed for setting up virtual environments in Python 3
sudo apt-get install python3-setuptools
sudo easy_install pip
sudo pip install virtualenv

    #
sudo apt-get install git # needed for Orange
sudo apt-get install mercurial # needed for bottlechest (we'll move it to git!)
#
# Python libraries that are better installed globally
sudo apt-get install python3-dev
sudo apt-get install python3-pyqt4 # this is not pip-installable in py3
sudo apt-get install python3-numpy python3-scipy # pip complains about missing BLAS
    #
# Set up virtual environment
virtualenv --system-site-packages virtualenv/orange3
. virtualenv/orange3/bin/activate
    #
# Clone orange, get the remaining requirements and compile the Cython code
git clone https://github.com/biolab/orange3.git
cd orange3
pip install -r requirements
python setup.py develop
    #
# for widget SQL Table
sudo apt-get install postgresql libpg-dev
pip install psycopg2
    #
# orangeqt is needed for widget box plot
# -- this doesn't work, it builds orangeqt.so without init function!
cd
hg clone https://bitbucket.org/biolab/orange
cd orange/source/orangeqt
sudo apt-get install libqt4-dev python-sip-dev cmake
cmake

Port orangeqt to orange3

move orangeqt to a separate repository
get rid of cmake
describe how to build it for python3

The following almost works, except that it the module misses the init function

hg clone https://bitbucket.org/biolab/orange
cd orange/source/orangeqt
sudo apt-get install libqt4-dev python-sip-dev cmake
cmake

Saving in .csv format

The current function Orange.data.io.csvSaver does not handle meta attributes and doesn't add flags like D# and C# for cases in which automated recognition of variable types would fail.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.