-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from cmmorrow/2.0.0
2.0.0
- Loading branch information
Showing
91 changed files
with
8,552 additions
and
3,519 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
{} | ||
{ | ||
"sci_analysis/test/test_groupcorrelation.py::MyTestCase::test_pearson_correlation_different_alpha": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,28 @@ | ||
sudo: required | ||
language: python | ||
python: | ||
- "2.7" | ||
- "3.5" | ||
- '2.7' | ||
- '3.5' | ||
- '3.6' | ||
before_install: | ||
- "export DISPLAY=:99.0" | ||
- "sh -e /etc/init.d/xvfb start" | ||
- "sleep 3" | ||
- "sudo apt-get install libatlas-base-dev gfortran" | ||
- "mkdir $HOME/.matplotlib" | ||
- "echo 'backend: TkAgg' > $HOME/.matplotlib/matplotlibrc" | ||
# command to install dependencies | ||
install: | ||
# - "pip install numpy" | ||
- "pip install scipy" | ||
- "pip install pandas" | ||
- "pip install matplotlib" | ||
- "pip install six" | ||
- "pip install pytest" | ||
# command to run tests | ||
script: py.test | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
- sleep 3 | ||
- sudo apt-get install libatlas-base-dev gfortran | ||
- mkdir $HOME/.matplotlib | ||
- 'echo ''backend: TkAgg'' > $HOME/.matplotlib/matplotlibrc' | ||
install: | ||
- pip install scipy | ||
- pip install pandas | ||
- pip install matplotlib | ||
- pip install six | ||
- pip install pytest | ||
- pip install pytest-pep8 | ||
- pip install pytest-cov | ||
- pip install coveralls | ||
script: py.test --cov=sci_analysis --cov-report term-missing | ||
after_success: | ||
- coveralls | ||
notifications: | ||
slack: | ||
secure: 1oz2HBPjjnU8d1H25SptO9061qah1vVu/zsE8uhWYCTsDPWBXhPIN732AtT2NmXMIQwB7fMBRTDv6jmGBpmMZc7FZcL9gC106LrHBip7np3LeogFBerGaC4T1NcwX3rNmZP34pUxpkk34Wrg+EbeGGk4ufevC3yOZqn2PXw6vXz1+169PcYFFmeaQUnloBY1cP5dZ9+N01XFL1lXjdUxwL9dqlTESz2r1i1cV5JMxTQxXA3SkDERzjmNCasvVWXCMWT6i1HDTDZXNAHBhMUHXtM579qJt4fLB7B83Fn3sxyVunPmcSU62GBZ3WbUPUtqmpnjAYAB45S+KaNExL72fXl9fFqfjcR2Sj7njQnMDQc6B4MwQi/yzm8TAaK0gZPSxCIB1IwP4vn6o+Tzugrsi0niH4R9TzgoBmrVA64d1x9zVrklYk3ze162NxHaFefqbTbBPulF+5xHCeR/lBZfAsKoEJoyCBBpot04e4tbIHAtgqiMPyv5kMICU3F6pBbNsoSuTb0Oju9yoGERQvS2xSn/dvhRd6A4qvOWPwV4oEXgR6z9Eb0PH/utAdCfO7cLGs55ynTCPOW5lnUn+jGQqhWL/ojtlPJUBwviELMgImqlUfhXtMpk7M7wDICWXN/jZXwhK0DW49JJq6yUaAq0WhABfdt416kz0o0+cDowM5k= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,39 @@ | ||
# sci-analysis | ||
An easy to use python based data exploration and analysis tool by Chris Morrow | ||
An easy to use and powerful python-based data exploration and analysis tool | ||
|
||
## Current Version: | ||
1.4 --- Released August 19, 2016 | ||
2.0 --- Released December 31, 2017 | ||
|
||
[![PyPI](https://img.shields.io/pypi/v/sci_analysis.svg)](https://pypi.python.org/pypi/sci_analysis) | ||
[![PyPI](https://img.shields.io/pypi/format/sci_analysis.svg)](https://pypi.python.org/pypi/sci_analysis) | ||
[![PyPI](https://img.shields.io/pypi/pyversions/sci_analysis.svg)](https://pypi.python.org/pypi/sci_analysis) | ||
[![Build Status](https://travis-ci.org/cmmorrow/sci-analysis.svg?branch=master)](https://travis-ci.org/cmmorrow/sci-analysis) | ||
[![Build Status](https://travis-ci.org/cmmorrow/sci-analysis.svg?branch=2.0.0)](https://travis-ci.org/cmmorrow/sci-analysis) | ||
[![Coverage Status](https://coveralls.io/repos/github/cmmorrow/sci-analysis/badge.svg?branch=2.0.0)](https://coveralls.io/github/cmmorrow/sci-analysis?branch=master) | ||
|
||
### What is sci-analysis? | ||
sci-analysis is a python package for quickly performing statistical data analysis. It provides a graphical representation of the supplied data as well as the statistical analysis. sci-analysis is smart enough to determine the correct analysis and tests to perform based on the shape of the data you provide, as well as how the data is distributed. | ||
|
||
Currently, sci-analysis can only be used for analyzing numeric data. Categorical data analysis is planned for a future version. The three types of analysis that can be performed are histograms of single vectors, correlation between two vectors and one-way ANOVA. | ||
The types of analysis that can be performed are histograms of numeric or categorical data, bivariate analysis of two numeric data vectors, and one-way analysis of variance. | ||
|
||
### What's new in sci-analysis version 1.4? | ||
### What's new in sci-analysis version 2.0? | ||
|
||
In version 1.4, sci-analysis was re-written to be more pythonic and to support python 3. A ton of new graphing options have been added histograms, scatter plots and oneway plots. Histograms can now display an accompanying cumulative distribution plot and fit lines to a specified distribution can be displayed on both the histogram and cumulative distribution plot. Scatter plots can now overlay density contour lines and display boxplot borders. Boxplots have been revamped and are now overlayed on top of a kernel density estimation, which provides a much better representation of distribution density. New tests have been added for comparing two distributions -- Student's T Test for normally distributed data, the Mann Whitney U Test for non-parametric data and the two-sample Kolmogorov-Smirnov Test for small non-parametric samples. The Kolmogorov-Smirnov Test has been added for determining goodness-of-fit to a specified distribution as well. | ||
* In version 2.0, the code base was re-factored to use pandas as the internal data structure instead of numpy. This change shouldn't have a noticeable effect, but should lead to faster releases moving forward. | ||
* Categorical data is now supported by passing in a single array of string values to the ```analyze``` function. | ||
* Multiple scatter plots can now be shown on the same graph by passing in a *groups* argument. | ||
* Oneway analysis can now be performed on stacked data by passing in all the data to the ```analyze``` function and an array of the corresponding groups using the *groups* argument. | ||
* The function ```analyse``` was added as an alias to ```analyze```. | ||
|
||
### Getting started with sci-analysis | ||
The documentation on how to install and use sci-analysis can be found here: | ||
|
||
http://sci-analysis.readthedocs.io/en/latest/ | ||
[http://sci-analysis.readthedocs.io/en/latest/](http://sci-analysis.readthedocs.io/en/latest/) | ||
|
||
|
||
### Requirements | ||
* Packages: pandas, numpy, scipy, matplotlib, six | ||
* Supports python 2.7, 3.5 and 3.6 | ||
|
||
Bugs can be reported here: | ||
|
||
[https://github.com/cmmorrow/sci-analysis/issues](https://github.com/cmmorrow/sci-analysis/issues) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
============ | ||
sci-analysis | ||
============ | ||
|
||
An easy to use and powerful python-based data exploration and analysis tool | ||
|
||
--------------- | ||
Current Version | ||
--------------- | ||
|
||
2.0 --- Released December 31, 2017 | ||
|
||
.. image:: https://img.shields.io/pypi/v/sci_analysis.svg | ||
:target: https://pypi.python.org/pypi/sci_analysis | ||
.. image:: https://img.shields.io/pypi/format/sci_analysis.svg | ||
:target: https://pypi.python.org/pypi/sci_analysis | ||
.. image:: https://img.shields.io/pypi/pyversions/sci_analysis.svg | ||
:target: https://pypi.python.org/pypi/sci_analysis | ||
.. image:: https://travis-ci.org/cmmorrow/sci-analysis.svg?branch=2.0.0 | ||
:target: https://travis-ci.org/cmmorrow/sci-analysis | ||
.. image:: https://coveralls.io/repos/github/cmmorrow/sci-analysis/badge.svg?branch=2.0.0 | ||
:target: https://coveralls.io/github/cmmorrow/sci-analysis?branch=2.0.0 | ||
|
||
What is sci-analysis? | ||
--------------------- | ||
|
||
sci-analysis is a python package for quickly performing statistical data analysis. It provides a graphical representation of the supplied data as well as the statistical analysis. sci-analysis is smart enough to determine the correct analysis and tests to perform based on the shape of the data you provide, as well as how the data is distributed. | ||
|
||
The types of analysis that can be performed are histograms of numeric or categorical data, bivariate analysis of two numeric data vectors, and one-way analysis of variance. | ||
|
||
What's new in sci-analysis version 2.0? | ||
--------------------------------------- | ||
|
||
* In version 2.0, the code base was re-factored to use pandas as the internal data structure instead of numpy. This change shouldn't have a noticeable effect, but should lead to faster releases moving forward. | ||
* Categorical data is now supported by passing in a single array of string values to the ``analyze`` function. | ||
* Multiple scatter plots can now be shown on the same graph by passing in a *groups* argument. | ||
* Oneway analysis can now be performed on stacked data by passing in all the data to the ``analyze`` function and an array of the corresponding groups using the *groups* argument. | ||
* The function ``analyse`` was added as an alias to ``analyze``. | ||
|
||
Getting started with sci-analysis | ||
--------------------------------- | ||
|
||
The documentation on how to install and use sci-analysis can be found here: | ||
|
||
http://sci-analysis.readthedocs.io/en/latest/ | ||
|
||
Requirements | ||
------------ | ||
|
||
* Packages: pandas, numpy, scipy, matplotlib, six | ||
* Supports python 2.7, 3.5 and 3.6 | ||
|
||
Bugs can be reported here: | ||
|
||
https://github.com/cmmorrow/sci-analysis/issues | ||
|
Oops, something went wrong.