-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This release has been mostly code refactoring, with few minor extras such as making persimmon pipeable. Code * Persimmon is now registered at Pypi. * Refactored some loops in favor of generator expression/list comprehensions. * Annotated part of the codebase with type hinting. * Refactored property in derived class. * Implemented abstract classes that enforce overriding. Documentation * Updated README. * Fixed LaTeX cover template. The LaTeX documentation will probably move to its own repository soon.
- Loading branch information
Showing
61 changed files
with
611 additions
and
784 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 |
---|---|---|
|
@@ -28,3 +28,6 @@ dist/ | |
|
||
# CSV Files | ||
*.csv | ||
|
||
# virtualenv | ||
env |
File renamed without changes.
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 @@ | ||
global-include *.kv *.ini *.png |
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,27 @@ | ||
Persimmon ![travis](https://travis-ci.org/AlvarBer/Persimmon.svg?branch=master) | ||
=================== | ||
|
||
![Final aspect](docs/images/final_aspect.png) | ||
|
||
What is it? | ||
----------- | ||
Persimmon is a visual dataflow language for creating sklearn pipelines. | ||
|
||
It represents functions as blocks, inputs and outputs are presented as pins, | ||
and type safety is enforced when the connection is being made. | ||
|
||
![Type safety](docs/images/type_safety.gif) | ||
|
||
How to install? | ||
--------------- | ||
If you have pip (Python 3.5+) you can simply type | ||
|
||
`$> pip install persimmon` | ||
|
||
For windows self-contained executables can be found on the [releases page]. | ||
|
||
|
||
![Full use](docs/images/full_use.gif) | ||
|
||
|
||
[releases page]: https://github.com/AlvarBer/Persimmon/releases |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
\def\question#1\par#2\par{\hbox to \hsize | ||
{\vbox{\hsize=0.72\hsize #1\dotfill}\quad#2\hfil}\medskip\goodbreak} | ||
|
||
\newdimen\scalewidth | ||
\scalewidth=0.3\hsize | ||
|
||
\def\xfamiliar{\xscalee{not familiar at all}{very familiar}} | ||
\def\xagree{\xscalee{strongly disagree}{agree completely}} | ||
\def\boxes{\fiveboxes{}{}{}{}{}\ignorespaces} | ||
\def\xscale#1#2{% | ||
\setbox0=\hbox{\boxes}% | ||
\setbox1=\hbox to \wd0{\small\strut\hfill #2 $\to$}% | ||
\setbox2=\hbox to \wd0{\small\strut $\gets$ #1 \hfill}% | ||
\vbox{\vbox to 0pt{\vss\box1\box2\kern2pt}\vbox{\box0}}} | ||
|
||
\def\xdifficulty{\xscalee{very difficult}{very easy}} | ||
\def\xscalee#1#2{% | ||
\setbox0=\hbox{\boxees}% | ||
\setbox1=\hbox to \wd0{\small\strut\hfill #2 $\to$}% | ||
\setbox2=\hbox to \wd0{\small\strut $\gets$ #1 \hfill}% | ||
\vbox{\vbox to 0pt{\vss\box1\box2\kern2pt}\vbox{\box0}}} | ||
\def\boxees{\sevenboxes{}{}{}{}{}{}{}\ignorespaces} | ||
|
||
\def\boxit#1{\hbox{\lower0.7ex\vbox{\hrule\hbox{\vrule\kern1pt | ||
\vbox{\kern1pt\hbox to 1.4em | ||
{\small\strut\hfil #1\hfil}\kern1pt}\kern1pt\vrule}\hrule}}} | ||
|
||
\def\fiveboxes#1#2#3#4#5{\hbox to\scalewidth | ||
{\boxit{#1}\hfil\boxit{#2}\hfil\boxit{#3}\hfil% | ||
\boxit{#4}\hfil\boxit{#5}}} | ||
|
||
\def\sevenboxes#1#2#3#4#5#6#7{\hbox to\scalewidth | ||
{\boxit{#1}\hfil\boxit{#2}\hfil\boxit{#3}\hfil% | ||
\boxit{#4}\hfil\boxit{#5}\hfil\boxit{#6}\hfil\boxit{#7}}} | ||
|
||
\def\freequestion#1\par{#1\par\nobreak | ||
\begingroup\nobreak | ||
\advance\leftskip by 2pc | ||
\hrule width 0pt height 1.7\baselineskip\hrulefill | ||
\hrule width 0pt height 1.7\baselineskip\hrulefill | ||
\par | ||
\medskip | ||
\endgroup | ||
} |
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
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
Oops, something went wrong.