You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@madlib.apache.org by Fatima Castiglione Maldonado 发 <ca...@gmail.com> on 2016/12/20 21:28:08 UTC

full Python API for MADlib

Hi,

does anybody know how to participate in the "full Python API for MADlib"
effort? I would like to give a helping hand.

Best,
Fatima



-- 
=================================
Fátima Castiglione Maldonado
Singer, Designer, Creative, Artificial Intelligence
Cantante, Diseñadora, Creativa, Inteligencia Artificial
castiglionemaldonado@gmail.com

                     ____
                   ,'_   |
 __________________|__|__|__
<_____                      )                _.------._
      `-----------,------.-'              ,-'          `-.
                 |    |  |              ,'                `.
                ,'    |  |            ,'                    `.
                |  _,-'  |__         /                        \
              _,'-'    `.   `---.___|_____________             \
          .--'  -----.  | _____________________   `-. -----     |
          |    ___|  |  |                      \  ,- \          |
          |    ___|  |===========================((|) |         |
          |       |  |  | _____________________/  `- /          |
          `--._ -----'  |        _________________,-' -----     |
               `.-._   ,' __.---'   |                          /
                |   `-.  |           \                        /
                `.    |  |            `.                    ,'
                 |    |  |              `.                ,'
 _____,----------`-------`-.              `-._        _,-'
<___________________________)                 `------'
                   | _|  |
                   `.____|



=================================

Re: full Python API for MADlib

Posted by Rahul Iyer <ra...@gmail.com>.
On Sun, Jan 8, 2017 at 8:39 PM, Fatima Castiglione Maldonado 发 <
castiglionemaldonado@gmail.com> wrote:

>
> Should I update this for panda 0.19.2 and so replace all read_frame usages
> with read_sql ?
>

​That'll be great. As you said, it's been a while since PyMADlib has had an
update and would benefit from a refresh.

Thanks,
Rahul​

Re: full Python API for MADlib

Posted by Fatima Castiglione Maldonado 发 <ca...@gmail.com>.
Well...
I got everything installed and (mostly) everything running (GPDB, MADlib,
pymadlib).

example.py looks like a perfect starting point as it calls the 5 MADlib
algorithms that were available when pymadlib was last updated (2013).

example.py uses panda:
import pandas.io.sql as psql

While trying to run example.py, I got the following error message:

=====================================================
/usr/bin/python2.7 /home/yo/Downloads/code/pymadlib/pymadlib/example.py
Traceback (most recent call last):
  File "/home/yo/Downloads/code/pymadlib/pymadlib/example.py", line 446, in
<module>
    runDemos()
  File "/home/yo/Downloads/code/pymadlib/pymadlib/example.py", line 443, in
runDemos
    pyMADlibDemo()
  File "/home/yo/Downloads/code/pymadlib/pymadlib/example.py", line 424, in
pyMADlibDemo
    linearRegressionDemo(conn)
  File "/home/yo/Downloads/code/pymadlib/pymadlib/example.py", line 81, in
linearRegressionDemo
    mdl_dict, mdl_params =
lreg.train('public.wine_training_set',['1','alcohol','proline','hue','color_intensity','flavanoids'],'quality')
  File "/home/yo/Downloads/code/pymadlib/pymadlib/pymadlib.py", line 127,
in train
    table_name, indep, dep, col_distinct_vals_dict =
pivotCategoricalColumns(self.dbconn,table_name, indep, dep)
  File "/home/yo/Downloads/code/pymadlib/pymadlib/utils.py", line 310, in
pivotCategoricalColumns
    col_types_dict = __getColTypesDict__(conn,tbl_schema, tbl_nm)
  File "/home/yo/Downloads/code/pymadlib/pymadlib/utils.py", line 141, in
__getColTypesDict__
    result = psql.read_frame(col_types_stmt, conn.getConnection())
AttributeError: 'module' object has no attribute 'read_frame'

Process finished with exit code 1
=====================================================

Error is related to panda... I understand that *read_frame* method has been
depricated in favour of the *read_sql* method.

Should I update this for panda 0.19.2 and so replace all read_frame usages
with read_sql ?


Thanks in advance,
Fatima



2017-01-03 19:41 GMT-03:00 Fatima Castiglione Maldonado 发 <
castiglionemaldonado@gmail.com>:

> SELECT madlib.version()
>                                                                         ;
>
>
> version
>
>
> ------------------------------------------------------------
> ------------------------------------------------------------
> ------------------------------
> ------------------------------------------------------------
> ---------------------
>  MADlib version: 1.9.1, git revision: rel/v1.9.1, cmake configuration
> time: Mon Sep 19 18:54:04 UTC 2016, build type: Release, build system:
> Linux-2.6
> .18-238.27.1.el5.hotfix.bz516490, C compiler: gcc 4.4.0, C++ compiler:
> g++ 4.4.0
> (1 row)
>
>
> So it's ok
>
> I started working on pymadlib code yesterday, will let you know as soon as
> I got something to show
>
>
>
> 2017-01-03 19:07 GMT-03:00 Rahul Iyer <ra...@gmail.com>:
>
>> If you do a `SELECT madlib.version()` in your database, it should show
>> the installed version. That's the one that pymadlib will eventually call.
>>
>> On Tue, Jan 3, 2017 at 2:05 PM, Fatima Castiglione Maldonado 发 <
>> castiglionemaldonado@gmail.com> wrote:
>>
>>> Yes, I did install it on GPDB and it is working ok (I tested it with
>>> some examples from the "Getting Started" guide, just in case)
>>>
>>> 1. in any case I understand that the PyPi version won't execute as
>>> pymadlib is calling GPDB directly and then MADlib will run inside GPDB...
>>> Is that true?
>>>
>>> 2. should I uninstall the PyPi version?
>>>
>>> best,
>>> Fatima
>>>
>>>
>>>
>>> 2017-01-03 18:54 GMT-03:00 Rahul Iyer <ra...@gmail.com>:
>>>
>>>> Hi Fatima,
>>>>
>>>> The `pip` package for MADlib was built by an outside contributor who
>>>> hasn't updated the package. I'm not sure if PyPi is the right place
>>>> for MADlib, since it is not a Python package (not the same as
>>>> Pymadlib).
>>>>
>>>> I suggest installing MADlib through the RPM available on the webpage.
>>>>
>>>> Best,
>>>> Rahul
>>>>
>>>> On Sun, Jan 1, 2017 at 4:46 PM, Fatima Castiglione Maldonado 发
>>>> <ca...@gmail.com> wrote:
>>>> > Just to let you know (maybe it was done on purpose?) but I have just
>>>> find
>>>> > out something quaint.
>>>> >
>>>> > I have already installed MADlib 1.9.1 on GPDB. Am playing around with
>>>> the
>>>> > environment, so I installed MADlib using pip and got this:
>>>> >
>>>> > [root@mdw ~]# pip install MADlib
>>>> > Collecting MADlib
>>>> >   Downloading Madlib-1.0.tar.gz
>>>> > Installing collected packages: MADlib
>>>> >   Running setup.py install for MADlib ... done
>>>> > Successfully installed MADlib-1.0
>>>> >
>>>> > Shouldn't it be 1.9.1 too?
>>>> >
>>>> >
>>>> > Happy new year,
>>>> > Fatima
>>>> >
>>>> >
>>>> >
>>>> > 2016-12-28 1:35 GMT-03:00 Fatima Castiglione Maldonado 发
>>>> > <ca...@gmail.com>:
>>>> >>
>>>> >> Brevity is a virtue.
>>>> >>
>>>> >> 2016-12-28 0:36 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:
>>>> >>>
>>>> >>> Yes
>>>> >>>
>>>> >>> Sent from my mobile.  Please excuse brevity.
>>>> >>>
>>>> >>> On Dec 27, 2016 6:19 PM, "Fatima Castiglione Maldonado 发"
>>>> >>> <ca...@gmail.com> wrote:
>>>> >>>>
>>>> >>>> Hi
>>>> >>>>
>>>> >>>> 1.
>>>> >>>> I have installed CentOS 7 and GPDB 4.3.11.
>>>> >>>> It works ok and I can run standard SQL examples, no problems.
>>>> >>>>
>>>> >>>> 2. I am now installing MADlib 1.9.1
>>>> >>>>
>>>> >>>> "This is an important note for installation of MADlib 1.9.1 on
>>>> >>>> GPDB 4.3.10.  It does not apply to any other GPDB releases.
>>>> >>>>
>>>> >>>> After gppkg installation of MADlib, you must run the script
>>>> >>>> fix_madpack.sh BEFORE running the madpack utility."
>>>> >>>>
>>>> >>>> Should I run this script for 4.3.11 ?
>>>> >>>>
>>>> >>>> Thanks in advance for any answer.
>>>> >>>> Fatima
>>>> >>>>
>>>> >>>>
>>>> >>>> 2016-12-24 0:11 GMT-03:00 Fatima Castiglione Maldonado 发
>>>> >>>> <ca...@gmail.com>:
>>>> >>>>>
>>>> >>>>> > I think forking Pymadlib code and making it work for your use
>>>> case
>>>> >>>>> > would be >great first step.
>>>> >>>>>
>>>> >>>>> Completely d'accord.
>>>> >>>>>
>>>> >>>>> > I do have thoughts on what Python API for MADlib should achieve
>>>> and
>>>> >>>>> > how that can be designed, but that's a bigger discussion we can
>>>> have after
>>>> >>>>> > we've made initial progress.
>>>> >>>>>
>>>> >>>>> Yap. Once I can make at least one algorithm to run with 1.9.1, ok?
>>>> >>>>> Maybe fixing more than one will be useless, if we plan to change
>>>> external
>>>> >>>>> API... I would probably have to rework all the parameter-tweaking
>>>> stuff...
>>>> >>>>> Boring to make it twice.
>>>> >>>>>
>>>> >>>>> > An important step in building the API is consistency esp. with
>>>> >>>>> > external API. For that purpose following scikit-learn's
>>>> structure would be
>>>> >>>>> > helpful.
>>>> >>>>>
>>>> >>>>> That's would be smart. Honestly I did not see it coming, but now
>>>> that
>>>> >>>>> you said it, I agree 100%, as it would make Pymadlib instantly
>>>> "pluggable"
>>>> >>>>> whit what is probably a nice lot of pre-existing code.
>>>> >>>>>
>>>> >>>>> Will keep you updated.
>>>> >>>>>
>>>> >>>>>
>>>> >>>>>
>>>> >>>>>
>>>> >>>>>
>>>> >>>>> 2016-12-23 20:07 GMT-03:00 Rahul Iyer <ra...@gmail.com>:
>>>> >>>>>>
>>>> >>>>>> Hi Fatima,
>>>> >>>>>>
>>>> >>>>>> Thanks for starting this work.
>>>> >>>>>>>
>>>> >>>>>>> When you get back to work please let me know if you are OK with
>>>> me
>>>> >>>>>>> forking this code base, or if you are thinking to make any
>>>> important
>>>> >>>>>>> changes.
>>>> >>>>>>>
>>>> >>>>>> I think forking Pymadlib code and making it work for your use
>>>> case
>>>> >>>>>> would be great first step. I do have thoughts on what Python API
>>>> for MADlib
>>>> >>>>>> should achieve and how that can be designed, but that's a bigger
>>>> discussion
>>>> >>>>>> we can have after we've made initial progress.
>>>> >>>>>>
>>>> >>>>>> An important step in building the API is consistency esp. with
>>>> >>>>>> external API. For that purpose following scikit-learn's
>>>> structure would be
>>>> >>>>>> helpful. We can go over specifics after initial progress.
>>>> >>>>>>
>>>> >>>>>>>
>>>> >>>>>>> Am also watching the videos so I get more familiar with
>>>> available
>>>> >>>>>>> algorithms.
>>>> >>>>>>> In my next available time slot will install it all so am ready
>>>> to
>>>> >>>>>>> start.
>>>> >>>>>>
>>>> >>>>>>
>>>> >>>>>> The videos + getting Pymadlib to work are the right goals to
>>>> start
>>>> >>>>>> with. Feel free to let this forum know about progress and
>>>> questions.
>>>> >>>>>>
>>>> >>>>>> Best,
>>>> >>>>>> Rahul
>>>> >>>>>>>
>>>> >>>>>>> 2016-12-22 17:49 GMT-03:00 Fatima Castiglione Maldonado 发
>>>> >>>>>>> <ca...@gmail.com>:
>>>> >>>>>>>>
>>>> >>>>>>>> Great, thanks. We will check it once I read a bit more and
>>>> then we
>>>> >>>>>>>> can talk.
>>>> >>>>>>>>
>>>> >>>>>>>> 2016-12-22 17:28 GMT-03:00 Frank McQuillan <
>>>> fmcquillan@pivotal.io>:
>>>> >>>>>>>>>
>>>> >>>>>>>>> This is an early attempt at a Python interface for MADlib
>>>> >>>>>>>>> https://github.com/pivotalsoftware/pymadlib
>>>> >>>>>>>>> but I would say it is preliminary in nature and we may want
>>>> to take
>>>> >>>>>>>>> a different approach.
>>>> >>>>>>>>>
>>>> >>>>>>>>> @riyer can provide more details on this.
>>>> >>>>>>>>>
>>>> >>>>>>>>> Frank
>>>> >>>>>>>>>
>>>> >>>>>>>>>
>>>> >>>>>>>>> On Thu, Dec 22, 2016 at 12:02 PM, Fatima Castiglione
>>>> Maldonado 发
>>>> >>>>>>>>> <ca...@gmail.com> wrote:
>>>> >>>>>>>>>>
>>>> >>>>>>>>>> I am reading documentation:
>>>> >>>>>>>>>>
>>>> >>>>>>>>>> Apache MADlib (Incubating)
>>>> >>>>>>>>>> Created by Gavin, last modified by Frank McQuillan on Sep
>>>> 13, 2016
>>>> >>>>>>>>>>
>>>> >>>>>>>>>> https://cwiki.apache.org/confluence/pages/viewpage.action?pa
>>>> geId=61319606
>>>> >>>>>>>>>>
>>>> >>>>>>>>>> and watching videos:
>>>> >>>>>>>>>>
>>>> >>>>>>>>>> Pivotal Open Source Hub - Watch!
>>>> >>>>>>>>>> https://www.youtube.com/channel/UCLQV6NlSaIZBGym1mEczuqQ
>>>> >>>>>>>>>>
>>>> >>>>>>>>>> This should take me a few days.
>>>> >>>>>>>>>> If there is other relevant material please let me know.
>>>> >>>>>>>>>>
>>>> >>>>>>>>>> Best,
>>>> >>>>>>>>>> Fatima
>>>> >>>>>>>>>>
>>>> >>>>>>>>>>
>>>> >>>>>>>>>>
>>>> >>>>>>>>>>
>>>> >>>>>>>>>> 2016-12-20 23:00 GMT-03:00 Fatima Castiglione Maldonado 发
>>>> >>>>>>>>>> <ca...@gmail.com>:
>>>> >>>>>>>>>>>
>>>> >>>>>>>>>>> Hi Frank,
>>>> >>>>>>>>>>>
>>>> >>>>>>>>>>> thanks for your kind answer. Yeah, just yesterday night I
>>>> saw the
>>>> >>>>>>>>>>> user's survey results, plus today I read some "top ten
>>>> python APIs" doc and
>>>> >>>>>>>>>>> MADlib was not there, so two plus two four.
>>>> >>>>>>>>>>>
>>>> >>>>>>>>>>> I would like to use the python API in a POC. My main
>>>> expertise is
>>>> >>>>>>>>>>> coding, so would probably need some help with architecture
>>>> design.
>>>> >>>>>>>>>>>
>>>> >>>>>>>>>>> Best,
>>>> >>>>>>>>>>> Fatima
>>>> >>>>>>>>>>>
>>>> >>>>>>>>>>>
>>>> >>>>>>>>>>>
>>>> >>>>>>>>>>>
>>>> >>>>>>>>>>>
>>>> >>>>>>>>>>>
>>>> >>>>>>>>>>> 2016-12-20 22:54 GMT-03:00 Frank McQuillan
>>>> >>>>>>>>>>> <fm...@pivotal.io>:
>>>> >>>>>>>>>>>>
>>>> >>>>>>>>>>>> Hi Fatima,
>>>> >>>>>>>>>>>>
>>>> >>>>>>>>>>>> Thank you for your email and offer to participate.
>>>> >>>>>>>>>>>>
>>>> >>>>>>>>>>>> A Python API for MADlib is something that a lot of people
>>>> have
>>>> >>>>>>>>>>>> been asking for.  In the recent MADlib survey, it was one
>>>> of the top
>>>> >>>>>>>>>>>> requests.
>>>> >>>>>>>>>>>>
>>>> >>>>>>>>>>>> There is already an R interface
>>>> >>>>>>>>>>>> https://cran.r-project.org/web/packages/PivotalR/
>>>> >>>>>>>>>>>> which could be a model for how to approach the Python
>>>> interface.
>>>> >>>>>>>>>>>>
>>>> >>>>>>>>>>>> There have been some prototyping done, but the feature is
>>>> a new
>>>> >>>>>>>>>>>> one for Python API.
>>>> >>>>>>>>>>>>
>>>> >>>>>>>>>>>> But before we get into details, would you be able to say a
>>>> >>>>>>>>>>>> little bit about your planned use for the Python API.
>>>> Also, what aspect
>>>> >>>>>>>>>>>> would you be interested in working on? - architecture,
>>>> core software
>>>> >>>>>>>>>>>> development, testing, etc.
>>>> >>>>>>>>>>>>
>>>> >>>>>>>>>>>> Regards,
>>>> >>>>>>>>>>>> Frank
>>>> >>>>>>>>>>>>
>>>> >>>>>>>>>>>> On Tue, Dec 20, 2016 at 1:28 PM, Fatima Castiglione
>>>> Maldonado 发
>>>> >>>>>>>>>>>> <ca...@gmail.com> wrote:
>>>> >>>>>>>>>>>>>
>>>> >>>>>>>>>>>>> Hi,
>>>> >>>>>>>>>>>>>
>>>> >>>>>>>>>>>>> does anybody know how to participate in the "full Python
>>>> API
>>>> >>>>>>>>>>>>> for MADlib" effort? I would like to give a helping hand.
>>>> >>>>>>>>>>>>>
>>>> >>>>>>>>>>>>> Best,
>>>> >>>>>>>>>>>>> Fatima
>>>> >>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>
>>>> >>>>>>>>>>>>> --
>>>> >>>>>>>>>>>>> =================================
>>>> >>>>>>>>>>>>> Fátima Castiglione Maldonado
>>>> >>>>>>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>> >>>>>>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>> >>>>>>>>>>>>> castiglionemaldonado@gmail.com
>>>> >>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>                      ____
>>>> >>>>>>>>>>>>>                    ,'_   |
>>>> >>>>>>>>>>>>>  __________________|__|__|__
>>>> >>>>>>>>>>>>> <_____                      )                _.------._
>>>> >>>>>>>>>>>>>       `-----------,------.-'              ,-'          `-.
>>>> >>>>>>>>>>>>>                  |    |  |              ,'
>>>> `.
>>>> >>>>>>>>>>>>>                 ,'    |  |            ,'
>>>>   `.
>>>> >>>>>>>>>>>>>                 |  _,-'  |__         /
>>>>     \
>>>> >>>>>>>>>>>>>               _,'-'    `.   `---.___|_____________
>>>> >>>>>>>>>>>>> \
>>>> >>>>>>>>>>>>>           .--'  -----.  | _____________________   `-.
>>>> -----
>>>> >>>>>>>>>>>>> |
>>>> >>>>>>>>>>>>>           |    ___|  |  |                      \  ,- \
>>>> >>>>>>>>>>>>> |
>>>> >>>>>>>>>>>>>           |    ___|  |===========================((|) |
>>>> >>>>>>>>>>>>> |
>>>> >>>>>>>>>>>>>           |       |  |  | _____________________/  `- /
>>>> >>>>>>>>>>>>> |
>>>> >>>>>>>>>>>>>           `--._ -----'  |        _________________,-'
>>>> -----
>>>> >>>>>>>>>>>>> |
>>>> >>>>>>>>>>>>>                `.-._   ,' __.---'   |
>>>> >>>>>>>>>>>>> /
>>>> >>>>>>>>>>>>>                 |   `-.  |           \
>>>>     /
>>>> >>>>>>>>>>>>>                 `.    |  |            `.
>>>>   ,'
>>>> >>>>>>>>>>>>>                  |    |  |              `.
>>>> ,'
>>>> >>>>>>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>> >>>>>>>>>>>>> <___________________________)                 `------'
>>>> >>>>>>>>>>>>>                    | _|  |
>>>> >>>>>>>>>>>>>                    `.____|
>>>> >>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>
>>>> >>>>>>>>>>>>>
>>>> >>>>>>>>>>>>> =================================
>>>> >>>>>>>>>>>>
>>>> >>>>>>>>>>>>
>>>> >>>>>>>>>>>
>>>> >>>>>>>>>>>
>>>> >>>>>>>>>>>
>>>> >>>>>>>>>>> --
>>>> >>>>>>>>>>> =================================
>>>> >>>>>>>>>>> Fátima Castiglione Maldonado
>>>> >>>>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>> >>>>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>> >>>>>>>>>>> castiglionemaldonado@gmail.com
>>>> >>>>>>>>>>>
>>>> >>>>>>>>>>>                      ____
>>>> >>>>>>>>>>>                    ,'_   |
>>>> >>>>>>>>>>>  __________________|__|__|__
>>>> >>>>>>>>>>> <_____                      )                _.------._
>>>> >>>>>>>>>>>       `-----------,------.-'              ,-'          `-.
>>>> >>>>>>>>>>>                  |    |  |              ,'                `.
>>>> >>>>>>>>>>>                 ,'    |  |            ,'
>>>> `.
>>>> >>>>>>>>>>>                 |  _,-'  |__         /
>>>>   \
>>>> >>>>>>>>>>>               _,'-'    `.   `---.___|_____________
>>>>    \
>>>> >>>>>>>>>>>           .--'  -----.  | _____________________   `-.
>>>> -----     |
>>>> >>>>>>>>>>>           |    ___|  |  |                      \  ,- \
>>>>     |
>>>> >>>>>>>>>>>           |    ___|  |===========================((|) |
>>>>      |
>>>> >>>>>>>>>>>           |       |  |  | _____________________/  `- /
>>>>     |
>>>> >>>>>>>>>>>           `--._ -----'  |        _________________,-'
>>>> -----     |
>>>> >>>>>>>>>>>                `.-._   ,' __.---'   |
>>>>     /
>>>> >>>>>>>>>>>                 |   `-.  |           \
>>>>   /
>>>> >>>>>>>>>>>                 `.    |  |            `.
>>>> ,'
>>>> >>>>>>>>>>>                  |    |  |              `.                ,'
>>>> >>>>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>> >>>>>>>>>>> <___________________________)                 `------'
>>>> >>>>>>>>>>>                    | _|  |
>>>> >>>>>>>>>>>                    `.____|
>>>> >>>>>>>>>>>
>>>> >>>>>>>>>>>
>>>> >>>>>>>>>>>
>>>> >>>>>>>>>>> =================================
>>>> >>>>>>>>>>
>>>> >>>>>>>>>>
>>>> >>>>>>>>>>
>>>> >>>>>>>>>>
>>>> >>>>>>>>>> --
>>>> >>>>>>>>>> =================================
>>>> >>>>>>>>>> Fátima Castiglione Maldonado
>>>> >>>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>> >>>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>> >>>>>>>>>> castiglionemaldonado@gmail.com
>>>> >>>>>>>>>>
>>>> >>>>>>>>>>                      ____
>>>> >>>>>>>>>>                    ,'_   |
>>>> >>>>>>>>>>  __________________|__|__|__
>>>> >>>>>>>>>> <_____                      )                _.------._
>>>> >>>>>>>>>>       `-----------,------.-'              ,-'          `-.
>>>> >>>>>>>>>>                  |    |  |              ,'                `.
>>>> >>>>>>>>>>                 ,'    |  |            ,'
>>>> `.
>>>> >>>>>>>>>>                 |  _,-'  |__         /
>>>>   \
>>>> >>>>>>>>>>               _,'-'    `.   `---.___|_____________
>>>>    \
>>>> >>>>>>>>>>           .--'  -----.  | _____________________   `-. -----
>>>>    |
>>>> >>>>>>>>>>           |    ___|  |  |                      \  ,- \
>>>>     |
>>>> >>>>>>>>>>           |    ___|  |===========================((|) |
>>>>      |
>>>> >>>>>>>>>>           |       |  |  | _____________________/  `- /
>>>>     |
>>>> >>>>>>>>>>           `--._ -----'  |        _________________,-' -----
>>>>    |
>>>> >>>>>>>>>>                `.-._   ,' __.---'   |
>>>>   /
>>>> >>>>>>>>>>                 |   `-.  |           \
>>>>   /
>>>> >>>>>>>>>>                 `.    |  |            `.
>>>> ,'
>>>> >>>>>>>>>>                  |    |  |              `.                ,'
>>>> >>>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>> >>>>>>>>>> <___________________________)                 `------'
>>>> >>>>>>>>>>                    | _|  |
>>>> >>>>>>>>>>                    `.____|
>>>> >>>>>>>>>>
>>>> >>>>>>>>>>
>>>> >>>>>>>>>>
>>>> >>>>>>>>>> =================================
>>>> >>>>>>>>>
>>>> >>>>>>>>>
>>>> >>>>>>>>
>>>> >>>>>>>>
>>>> >>>>>>>>
>>>> >>>>>>>> --
>>>> >>>>>>>> =================================
>>>> >>>>>>>> Fátima Castiglione Maldonado
>>>> >>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>> >>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>> >>>>>>>> castiglionemaldonado@gmail.com
>>>> >>>>>>>>
>>>> >>>>>>>>                      ____
>>>> >>>>>>>>                    ,'_   |
>>>> >>>>>>>>  __________________|__|__|__
>>>> >>>>>>>> <_____                      )                _.------._
>>>> >>>>>>>>       `-----------,------.-'              ,-'          `-.
>>>> >>>>>>>>                  |    |  |              ,'                `.
>>>> >>>>>>>>                 ,'    |  |            ,'                    `.
>>>> >>>>>>>>                 |  _,-'  |__         /                        \
>>>> >>>>>>>>               _,'-'    `.   `---.___|_____________
>>>>  \
>>>> >>>>>>>>           .--'  -----.  | _____________________   `-. -----
>>>>  |
>>>> >>>>>>>>           |    ___|  |  |                      \  ,- \
>>>>   |
>>>> >>>>>>>>           |    ___|  |===========================((|) |
>>>>    |
>>>> >>>>>>>>           |       |  |  | _____________________/  `- /
>>>>   |
>>>> >>>>>>>>           `--._ -----'  |        _________________,-' -----
>>>>  |
>>>> >>>>>>>>                `.-._   ,' __.---'   |
>>>> /
>>>> >>>>>>>>                 |   `-.  |           \                        /
>>>> >>>>>>>>                 `.    |  |            `.                    ,'
>>>> >>>>>>>>                  |    |  |              `.                ,'
>>>> >>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>> >>>>>>>> <___________________________)                 `------'
>>>> >>>>>>>>                    | _|  |
>>>> >>>>>>>>                    `.____|
>>>> >>>>>>>>
>>>> >>>>>>>>
>>>> >>>>>>>>
>>>> >>>>>>>> =================================
>>>> >>>>>>>
>>>> >>>>>>>
>>>> >>>>>>>
>>>> >>>>>>>
>>>> >>>>>>> --
>>>> >>>>>>> =================================
>>>> >>>>>>> Fátima Castiglione Maldonado
>>>> >>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>> >>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>> >>>>>>> castiglionemaldonado@gmail.com
>>>> >>>>>>>
>>>> >>>>>>>                      ____
>>>> >>>>>>>                    ,'_   |
>>>> >>>>>>>  __________________|__|__|__
>>>> >>>>>>> <_____                      )                _.------._
>>>> >>>>>>>       `-----------,------.-'              ,-'          `-.
>>>> >>>>>>>                  |    |  |              ,'                `.
>>>> >>>>>>>                 ,'    |  |            ,'                    `.
>>>> >>>>>>>                 |  _,-'  |__         /                        \
>>>> >>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>> >>>>>>>           .--'  -----.  | _____________________   `-. -----
>>>>  |
>>>> >>>>>>>           |    ___|  |  |                      \  ,- \
>>>> |
>>>> >>>>>>>           |    ___|  |===========================((|) |
>>>>  |
>>>> >>>>>>>           |       |  |  | _____________________/  `- /
>>>> |
>>>> >>>>>>>           `--._ -----'  |        _________________,-' -----
>>>>  |
>>>> >>>>>>>                `.-._   ,' __.---'   |                          /
>>>> >>>>>>>                 |   `-.  |           \                        /
>>>> >>>>>>>                 `.    |  |            `.                    ,'
>>>> >>>>>>>                  |    |  |              `.                ,'
>>>> >>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>> >>>>>>> <___________________________)                 `------'
>>>> >>>>>>>                    | _|  |
>>>> >>>>>>>                    `.____|
>>>> >>>>>>>
>>>> >>>>>>>
>>>> >>>>>>>
>>>> >>>>>>> =================================
>>>> >>>>>>
>>>> >>>>>>
>>>> >>>>>
>>>> >>>>>
>>>> >>>>>
>>>> >>>>> --
>>>> >>>>> =================================
>>>> >>>>> Fátima Castiglione Maldonado
>>>> >>>>> Singer, Designer, Creative, Artificial Intelligence
>>>> >>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>> >>>>> castiglionemaldonado@gmail.com
>>>> >>>>>
>>>> >>>>>                      ____
>>>> >>>>>                    ,'_   |
>>>> >>>>>  __________________|__|__|__
>>>> >>>>> <_____                      )                _.------._
>>>> >>>>>       `-----------,------.-'              ,-'          `-.
>>>> >>>>>                  |    |  |              ,'                `.
>>>> >>>>>                 ,'    |  |            ,'                    `.
>>>> >>>>>                 |  _,-'  |__         /                        \
>>>> >>>>>               _,'-'    `.   `---.___|_____________             \
>>>> >>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>> >>>>>           |    ___|  |  |                      \  ,- \          |
>>>> >>>>>           |    ___|  |===========================((|) |         |
>>>> >>>>>           |       |  |  | _____________________/  `- /          |
>>>> >>>>>           `--._ -----'  |        _________________,-' -----     |
>>>> >>>>>                `.-._   ,' __.---'   |                          /
>>>> >>>>>                 |   `-.  |           \                        /
>>>> >>>>>                 `.    |  |            `.                    ,'
>>>> >>>>>                  |    |  |              `.                ,'
>>>> >>>>>  _____,----------`-------`-.              `-._        _,-'
>>>> >>>>> <___________________________)                 `------'
>>>> >>>>>                    | _|  |
>>>> >>>>>                    `.____|
>>>> >>>>>
>>>> >>>>>
>>>> >>>>>
>>>> >>>>> =================================
>>>> >>>>
>>>> >>>>
>>>> >>>>
>>>> >>>>
>>>> >>>> --
>>>> >>>> =================================
>>>> >>>> Fátima Castiglione Maldonado
>>>> >>>> Singer, Designer, Creative, Artificial Intelligence
>>>> >>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>> >>>> castiglionemaldonado@gmail.com
>>>> >>>>
>>>> >>>>                      ____
>>>> >>>>                    ,'_   |
>>>> >>>>  __________________|__|__|__
>>>> >>>> <_____                      )                _.------._
>>>> >>>>       `-----------,------.-'              ,-'          `-.
>>>> >>>>                  |    |  |              ,'                `.
>>>> >>>>                 ,'    |  |            ,'                    `.
>>>> >>>>                 |  _,-'  |__         /                        \
>>>> >>>>               _,'-'    `.   `---.___|_____________             \
>>>> >>>>           .--'  -----.  | _____________________   `-. -----     |
>>>> >>>>           |    ___|  |  |                      \  ,- \          |
>>>> >>>>           |    ___|  |===========================((|) |         |
>>>> >>>>           |       |  |  | _____________________/  `- /          |
>>>> >>>>           `--._ -----'  |        _________________,-' -----     |
>>>> >>>>                `.-._   ,' __.---'   |                          /
>>>> >>>>                 |   `-.  |           \                        /
>>>> >>>>                 `.    |  |            `.                    ,'
>>>> >>>>                  |    |  |              `.                ,'
>>>> >>>>  _____,----------`-------`-.              `-._        _,-'
>>>> >>>> <___________________________)                 `------'
>>>> >>>>                    | _|  |
>>>> >>>>                    `.____|
>>>> >>>>
>>>> >>>>
>>>> >>>>
>>>> >>>> =================================
>>>> >>>>
>>>> >>>> while( love & passion ) {
>>>> >>>>   for( fight = 0 ; rights < freedom ; rights++ )
>>>> >>>>     fight = standup( rights );
>>>> >>>>   free( babylon );
>>>> >>>> }
>>>> >>>>
>>>> >>>> =================================
>>>> >>>>
>>>> >>>>
>>>> >>
>>>> >>
>>>> >>
>>>> >> --
>>>> >> =================================
>>>> >> Fátima Castiglione Maldonado
>>>> >> Singer, Designer, Creative, Artificial Intelligence
>>>> >> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>> >> castiglionemaldonado@gmail.com
>>>> >>
>>>> >>                      ____
>>>> >>                    ,'_   |
>>>> >>  __________________|__|__|__
>>>> >> <_____                      )                _.------._
>>>> >>       `-----------,------.-'              ,-'          `-.
>>>> >>                  |    |  |              ,'                `.
>>>> >>                 ,'    |  |            ,'                    `.
>>>> >>                 |  _,-'  |__         /                        \
>>>> >>               _,'-'    `.   `---.___|_____________             \
>>>> >>           .--'  -----.  | _____________________   `-. -----     |
>>>> >>           |    ___|  |  |                      \  ,- \          |
>>>> >>           |    ___|  |===========================((|) |         |
>>>> >>           |       |  |  | _____________________/  `- /          |
>>>> >>           `--._ -----'  |        _________________,-' -----     |
>>>> >>                `.-._   ,' __.---'   |                          /
>>>> >>                 |   `-.  |           \                        /
>>>> >>                 `.    |  |            `.                    ,'
>>>> >>                  |    |  |              `.                ,'
>>>> >>  _____,----------`-------`-.              `-._        _,-'
>>>> >> <___________________________)                 `------'
>>>> >>                    | _|  |
>>>> >>                    `.____|
>>>> >>
>>>> >>
>>>> >>
>>>> >> =================================
>>>> >>
>>>> >> while( love & passion ) {
>>>> >>   for( fight = 0 ; rights < freedom ; rights++ )
>>>> >>     fight = standup( rights );
>>>> >>   free( babylon );
>>>> >> }
>>>> >>
>>>> >> =================================
>>>> >>
>>>> >>
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > =================================
>>>> > Fátima Castiglione Maldonado
>>>> > Singer, Designer, Creative, Artificial Intelligence
>>>> > Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>> > castiglionemaldonado@gmail.com
>>>> >
>>>> >                      ____
>>>> >                    ,'_   |
>>>> >  __________________|__|__|__
>>>> > <_____                      )                _.------._
>>>> >       `-----------,------.-'              ,-'          `-.
>>>> >                  |    |  |              ,'                `.
>>>> >                 ,'    |  |            ,'                    `.
>>>> >                 |  _,-'  |__         /                        \
>>>> >               _,'-'    `.   `---.___|_____________             \
>>>> >           .--'  -----.  | _____________________   `-. -----     |
>>>> >           |    ___|  |  |                      \  ,- \          |
>>>> >           |    ___|  |===========================((|) |         |
>>>> >           |       |  |  | _____________________/  `- /          |
>>>> >           `--._ -----'  |        _________________,-' -----     |
>>>> >                `.-._   ,' __.---'   |                          /
>>>> >                 |   `-.  |           \                        /
>>>> >                 `.    |  |            `.                    ,'
>>>> >                  |    |  |              `.                ,'
>>>> >  _____,----------`-------`-.              `-._        _,-'
>>>> > <___________________________)                 `------'
>>>> >                    | _|  |
>>>> >                    `.____|
>>>> >
>>>> >
>>>> >
>>>> > =================================
>>>> >
>>>> > while( love & passion ) {
>>>> >   for( fight = 0 ; rights < freedom ; rights++ )
>>>> >     fight = standup( rights );
>>>> >   free( babylon );
>>>> > }
>>>> >
>>>> > =================================
>>>> >
>>>> >
>>>>
>>>
>>>
>>>
>>> --
>>> =================================
>>> Fátima Castiglione Maldonado
>>> Singer, Designer, Creative, Artificial Intelligence
>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>> castiglionemaldonado@gmail.com
>>>
>>>                      ____
>>>                    ,'_   |
>>>  __________________|__|__|__
>>> <_____                      )                _.------._
>>>       `-----------,------.-'              ,-'          `-.
>>>                  |    |  |              ,'                `.
>>>                 ,'    |  |            ,'                    `.
>>>                 |  _,-'  |__         /                        \
>>>               _,'-'    `.   `---.___|_____________             \
>>>           .--'  -----.  | _____________________   `-. -----     |
>>>           |    ___|  |  |                      \  ,- \          |
>>>           |    ___|  |===========================((|) |         |
>>>           |       |  |  | _____________________/  `- /          |
>>>           `--._ -----'  |        _________________,-' -----     |
>>>                `.-._   ,' __.---'   |                          /
>>>                 |   `-.  |           \                        /
>>>                 `.    |  |            `.                    ,'
>>>                  |    |  |              `.                ,'
>>>  _____,----------`-------`-.              `-._        _,-'
>>> <___________________________)                 `------'
>>>                    | _|  |
>>>                    `.____|
>>>
>>>
>>>
>>> =================================
>>>
>>> while( love & passion ) {
>>>   for( fight = 0 ; rights < freedom ; rights++ )
>>>     fight = standup( rights );
>>>   free( babylon );
>>> }
>>> =================================
>>>
>>>
>>>
>>
>
>
> --
> =================================
> Fátima Castiglione Maldonado
> Singer, Designer, Creative, Artificial Intelligence
> Cantante, Diseñadora, Creativa, Inteligencia Artificial
> castiglionemaldonado@gmail.com
>
>                      ____
>                    ,'_   |
>  __________________|__|__|__
> <_____                      )                _.------._
>       `-----------,------.-'              ,-'          `-.
>                  |    |  |              ,'                `.
>                 ,'    |  |            ,'                    `.
>                 |  _,-'  |__         /                        \
>               _,'-'    `.   `---.___|_____________             \
>           .--'  -----.  | _____________________   `-. -----     |
>           |    ___|  |  |                      \  ,- \          |
>           |    ___|  |===========================((|) |         |
>           |       |  |  | _____________________/  `- /          |
>           `--._ -----'  |        _________________,-' -----     |
>                `.-._   ,' __.---'   |                          /
>                 |   `-.  |           \                        /
>                 `.    |  |            `.                    ,'
>                  |    |  |              `.                ,'
>  _____,----------`-------`-.              `-._        _,-'
> <___________________________)                 `------'
>                    | _|  |
>                    `.____|
>
>
>
> =================================
>
> while( love & passion ) {
>   for( fight = 0 ; rights < freedom ; rights++ )
>     fight = standup( rights );
>   free( babylon );
> }
> =================================
>
>
>


-- 
=================================
Fátima Castiglione Maldonado
Singer, Designer, Creative, Artificial Intelligence
Cantante, Diseñadora, Creativa, Inteligencia Artificial
castiglionemaldonado@gmail.com

                     ____
                   ,'_   |
 __________________|__|__|__
<_____                      )                _.------._
      `-----------,------.-'              ,-'          `-.
                 |    |  |              ,'                `.
                ,'    |  |            ,'                    `.
                |  _,-'  |__         /                        \
              _,'-'    `.   `---.___|_____________             \
          .--'  -----.  | _____________________   `-. -----     |
          |    ___|  |  |                      \  ,- \          |
          |    ___|  |===========================((|) |         |
          |       |  |  | _____________________/  `- /          |
          `--._ -----'  |        _________________,-' -----     |
               `.-._   ,' __.---'   |                          /
                |   `-.  |           \                        /
                `.    |  |            `.                    ,'
                 |    |  |              `.                ,'
 _____,----------`-------`-.              `-._        _,-'
<___________________________)                 `------'
                   | _|  |
                   `.____|



=================================

while( love & passion ) {
  for( fight = 0 ; rights < freedom ; rights++ )
    fight = standup( rights );
  free( babylon );
}
=================================

Re: full Python API for MADlib

Posted by Fatima Castiglione Maldonado 发 <ca...@gmail.com>.
SELECT
madlib.version()
;

version


------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------
 MADlib version: 1.9.1, git revision: rel/v1.9.1, cmake configuration time:
Mon Sep 19 18:54:04 UTC 2016, build type: Release, build system: Linux-2.6
.18-238.27.1.el5.hotfix.bz516490, C compiler: gcc 4.4.0, C++ compiler: g++
4.4.0
(1 row)


So it's ok

I started working on pymadlib code yesterday, will let you know as soon as
I got something to show



2017-01-03 19:07 GMT-03:00 Rahul Iyer <ra...@gmail.com>:

> If you do a `SELECT madlib.version()` in your database, it should show
> the installed version. That's the one that pymadlib will eventually call.
>
> On Tue, Jan 3, 2017 at 2:05 PM, Fatima Castiglione Maldonado 发 <
> castiglionemaldonado@gmail.com> wrote:
>
>> Yes, I did install it on GPDB and it is working ok (I tested it with some
>> examples from the "Getting Started" guide, just in case)
>>
>> 1. in any case I understand that the PyPi version won't execute as
>> pymadlib is calling GPDB directly and then MADlib will run inside GPDB...
>> Is that true?
>>
>> 2. should I uninstall the PyPi version?
>>
>> best,
>> Fatima
>>
>>
>>
>> 2017-01-03 18:54 GMT-03:00 Rahul Iyer <ra...@gmail.com>:
>>
>>> Hi Fatima,
>>>
>>> The `pip` package for MADlib was built by an outside contributor who
>>> hasn't updated the package. I'm not sure if PyPi is the right place
>>> for MADlib, since it is not a Python package (not the same as
>>> Pymadlib).
>>>
>>> I suggest installing MADlib through the RPM available on the webpage.
>>>
>>> Best,
>>> Rahul
>>>
>>> On Sun, Jan 1, 2017 at 4:46 PM, Fatima Castiglione Maldonado 发
>>> <ca...@gmail.com> wrote:
>>> > Just to let you know (maybe it was done on purpose?) but I have just
>>> find
>>> > out something quaint.
>>> >
>>> > I have already installed MADlib 1.9.1 on GPDB. Am playing around with
>>> the
>>> > environment, so I installed MADlib using pip and got this:
>>> >
>>> > [root@mdw ~]# pip install MADlib
>>> > Collecting MADlib
>>> >   Downloading Madlib-1.0.tar.gz
>>> > Installing collected packages: MADlib
>>> >   Running setup.py install for MADlib ... done
>>> > Successfully installed MADlib-1.0
>>> >
>>> > Shouldn't it be 1.9.1 too?
>>> >
>>> >
>>> > Happy new year,
>>> > Fatima
>>> >
>>> >
>>> >
>>> > 2016-12-28 1:35 GMT-03:00 Fatima Castiglione Maldonado 发
>>> > <ca...@gmail.com>:
>>> >>
>>> >> Brevity is a virtue.
>>> >>
>>> >> 2016-12-28 0:36 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:
>>> >>>
>>> >>> Yes
>>> >>>
>>> >>> Sent from my mobile.  Please excuse brevity.
>>> >>>
>>> >>> On Dec 27, 2016 6:19 PM, "Fatima Castiglione Maldonado 发"
>>> >>> <ca...@gmail.com> wrote:
>>> >>>>
>>> >>>> Hi
>>> >>>>
>>> >>>> 1.
>>> >>>> I have installed CentOS 7 and GPDB 4.3.11.
>>> >>>> It works ok and I can run standard SQL examples, no problems.
>>> >>>>
>>> >>>> 2. I am now installing MADlib 1.9.1
>>> >>>>
>>> >>>> "This is an important note for installation of MADlib 1.9.1 on
>>> >>>> GPDB 4.3.10.  It does not apply to any other GPDB releases.
>>> >>>>
>>> >>>> After gppkg installation of MADlib, you must run the script
>>> >>>> fix_madpack.sh BEFORE running the madpack utility."
>>> >>>>
>>> >>>> Should I run this script for 4.3.11 ?
>>> >>>>
>>> >>>> Thanks in advance for any answer.
>>> >>>> Fatima
>>> >>>>
>>> >>>>
>>> >>>> 2016-12-24 0:11 GMT-03:00 Fatima Castiglione Maldonado 发
>>> >>>> <ca...@gmail.com>:
>>> >>>>>
>>> >>>>> > I think forking Pymadlib code and making it work for your use
>>> case
>>> >>>>> > would be >great first step.
>>> >>>>>
>>> >>>>> Completely d'accord.
>>> >>>>>
>>> >>>>> > I do have thoughts on what Python API for MADlib should achieve
>>> and
>>> >>>>> > how that can be designed, but that's a bigger discussion we can
>>> have after
>>> >>>>> > we've made initial progress.
>>> >>>>>
>>> >>>>> Yap. Once I can make at least one algorithm to run with 1.9.1, ok?
>>> >>>>> Maybe fixing more than one will be useless, if we plan to change
>>> external
>>> >>>>> API... I would probably have to rework all the parameter-tweaking
>>> stuff...
>>> >>>>> Boring to make it twice.
>>> >>>>>
>>> >>>>> > An important step in building the API is consistency esp. with
>>> >>>>> > external API. For that purpose following scikit-learn's
>>> structure would be
>>> >>>>> > helpful.
>>> >>>>>
>>> >>>>> That's would be smart. Honestly I did not see it coming, but now
>>> that
>>> >>>>> you said it, I agree 100%, as it would make Pymadlib instantly
>>> "pluggable"
>>> >>>>> whit what is probably a nice lot of pre-existing code.
>>> >>>>>
>>> >>>>> Will keep you updated.
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>> 2016-12-23 20:07 GMT-03:00 Rahul Iyer <ra...@gmail.com>:
>>> >>>>>>
>>> >>>>>> Hi Fatima,
>>> >>>>>>
>>> >>>>>> Thanks for starting this work.
>>> >>>>>>>
>>> >>>>>>> When you get back to work please let me know if you are OK with
>>> me
>>> >>>>>>> forking this code base, or if you are thinking to make any
>>> important
>>> >>>>>>> changes.
>>> >>>>>>>
>>> >>>>>> I think forking Pymadlib code and making it work for your use case
>>> >>>>>> would be great first step. I do have thoughts on what Python API
>>> for MADlib
>>> >>>>>> should achieve and how that can be designed, but that's a bigger
>>> discussion
>>> >>>>>> we can have after we've made initial progress.
>>> >>>>>>
>>> >>>>>> An important step in building the API is consistency esp. with
>>> >>>>>> external API. For that purpose following scikit-learn's structure
>>> would be
>>> >>>>>> helpful. We can go over specifics after initial progress.
>>> >>>>>>
>>> >>>>>>>
>>> >>>>>>> Am also watching the videos so I get more familiar with available
>>> >>>>>>> algorithms.
>>> >>>>>>> In my next available time slot will install it all so am ready to
>>> >>>>>>> start.
>>> >>>>>>
>>> >>>>>>
>>> >>>>>> The videos + getting Pymadlib to work are the right goals to start
>>> >>>>>> with. Feel free to let this forum know about progress and
>>> questions.
>>> >>>>>>
>>> >>>>>> Best,
>>> >>>>>> Rahul
>>> >>>>>>>
>>> >>>>>>> 2016-12-22 17:49 GMT-03:00 Fatima Castiglione Maldonado 发
>>> >>>>>>> <ca...@gmail.com>:
>>> >>>>>>>>
>>> >>>>>>>> Great, thanks. We will check it once I read a bit more and then
>>> we
>>> >>>>>>>> can talk.
>>> >>>>>>>>
>>> >>>>>>>> 2016-12-22 17:28 GMT-03:00 Frank McQuillan <
>>> fmcquillan@pivotal.io>:
>>> >>>>>>>>>
>>> >>>>>>>>> This is an early attempt at a Python interface for MADlib
>>> >>>>>>>>> https://github.com/pivotalsoftware/pymadlib
>>> >>>>>>>>> but I would say it is preliminary in nature and we may want to
>>> take
>>> >>>>>>>>> a different approach.
>>> >>>>>>>>>
>>> >>>>>>>>> @riyer can provide more details on this.
>>> >>>>>>>>>
>>> >>>>>>>>> Frank
>>> >>>>>>>>>
>>> >>>>>>>>>
>>> >>>>>>>>> On Thu, Dec 22, 2016 at 12:02 PM, Fatima Castiglione Maldonado
>>> 发
>>> >>>>>>>>> <ca...@gmail.com> wrote:
>>> >>>>>>>>>>
>>> >>>>>>>>>> I am reading documentation:
>>> >>>>>>>>>>
>>> >>>>>>>>>> Apache MADlib (Incubating)
>>> >>>>>>>>>> Created by Gavin, last modified by Frank McQuillan on Sep 13,
>>> 2016
>>> >>>>>>>>>>
>>> >>>>>>>>>> https://cwiki.apache.org/confluence/pages/viewpage.action?pa
>>> geId=61319606
>>> >>>>>>>>>>
>>> >>>>>>>>>> and watching videos:
>>> >>>>>>>>>>
>>> >>>>>>>>>> Pivotal Open Source Hub - Watch!
>>> >>>>>>>>>> https://www.youtube.com/channel/UCLQV6NlSaIZBGym1mEczuqQ
>>> >>>>>>>>>>
>>> >>>>>>>>>> This should take me a few days.
>>> >>>>>>>>>> If there is other relevant material please let me know.
>>> >>>>>>>>>>
>>> >>>>>>>>>> Best,
>>> >>>>>>>>>> Fatima
>>> >>>>>>>>>>
>>> >>>>>>>>>>
>>> >>>>>>>>>>
>>> >>>>>>>>>>
>>> >>>>>>>>>> 2016-12-20 23:00 GMT-03:00 Fatima Castiglione Maldonado 发
>>> >>>>>>>>>> <ca...@gmail.com>:
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> Hi Frank,
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> thanks for your kind answer. Yeah, just yesterday night I
>>> saw the
>>> >>>>>>>>>>> user's survey results, plus today I read some "top ten
>>> python APIs" doc and
>>> >>>>>>>>>>> MADlib was not there, so two plus two four.
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> I would like to use the python API in a POC. My main
>>> expertise is
>>> >>>>>>>>>>> coding, so would probably need some help with architecture
>>> design.
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> Best,
>>> >>>>>>>>>>> Fatima
>>> >>>>>>>>>>>
>>> >>>>>>>>>>>
>>> >>>>>>>>>>>
>>> >>>>>>>>>>>
>>> >>>>>>>>>>>
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> 2016-12-20 22:54 GMT-03:00 Frank McQuillan
>>> >>>>>>>>>>> <fm...@pivotal.io>:
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> Hi Fatima,
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> Thank you for your email and offer to participate.
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> A Python API for MADlib is something that a lot of people
>>> have
>>> >>>>>>>>>>>> been asking for.  In the recent MADlib survey, it was one
>>> of the top
>>> >>>>>>>>>>>> requests.
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> There is already an R interface
>>> >>>>>>>>>>>> https://cran.r-project.org/web/packages/PivotalR/
>>> >>>>>>>>>>>> which could be a model for how to approach the Python
>>> interface.
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> There have been some prototyping done, but the feature is a
>>> new
>>> >>>>>>>>>>>> one for Python API.
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> But before we get into details, would you be able to say a
>>> >>>>>>>>>>>> little bit about your planned use for the Python API.
>>> Also, what aspect
>>> >>>>>>>>>>>> would you be interested in working on? - architecture, core
>>> software
>>> >>>>>>>>>>>> development, testing, etc.
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> Regards,
>>> >>>>>>>>>>>> Frank
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> On Tue, Dec 20, 2016 at 1:28 PM, Fatima Castiglione
>>> Maldonado 发
>>> >>>>>>>>>>>> <ca...@gmail.com> wrote:
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>> Hi,
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>> does anybody know how to participate in the "full Python
>>> API
>>> >>>>>>>>>>>>> for MADlib" effort? I would like to give a helping hand.
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>> Best,
>>> >>>>>>>>>>>>> Fatima
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>> --
>>> >>>>>>>>>>>>> =================================
>>> >>>>>>>>>>>>> Fátima Castiglione Maldonado
>>> >>>>>>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>> >>>>>>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>> >>>>>>>>>>>>> castiglionemaldonado@gmail.com
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>>                      ____
>>> >>>>>>>>>>>>>                    ,'_   |
>>> >>>>>>>>>>>>>  __________________|__|__|__
>>> >>>>>>>>>>>>> <_____                      )                _.------._
>>> >>>>>>>>>>>>>       `-----------,------.-'              ,-'          `-.
>>> >>>>>>>>>>>>>                  |    |  |              ,'
>>> `.
>>> >>>>>>>>>>>>>                 ,'    |  |            ,'
>>>   `.
>>> >>>>>>>>>>>>>                 |  _,-'  |__         /
>>>     \
>>> >>>>>>>>>>>>>               _,'-'    `.   `---.___|_____________
>>> >>>>>>>>>>>>> \
>>> >>>>>>>>>>>>>           .--'  -----.  | _____________________   `-. -----
>>> >>>>>>>>>>>>> |
>>> >>>>>>>>>>>>>           |    ___|  |  |                      \  ,- \
>>> >>>>>>>>>>>>> |
>>> >>>>>>>>>>>>>           |    ___|  |===========================((|) |
>>> >>>>>>>>>>>>> |
>>> >>>>>>>>>>>>>           |       |  |  | _____________________/  `- /
>>> >>>>>>>>>>>>> |
>>> >>>>>>>>>>>>>           `--._ -----'  |        _________________,-' -----
>>> >>>>>>>>>>>>> |
>>> >>>>>>>>>>>>>                `.-._   ,' __.---'   |
>>> >>>>>>>>>>>>> /
>>> >>>>>>>>>>>>>                 |   `-.  |           \
>>>     /
>>> >>>>>>>>>>>>>                 `.    |  |            `.
>>>   ,'
>>> >>>>>>>>>>>>>                  |    |  |              `.
>>> ,'
>>> >>>>>>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>> >>>>>>>>>>>>> <___________________________)                 `------'
>>> >>>>>>>>>>>>>                    | _|  |
>>> >>>>>>>>>>>>>                    `.____|
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>> =================================
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>
>>> >>>>>>>>>>>
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> --
>>> >>>>>>>>>>> =================================
>>> >>>>>>>>>>> Fátima Castiglione Maldonado
>>> >>>>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>> >>>>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>> >>>>>>>>>>> castiglionemaldonado@gmail.com
>>> >>>>>>>>>>>
>>> >>>>>>>>>>>                      ____
>>> >>>>>>>>>>>                    ,'_   |
>>> >>>>>>>>>>>  __________________|__|__|__
>>> >>>>>>>>>>> <_____                      )                _.------._
>>> >>>>>>>>>>>       `-----------,------.-'              ,-'          `-.
>>> >>>>>>>>>>>                  |    |  |              ,'                `.
>>> >>>>>>>>>>>                 ,'    |  |            ,'
>>> `.
>>> >>>>>>>>>>>                 |  _,-'  |__         /
>>>   \
>>> >>>>>>>>>>>               _,'-'    `.   `---.___|_____________
>>>    \
>>> >>>>>>>>>>>           .--'  -----.  | _____________________   `-. -----
>>>    |
>>> >>>>>>>>>>>           |    ___|  |  |                      \  ,- \
>>>     |
>>> >>>>>>>>>>>           |    ___|  |===========================((|) |
>>>      |
>>> >>>>>>>>>>>           |       |  |  | _____________________/  `- /
>>>     |
>>> >>>>>>>>>>>           `--._ -----'  |        _________________,-' -----
>>>    |
>>> >>>>>>>>>>>                `.-._   ,' __.---'   |
>>>   /
>>> >>>>>>>>>>>                 |   `-.  |           \
>>>   /
>>> >>>>>>>>>>>                 `.    |  |            `.
>>> ,'
>>> >>>>>>>>>>>                  |    |  |              `.                ,'
>>> >>>>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>> >>>>>>>>>>> <___________________________)                 `------'
>>> >>>>>>>>>>>                    | _|  |
>>> >>>>>>>>>>>                    `.____|
>>> >>>>>>>>>>>
>>> >>>>>>>>>>>
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> =================================
>>> >>>>>>>>>>
>>> >>>>>>>>>>
>>> >>>>>>>>>>
>>> >>>>>>>>>>
>>> >>>>>>>>>> --
>>> >>>>>>>>>> =================================
>>> >>>>>>>>>> Fátima Castiglione Maldonado
>>> >>>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>> >>>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>> >>>>>>>>>> castiglionemaldonado@gmail.com
>>> >>>>>>>>>>
>>> >>>>>>>>>>                      ____
>>> >>>>>>>>>>                    ,'_   |
>>> >>>>>>>>>>  __________________|__|__|__
>>> >>>>>>>>>> <_____                      )                _.------._
>>> >>>>>>>>>>       `-----------,------.-'              ,-'          `-.
>>> >>>>>>>>>>                  |    |  |              ,'                `.
>>> >>>>>>>>>>                 ,'    |  |            ,'                    `.
>>> >>>>>>>>>>                 |  _,-'  |__         /
>>> \
>>> >>>>>>>>>>               _,'-'    `.   `---.___|_____________
>>>  \
>>> >>>>>>>>>>           .--'  -----.  | _____________________   `-. -----
>>>    |
>>> >>>>>>>>>>           |    ___|  |  |                      \  ,- \
>>>   |
>>> >>>>>>>>>>           |    ___|  |===========================((|) |
>>>    |
>>> >>>>>>>>>>           |       |  |  | _____________________/  `- /
>>>   |
>>> >>>>>>>>>>           `--._ -----'  |        _________________,-' -----
>>>    |
>>> >>>>>>>>>>                `.-._   ,' __.---'   |
>>>   /
>>> >>>>>>>>>>                 |   `-.  |           \
>>> /
>>> >>>>>>>>>>                 `.    |  |            `.                    ,'
>>> >>>>>>>>>>                  |    |  |              `.                ,'
>>> >>>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>> >>>>>>>>>> <___________________________)                 `------'
>>> >>>>>>>>>>                    | _|  |
>>> >>>>>>>>>>                    `.____|
>>> >>>>>>>>>>
>>> >>>>>>>>>>
>>> >>>>>>>>>>
>>> >>>>>>>>>> =================================
>>> >>>>>>>>>
>>> >>>>>>>>>
>>> >>>>>>>>
>>> >>>>>>>>
>>> >>>>>>>>
>>> >>>>>>>> --
>>> >>>>>>>> =================================
>>> >>>>>>>> Fátima Castiglione Maldonado
>>> >>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>> >>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>> >>>>>>>> castiglionemaldonado@gmail.com
>>> >>>>>>>>
>>> >>>>>>>>                      ____
>>> >>>>>>>>                    ,'_   |
>>> >>>>>>>>  __________________|__|__|__
>>> >>>>>>>> <_____                      )                _.------._
>>> >>>>>>>>       `-----------,------.-'              ,-'          `-.
>>> >>>>>>>>                  |    |  |              ,'                `.
>>> >>>>>>>>                 ,'    |  |            ,'                    `.
>>> >>>>>>>>                 |  _,-'  |__         /                        \
>>> >>>>>>>>               _,'-'    `.   `---.___|_____________             \
>>> >>>>>>>>           .--'  -----.  | _____________________   `-. -----
>>>  |
>>> >>>>>>>>           |    ___|  |  |                      \  ,- \
>>> |
>>> >>>>>>>>           |    ___|  |===========================((|) |
>>>  |
>>> >>>>>>>>           |       |  |  | _____________________/  `- /
>>> |
>>> >>>>>>>>           `--._ -----'  |        _________________,-' -----
>>>  |
>>> >>>>>>>>                `.-._   ,' __.---'   |                          /
>>> >>>>>>>>                 |   `-.  |           \                        /
>>> >>>>>>>>                 `.    |  |            `.                    ,'
>>> >>>>>>>>                  |    |  |              `.                ,'
>>> >>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>> >>>>>>>> <___________________________)                 `------'
>>> >>>>>>>>                    | _|  |
>>> >>>>>>>>                    `.____|
>>> >>>>>>>>
>>> >>>>>>>>
>>> >>>>>>>>
>>> >>>>>>>> =================================
>>> >>>>>>>
>>> >>>>>>>
>>> >>>>>>>
>>> >>>>>>>
>>> >>>>>>> --
>>> >>>>>>> =================================
>>> >>>>>>> Fátima Castiglione Maldonado
>>> >>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>> >>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>> >>>>>>> castiglionemaldonado@gmail.com
>>> >>>>>>>
>>> >>>>>>>                      ____
>>> >>>>>>>                    ,'_   |
>>> >>>>>>>  __________________|__|__|__
>>> >>>>>>> <_____                      )                _.------._
>>> >>>>>>>       `-----------,------.-'              ,-'          `-.
>>> >>>>>>>                  |    |  |              ,'                `.
>>> >>>>>>>                 ,'    |  |            ,'                    `.
>>> >>>>>>>                 |  _,-'  |__         /                        \
>>> >>>>>>>               _,'-'    `.   `---.___|_____________             \
>>> >>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>> >>>>>>>           |    ___|  |  |                      \  ,- \          |
>>> >>>>>>>           |    ___|  |===========================((|) |
>>>  |
>>> >>>>>>>           |       |  |  | _____________________/  `- /          |
>>> >>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>> >>>>>>>                `.-._   ,' __.---'   |                          /
>>> >>>>>>>                 |   `-.  |           \                        /
>>> >>>>>>>                 `.    |  |            `.                    ,'
>>> >>>>>>>                  |    |  |              `.                ,'
>>> >>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>> >>>>>>> <___________________________)                 `------'
>>> >>>>>>>                    | _|  |
>>> >>>>>>>                    `.____|
>>> >>>>>>>
>>> >>>>>>>
>>> >>>>>>>
>>> >>>>>>> =================================
>>> >>>>>>
>>> >>>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>> --
>>> >>>>> =================================
>>> >>>>> Fátima Castiglione Maldonado
>>> >>>>> Singer, Designer, Creative, Artificial Intelligence
>>> >>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>> >>>>> castiglionemaldonado@gmail.com
>>> >>>>>
>>> >>>>>                      ____
>>> >>>>>                    ,'_   |
>>> >>>>>  __________________|__|__|__
>>> >>>>> <_____                      )                _.------._
>>> >>>>>       `-----------,------.-'              ,-'          `-.
>>> >>>>>                  |    |  |              ,'                `.
>>> >>>>>                 ,'    |  |            ,'                    `.
>>> >>>>>                 |  _,-'  |__         /                        \
>>> >>>>>               _,'-'    `.   `---.___|_____________             \
>>> >>>>>           .--'  -----.  | _____________________   `-. -----     |
>>> >>>>>           |    ___|  |  |                      \  ,- \          |
>>> >>>>>           |    ___|  |===========================((|) |         |
>>> >>>>>           |       |  |  | _____________________/  `- /          |
>>> >>>>>           `--._ -----'  |        _________________,-' -----     |
>>> >>>>>                `.-._   ,' __.---'   |                          /
>>> >>>>>                 |   `-.  |           \                        /
>>> >>>>>                 `.    |  |            `.                    ,'
>>> >>>>>                  |    |  |              `.                ,'
>>> >>>>>  _____,----------`-------`-.              `-._        _,-'
>>> >>>>> <___________________________)                 `------'
>>> >>>>>                    | _|  |
>>> >>>>>                    `.____|
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>> =================================
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>> --
>>> >>>> =================================
>>> >>>> Fátima Castiglione Maldonado
>>> >>>> Singer, Designer, Creative, Artificial Intelligence
>>> >>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>> >>>> castiglionemaldonado@gmail.com
>>> >>>>
>>> >>>>                      ____
>>> >>>>                    ,'_   |
>>> >>>>  __________________|__|__|__
>>> >>>> <_____                      )                _.------._
>>> >>>>       `-----------,------.-'              ,-'          `-.
>>> >>>>                  |    |  |              ,'                `.
>>> >>>>                 ,'    |  |            ,'                    `.
>>> >>>>                 |  _,-'  |__         /                        \
>>> >>>>               _,'-'    `.   `---.___|_____________             \
>>> >>>>           .--'  -----.  | _____________________   `-. -----     |
>>> >>>>           |    ___|  |  |                      \  ,- \          |
>>> >>>>           |    ___|  |===========================((|) |         |
>>> >>>>           |       |  |  | _____________________/  `- /          |
>>> >>>>           `--._ -----'  |        _________________,-' -----     |
>>> >>>>                `.-._   ,' __.---'   |                          /
>>> >>>>                 |   `-.  |           \                        /
>>> >>>>                 `.    |  |            `.                    ,'
>>> >>>>                  |    |  |              `.                ,'
>>> >>>>  _____,----------`-------`-.              `-._        _,-'
>>> >>>> <___________________________)                 `------'
>>> >>>>                    | _|  |
>>> >>>>                    `.____|
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>> =================================
>>> >>>>
>>> >>>> while( love & passion ) {
>>> >>>>   for( fight = 0 ; rights < freedom ; rights++ )
>>> >>>>     fight = standup( rights );
>>> >>>>   free( babylon );
>>> >>>> }
>>> >>>>
>>> >>>> =================================
>>> >>>>
>>> >>>>
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> =================================
>>> >> Fátima Castiglione Maldonado
>>> >> Singer, Designer, Creative, Artificial Intelligence
>>> >> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>> >> castiglionemaldonado@gmail.com
>>> >>
>>> >>                      ____
>>> >>                    ,'_   |
>>> >>  __________________|__|__|__
>>> >> <_____                      )                _.------._
>>> >>       `-----------,------.-'              ,-'          `-.
>>> >>                  |    |  |              ,'                `.
>>> >>                 ,'    |  |            ,'                    `.
>>> >>                 |  _,-'  |__         /                        \
>>> >>               _,'-'    `.   `---.___|_____________             \
>>> >>           .--'  -----.  | _____________________   `-. -----     |
>>> >>           |    ___|  |  |                      \  ,- \          |
>>> >>           |    ___|  |===========================((|) |         |
>>> >>           |       |  |  | _____________________/  `- /          |
>>> >>           `--._ -----'  |        _________________,-' -----     |
>>> >>                `.-._   ,' __.---'   |                          /
>>> >>                 |   `-.  |           \                        /
>>> >>                 `.    |  |            `.                    ,'
>>> >>                  |    |  |              `.                ,'
>>> >>  _____,----------`-------`-.              `-._        _,-'
>>> >> <___________________________)                 `------'
>>> >>                    | _|  |
>>> >>                    `.____|
>>> >>
>>> >>
>>> >>
>>> >> =================================
>>> >>
>>> >> while( love & passion ) {
>>> >>   for( fight = 0 ; rights < freedom ; rights++ )
>>> >>     fight = standup( rights );
>>> >>   free( babylon );
>>> >> }
>>> >>
>>> >> =================================
>>> >>
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > =================================
>>> > Fátima Castiglione Maldonado
>>> > Singer, Designer, Creative, Artificial Intelligence
>>> > Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>> > castiglionemaldonado@gmail.com
>>> >
>>> >                      ____
>>> >                    ,'_   |
>>> >  __________________|__|__|__
>>> > <_____                      )                _.------._
>>> >       `-----------,------.-'              ,-'          `-.
>>> >                  |    |  |              ,'                `.
>>> >                 ,'    |  |            ,'                    `.
>>> >                 |  _,-'  |__         /                        \
>>> >               _,'-'    `.   `---.___|_____________             \
>>> >           .--'  -----.  | _____________________   `-. -----     |
>>> >           |    ___|  |  |                      \  ,- \          |
>>> >           |    ___|  |===========================((|) |         |
>>> >           |       |  |  | _____________________/  `- /          |
>>> >           `--._ -----'  |        _________________,-' -----     |
>>> >                `.-._   ,' __.---'   |                          /
>>> >                 |   `-.  |           \                        /
>>> >                 `.    |  |            `.                    ,'
>>> >                  |    |  |              `.                ,'
>>> >  _____,----------`-------`-.              `-._        _,-'
>>> > <___________________________)                 `------'
>>> >                    | _|  |
>>> >                    `.____|
>>> >
>>> >
>>> >
>>> > =================================
>>> >
>>> > while( love & passion ) {
>>> >   for( fight = 0 ; rights < freedom ; rights++ )
>>> >     fight = standup( rights );
>>> >   free( babylon );
>>> > }
>>> >
>>> > =================================
>>> >
>>> >
>>>
>>
>>
>>
>> --
>> =================================
>> Fátima Castiglione Maldonado
>> Singer, Designer, Creative, Artificial Intelligence
>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>> castiglionemaldonado@gmail.com
>>
>>                      ____
>>                    ,'_   |
>>  __________________|__|__|__
>> <_____                      )                _.------._
>>       `-----------,------.-'              ,-'          `-.
>>                  |    |  |              ,'                `.
>>                 ,'    |  |            ,'                    `.
>>                 |  _,-'  |__         /                        \
>>               _,'-'    `.   `---.___|_____________             \
>>           .--'  -----.  | _____________________   `-. -----     |
>>           |    ___|  |  |                      \  ,- \          |
>>           |    ___|  |===========================((|) |         |
>>           |       |  |  | _____________________/  `- /          |
>>           `--._ -----'  |        _________________,-' -----     |
>>                `.-._   ,' __.---'   |                          /
>>                 |   `-.  |           \                        /
>>                 `.    |  |            `.                    ,'
>>                  |    |  |              `.                ,'
>>  _____,----------`-------`-.              `-._        _,-'
>> <___________________________)                 `------'
>>                    | _|  |
>>                    `.____|
>>
>>
>>
>> =================================
>>
>> while( love & passion ) {
>>   for( fight = 0 ; rights < freedom ; rights++ )
>>     fight = standup( rights );
>>   free( babylon );
>> }
>> =================================
>>
>>
>>
>


-- 
=================================
Fátima Castiglione Maldonado
Singer, Designer, Creative, Artificial Intelligence
Cantante, Diseñadora, Creativa, Inteligencia Artificial
castiglionemaldonado@gmail.com

                     ____
                   ,'_   |
 __________________|__|__|__
<_____                      )                _.------._
      `-----------,------.-'              ,-'          `-.
                 |    |  |              ,'                `.
                ,'    |  |            ,'                    `.
                |  _,-'  |__         /                        \
              _,'-'    `.   `---.___|_____________             \
          .--'  -----.  | _____________________   `-. -----     |
          |    ___|  |  |                      \  ,- \          |
          |    ___|  |===========================((|) |         |
          |       |  |  | _____________________/  `- /          |
          `--._ -----'  |        _________________,-' -----     |
               `.-._   ,' __.---'   |                          /
                |   `-.  |           \                        /
                `.    |  |            `.                    ,'
                 |    |  |              `.                ,'
 _____,----------`-------`-.              `-._        _,-'
<___________________________)                 `------'
                   | _|  |
                   `.____|



=================================

while( love & passion ) {
  for( fight = 0 ; rights < freedom ; rights++ )
    fight = standup( rights );
  free( babylon );
}
=================================

Re: full Python API for MADlib

Posted by Rahul Iyer <ra...@gmail.com>.
If you do a `SELECT madlib.version()` in your database, it should show the
installed version. That's the one that pymadlib will eventually call.

On Tue, Jan 3, 2017 at 2:05 PM, Fatima Castiglione Maldonado 发 <
castiglionemaldonado@gmail.com> wrote:

> Yes, I did install it on GPDB and it is working ok (I tested it with some
> examples from the "Getting Started" guide, just in case)
>
> 1. in any case I understand that the PyPi version won't execute as
> pymadlib is calling GPDB directly and then MADlib will run inside GPDB...
> Is that true?
>
> 2. should I uninstall the PyPi version?
>
> best,
> Fatima
>
>
>
> 2017-01-03 18:54 GMT-03:00 Rahul Iyer <ra...@gmail.com>:
>
>> Hi Fatima,
>>
>> The `pip` package for MADlib was built by an outside contributor who
>> hasn't updated the package. I'm not sure if PyPi is the right place
>> for MADlib, since it is not a Python package (not the same as
>> Pymadlib).
>>
>> I suggest installing MADlib through the RPM available on the webpage.
>>
>> Best,
>> Rahul
>>
>> On Sun, Jan 1, 2017 at 4:46 PM, Fatima Castiglione Maldonado 发
>> <ca...@gmail.com> wrote:
>> > Just to let you know (maybe it was done on purpose?) but I have just
>> find
>> > out something quaint.
>> >
>> > I have already installed MADlib 1.9.1 on GPDB. Am playing around with
>> the
>> > environment, so I installed MADlib using pip and got this:
>> >
>> > [root@mdw ~]# pip install MADlib
>> > Collecting MADlib
>> >   Downloading Madlib-1.0.tar.gz
>> > Installing collected packages: MADlib
>> >   Running setup.py install for MADlib ... done
>> > Successfully installed MADlib-1.0
>> >
>> > Shouldn't it be 1.9.1 too?
>> >
>> >
>> > Happy new year,
>> > Fatima
>> >
>> >
>> >
>> > 2016-12-28 1:35 GMT-03:00 Fatima Castiglione Maldonado 发
>> > <ca...@gmail.com>:
>> >>
>> >> Brevity is a virtue.
>> >>
>> >> 2016-12-28 0:36 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:
>> >>>
>> >>> Yes
>> >>>
>> >>> Sent from my mobile.  Please excuse brevity.
>> >>>
>> >>> On Dec 27, 2016 6:19 PM, "Fatima Castiglione Maldonado 发"
>> >>> <ca...@gmail.com> wrote:
>> >>>>
>> >>>> Hi
>> >>>>
>> >>>> 1.
>> >>>> I have installed CentOS 7 and GPDB 4.3.11.
>> >>>> It works ok and I can run standard SQL examples, no problems.
>> >>>>
>> >>>> 2. I am now installing MADlib 1.9.1
>> >>>>
>> >>>> "This is an important note for installation of MADlib 1.9.1 on
>> >>>> GPDB 4.3.10.  It does not apply to any other GPDB releases.
>> >>>>
>> >>>> After gppkg installation of MADlib, you must run the script
>> >>>> fix_madpack.sh BEFORE running the madpack utility."
>> >>>>
>> >>>> Should I run this script for 4.3.11 ?
>> >>>>
>> >>>> Thanks in advance for any answer.
>> >>>> Fatima
>> >>>>
>> >>>>
>> >>>> 2016-12-24 0:11 GMT-03:00 Fatima Castiglione Maldonado 发
>> >>>> <ca...@gmail.com>:
>> >>>>>
>> >>>>> > I think forking Pymadlib code and making it work for your use case
>> >>>>> > would be >great first step.
>> >>>>>
>> >>>>> Completely d'accord.
>> >>>>>
>> >>>>> > I do have thoughts on what Python API for MADlib should achieve
>> and
>> >>>>> > how that can be designed, but that's a bigger discussion we can
>> have after
>> >>>>> > we've made initial progress.
>> >>>>>
>> >>>>> Yap. Once I can make at least one algorithm to run with 1.9.1, ok?
>> >>>>> Maybe fixing more than one will be useless, if we plan to change
>> external
>> >>>>> API... I would probably have to rework all the parameter-tweaking
>> stuff...
>> >>>>> Boring to make it twice.
>> >>>>>
>> >>>>> > An important step in building the API is consistency esp. with
>> >>>>> > external API. For that purpose following scikit-learn's structure
>> would be
>> >>>>> > helpful.
>> >>>>>
>> >>>>> That's would be smart. Honestly I did not see it coming, but now
>> that
>> >>>>> you said it, I agree 100%, as it would make Pymadlib instantly
>> "pluggable"
>> >>>>> whit what is probably a nice lot of pre-existing code.
>> >>>>>
>> >>>>> Will keep you updated.
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>> 2016-12-23 20:07 GMT-03:00 Rahul Iyer <ra...@gmail.com>:
>> >>>>>>
>> >>>>>> Hi Fatima,
>> >>>>>>
>> >>>>>> Thanks for starting this work.
>> >>>>>>>
>> >>>>>>> When you get back to work please let me know if you are OK with me
>> >>>>>>> forking this code base, or if you are thinking to make any
>> important
>> >>>>>>> changes.
>> >>>>>>>
>> >>>>>> I think forking Pymadlib code and making it work for your use case
>> >>>>>> would be great first step. I do have thoughts on what Python API
>> for MADlib
>> >>>>>> should achieve and how that can be designed, but that's a bigger
>> discussion
>> >>>>>> we can have after we've made initial progress.
>> >>>>>>
>> >>>>>> An important step in building the API is consistency esp. with
>> >>>>>> external API. For that purpose following scikit-learn's structure
>> would be
>> >>>>>> helpful. We can go over specifics after initial progress.
>> >>>>>>
>> >>>>>>>
>> >>>>>>> Am also watching the videos so I get more familiar with available
>> >>>>>>> algorithms.
>> >>>>>>> In my next available time slot will install it all so am ready to
>> >>>>>>> start.
>> >>>>>>
>> >>>>>>
>> >>>>>> The videos + getting Pymadlib to work are the right goals to start
>> >>>>>> with. Feel free to let this forum know about progress and
>> questions.
>> >>>>>>
>> >>>>>> Best,
>> >>>>>> Rahul
>> >>>>>>>
>> >>>>>>> 2016-12-22 17:49 GMT-03:00 Fatima Castiglione Maldonado 发
>> >>>>>>> <ca...@gmail.com>:
>> >>>>>>>>
>> >>>>>>>> Great, thanks. We will check it once I read a bit more and then
>> we
>> >>>>>>>> can talk.
>> >>>>>>>>
>> >>>>>>>> 2016-12-22 17:28 GMT-03:00 Frank McQuillan <
>> fmcquillan@pivotal.io>:
>> >>>>>>>>>
>> >>>>>>>>> This is an early attempt at a Python interface for MADlib
>> >>>>>>>>> https://github.com/pivotalsoftware/pymadlib
>> >>>>>>>>> but I would say it is preliminary in nature and we may want to
>> take
>> >>>>>>>>> a different approach.
>> >>>>>>>>>
>> >>>>>>>>> @riyer can provide more details on this.
>> >>>>>>>>>
>> >>>>>>>>> Frank
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>> On Thu, Dec 22, 2016 at 12:02 PM, Fatima Castiglione Maldonado 发
>> >>>>>>>>> <ca...@gmail.com> wrote:
>> >>>>>>>>>>
>> >>>>>>>>>> I am reading documentation:
>> >>>>>>>>>>
>> >>>>>>>>>> Apache MADlib (Incubating)
>> >>>>>>>>>> Created by Gavin, last modified by Frank McQuillan on Sep 13,
>> 2016
>> >>>>>>>>>>
>> >>>>>>>>>> https://cwiki.apache.org/confluence/pages/viewpage.action?
>> pageId=61319606
>> >>>>>>>>>>
>> >>>>>>>>>> and watching videos:
>> >>>>>>>>>>
>> >>>>>>>>>> Pivotal Open Source Hub - Watch!
>> >>>>>>>>>> https://www.youtube.com/channel/UCLQV6NlSaIZBGym1mEczuqQ
>> >>>>>>>>>>
>> >>>>>>>>>> This should take me a few days.
>> >>>>>>>>>> If there is other relevant material please let me know.
>> >>>>>>>>>>
>> >>>>>>>>>> Best,
>> >>>>>>>>>> Fatima
>> >>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>> 2016-12-20 23:00 GMT-03:00 Fatima Castiglione Maldonado 发
>> >>>>>>>>>> <ca...@gmail.com>:
>> >>>>>>>>>>>
>> >>>>>>>>>>> Hi Frank,
>> >>>>>>>>>>>
>> >>>>>>>>>>> thanks for your kind answer. Yeah, just yesterday night I saw
>> the
>> >>>>>>>>>>> user's survey results, plus today I read some "top ten python
>> APIs" doc and
>> >>>>>>>>>>> MADlib was not there, so two plus two four.
>> >>>>>>>>>>>
>> >>>>>>>>>>> I would like to use the python API in a POC. My main
>> expertise is
>> >>>>>>>>>>> coding, so would probably need some help with architecture
>> design.
>> >>>>>>>>>>>
>> >>>>>>>>>>> Best,
>> >>>>>>>>>>> Fatima
>> >>>>>>>>>>>
>> >>>>>>>>>>>
>> >>>>>>>>>>>
>> >>>>>>>>>>>
>> >>>>>>>>>>>
>> >>>>>>>>>>>
>> >>>>>>>>>>> 2016-12-20 22:54 GMT-03:00 Frank McQuillan
>> >>>>>>>>>>> <fm...@pivotal.io>:
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> Hi Fatima,
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> Thank you for your email and offer to participate.
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> A Python API for MADlib is something that a lot of people
>> have
>> >>>>>>>>>>>> been asking for.  In the recent MADlib survey, it was one of
>> the top
>> >>>>>>>>>>>> requests.
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> There is already an R interface
>> >>>>>>>>>>>> https://cran.r-project.org/web/packages/PivotalR/
>> >>>>>>>>>>>> which could be a model for how to approach the Python
>> interface.
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> There have been some prototyping done, but the feature is a
>> new
>> >>>>>>>>>>>> one for Python API.
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> But before we get into details, would you be able to say a
>> >>>>>>>>>>>> little bit about your planned use for the Python API.  Also,
>> what aspect
>> >>>>>>>>>>>> would you be interested in working on? - architecture, core
>> software
>> >>>>>>>>>>>> development, testing, etc.
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> Regards,
>> >>>>>>>>>>>> Frank
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> On Tue, Dec 20, 2016 at 1:28 PM, Fatima Castiglione
>> Maldonado 发
>> >>>>>>>>>>>> <ca...@gmail.com> wrote:
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> Hi,
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> does anybody know how to participate in the "full Python API
>> >>>>>>>>>>>>> for MADlib" effort? I would like to give a helping hand.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> Best,
>> >>>>>>>>>>>>> Fatima
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> --
>> >>>>>>>>>>>>> =================================
>> >>>>>>>>>>>>> Fátima Castiglione Maldonado
>> >>>>>>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>> >>>>>>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>> >>>>>>>>>>>>> castiglionemaldonado@gmail.com
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>                      ____
>> >>>>>>>>>>>>>                    ,'_   |
>> >>>>>>>>>>>>>  __________________|__|__|__
>> >>>>>>>>>>>>> <_____                      )                _.------._
>> >>>>>>>>>>>>>       `-----------,------.-'              ,-'          `-.
>> >>>>>>>>>>>>>                  |    |  |              ,'                `.
>> >>>>>>>>>>>>>                 ,'    |  |            ,'
>> `.
>> >>>>>>>>>>>>>                 |  _,-'  |__         /
>>   \
>> >>>>>>>>>>>>>               _,'-'    `.   `---.___|_____________
>> >>>>>>>>>>>>> \
>> >>>>>>>>>>>>>           .--'  -----.  | _____________________   `-. -----
>> >>>>>>>>>>>>> |
>> >>>>>>>>>>>>>           |    ___|  |  |                      \  ,- \
>> >>>>>>>>>>>>> |
>> >>>>>>>>>>>>>           |    ___|  |===========================((|) |
>> >>>>>>>>>>>>> |
>> >>>>>>>>>>>>>           |       |  |  | _____________________/  `- /
>> >>>>>>>>>>>>> |
>> >>>>>>>>>>>>>           `--._ -----'  |        _________________,-' -----
>> >>>>>>>>>>>>> |
>> >>>>>>>>>>>>>                `.-._   ,' __.---'   |
>> >>>>>>>>>>>>> /
>> >>>>>>>>>>>>>                 |   `-.  |           \
>>   /
>> >>>>>>>>>>>>>                 `.    |  |            `.
>> ,'
>> >>>>>>>>>>>>>                  |    |  |              `.                ,'
>> >>>>>>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>> >>>>>>>>>>>>> <___________________________)                 `------'
>> >>>>>>>>>>>>>                    | _|  |
>> >>>>>>>>>>>>>                    `.____|
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> =================================
>> >>>>>>>>>>>>
>> >>>>>>>>>>>>
>> >>>>>>>>>>>
>> >>>>>>>>>>>
>> >>>>>>>>>>>
>> >>>>>>>>>>> --
>> >>>>>>>>>>> =================================
>> >>>>>>>>>>> Fátima Castiglione Maldonado
>> >>>>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>> >>>>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>> >>>>>>>>>>> castiglionemaldonado@gmail.com
>> >>>>>>>>>>>
>> >>>>>>>>>>>                      ____
>> >>>>>>>>>>>                    ,'_   |
>> >>>>>>>>>>>  __________________|__|__|__
>> >>>>>>>>>>> <_____                      )                _.------._
>> >>>>>>>>>>>       `-----------,------.-'              ,-'          `-.
>> >>>>>>>>>>>                  |    |  |              ,'                `.
>> >>>>>>>>>>>                 ,'    |  |            ,'                    `.
>> >>>>>>>>>>>                 |  _,-'  |__         /
>> \
>> >>>>>>>>>>>               _,'-'    `.   `---.___|_____________
>>  \
>> >>>>>>>>>>>           .--'  -----.  | _____________________   `-. -----
>>    |
>> >>>>>>>>>>>           |    ___|  |  |                      \  ,- \
>>   |
>> >>>>>>>>>>>           |    ___|  |===========================((|) |
>>    |
>> >>>>>>>>>>>           |       |  |  | _____________________/  `- /
>>   |
>> >>>>>>>>>>>           `--._ -----'  |        _________________,-' -----
>>    |
>> >>>>>>>>>>>                `.-._   ,' __.---'   |
>>   /
>> >>>>>>>>>>>                 |   `-.  |           \
>> /
>> >>>>>>>>>>>                 `.    |  |            `.                    ,'
>> >>>>>>>>>>>                  |    |  |              `.                ,'
>> >>>>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>> >>>>>>>>>>> <___________________________)                 `------'
>> >>>>>>>>>>>                    | _|  |
>> >>>>>>>>>>>                    `.____|
>> >>>>>>>>>>>
>> >>>>>>>>>>>
>> >>>>>>>>>>>
>> >>>>>>>>>>> =================================
>> >>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>> --
>> >>>>>>>>>> =================================
>> >>>>>>>>>> Fátima Castiglione Maldonado
>> >>>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>> >>>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>> >>>>>>>>>> castiglionemaldonado@gmail.com
>> >>>>>>>>>>
>> >>>>>>>>>>                      ____
>> >>>>>>>>>>                    ,'_   |
>> >>>>>>>>>>  __________________|__|__|__
>> >>>>>>>>>> <_____                      )                _.------._
>> >>>>>>>>>>       `-----------,------.-'              ,-'          `-.
>> >>>>>>>>>>                  |    |  |              ,'                `.
>> >>>>>>>>>>                 ,'    |  |            ,'                    `.
>> >>>>>>>>>>                 |  _,-'  |__         /                        \
>> >>>>>>>>>>               _,'-'    `.   `---.___|_____________
>>  \
>> >>>>>>>>>>           .--'  -----.  | _____________________   `-. -----
>>  |
>> >>>>>>>>>>           |    ___|  |  |                      \  ,- \
>>   |
>> >>>>>>>>>>           |    ___|  |===========================((|) |
>>    |
>> >>>>>>>>>>           |       |  |  | _____________________/  `- /
>>   |
>> >>>>>>>>>>           `--._ -----'  |        _________________,-' -----
>>  |
>> >>>>>>>>>>                `.-._   ,' __.---'   |
>> /
>> >>>>>>>>>>                 |   `-.  |           \                        /
>> >>>>>>>>>>                 `.    |  |            `.                    ,'
>> >>>>>>>>>>                  |    |  |              `.                ,'
>> >>>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>> >>>>>>>>>> <___________________________)                 `------'
>> >>>>>>>>>>                    | _|  |
>> >>>>>>>>>>                    `.____|
>> >>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>> =================================
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>> --
>> >>>>>>>> =================================
>> >>>>>>>> Fátima Castiglione Maldonado
>> >>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>> >>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>> >>>>>>>> castiglionemaldonado@gmail.com
>> >>>>>>>>
>> >>>>>>>>                      ____
>> >>>>>>>>                    ,'_   |
>> >>>>>>>>  __________________|__|__|__
>> >>>>>>>> <_____                      )                _.------._
>> >>>>>>>>       `-----------,------.-'              ,-'          `-.
>> >>>>>>>>                  |    |  |              ,'                `.
>> >>>>>>>>                 ,'    |  |            ,'                    `.
>> >>>>>>>>                 |  _,-'  |__         /                        \
>> >>>>>>>>               _,'-'    `.   `---.___|_____________             \
>> >>>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>> >>>>>>>>           |    ___|  |  |                      \  ,- \          |
>> >>>>>>>>           |    ___|  |===========================((|) |
>>  |
>> >>>>>>>>           |       |  |  | _____________________/  `- /          |
>> >>>>>>>>           `--._ -----'  |        _________________,-' -----     |
>> >>>>>>>>                `.-._   ,' __.---'   |                          /
>> >>>>>>>>                 |   `-.  |           \                        /
>> >>>>>>>>                 `.    |  |            `.                    ,'
>> >>>>>>>>                  |    |  |              `.                ,'
>> >>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>> >>>>>>>> <___________________________)                 `------'
>> >>>>>>>>                    | _|  |
>> >>>>>>>>                    `.____|
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>> =================================
>> >>>>>>>
>> >>>>>>>
>> >>>>>>>
>> >>>>>>>
>> >>>>>>> --
>> >>>>>>> =================================
>> >>>>>>> Fátima Castiglione Maldonado
>> >>>>>>> Singer, Designer, Creative, Artificial Intelligence
>> >>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>> >>>>>>> castiglionemaldonado@gmail.com
>> >>>>>>>
>> >>>>>>>                      ____
>> >>>>>>>                    ,'_   |
>> >>>>>>>  __________________|__|__|__
>> >>>>>>> <_____                      )                _.------._
>> >>>>>>>       `-----------,------.-'              ,-'          `-.
>> >>>>>>>                  |    |  |              ,'                `.
>> >>>>>>>                 ,'    |  |            ,'                    `.
>> >>>>>>>                 |  _,-'  |__         /                        \
>> >>>>>>>               _,'-'    `.   `---.___|_____________             \
>> >>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>> >>>>>>>           |    ___|  |  |                      \  ,- \          |
>> >>>>>>>           |    ___|  |===========================((|) |         |
>> >>>>>>>           |       |  |  | _____________________/  `- /          |
>> >>>>>>>           `--._ -----'  |        _________________,-' -----     |
>> >>>>>>>                `.-._   ,' __.---'   |                          /
>> >>>>>>>                 |   `-.  |           \                        /
>> >>>>>>>                 `.    |  |            `.                    ,'
>> >>>>>>>                  |    |  |              `.                ,'
>> >>>>>>>  _____,----------`-------`-.              `-._        _,-'
>> >>>>>>> <___________________________)                 `------'
>> >>>>>>>                    | _|  |
>> >>>>>>>                    `.____|
>> >>>>>>>
>> >>>>>>>
>> >>>>>>>
>> >>>>>>> =================================
>> >>>>>>
>> >>>>>>
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>> --
>> >>>>> =================================
>> >>>>> Fátima Castiglione Maldonado
>> >>>>> Singer, Designer, Creative, Artificial Intelligence
>> >>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>> >>>>> castiglionemaldonado@gmail.com
>> >>>>>
>> >>>>>                      ____
>> >>>>>                    ,'_   |
>> >>>>>  __________________|__|__|__
>> >>>>> <_____                      )                _.------._
>> >>>>>       `-----------,------.-'              ,-'          `-.
>> >>>>>                  |    |  |              ,'                `.
>> >>>>>                 ,'    |  |            ,'                    `.
>> >>>>>                 |  _,-'  |__         /                        \
>> >>>>>               _,'-'    `.   `---.___|_____________             \
>> >>>>>           .--'  -----.  | _____________________   `-. -----     |
>> >>>>>           |    ___|  |  |                      \  ,- \          |
>> >>>>>           |    ___|  |===========================((|) |         |
>> >>>>>           |       |  |  | _____________________/  `- /          |
>> >>>>>           `--._ -----'  |        _________________,-' -----     |
>> >>>>>                `.-._   ,' __.---'   |                          /
>> >>>>>                 |   `-.  |           \                        /
>> >>>>>                 `.    |  |            `.                    ,'
>> >>>>>                  |    |  |              `.                ,'
>> >>>>>  _____,----------`-------`-.              `-._        _,-'
>> >>>>> <___________________________)                 `------'
>> >>>>>                    | _|  |
>> >>>>>                    `.____|
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>> =================================
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>> --
>> >>>> =================================
>> >>>> Fátima Castiglione Maldonado
>> >>>> Singer, Designer, Creative, Artificial Intelligence
>> >>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>> >>>> castiglionemaldonado@gmail.com
>> >>>>
>> >>>>                      ____
>> >>>>                    ,'_   |
>> >>>>  __________________|__|__|__
>> >>>> <_____                      )                _.------._
>> >>>>       `-----------,------.-'              ,-'          `-.
>> >>>>                  |    |  |              ,'                `.
>> >>>>                 ,'    |  |            ,'                    `.
>> >>>>                 |  _,-'  |__         /                        \
>> >>>>               _,'-'    `.   `---.___|_____________             \
>> >>>>           .--'  -----.  | _____________________   `-. -----     |
>> >>>>           |    ___|  |  |                      \  ,- \          |
>> >>>>           |    ___|  |===========================((|) |         |
>> >>>>           |       |  |  | _____________________/  `- /          |
>> >>>>           `--._ -----'  |        _________________,-' -----     |
>> >>>>                `.-._   ,' __.---'   |                          /
>> >>>>                 |   `-.  |           \                        /
>> >>>>                 `.    |  |            `.                    ,'
>> >>>>                  |    |  |              `.                ,'
>> >>>>  _____,----------`-------`-.              `-._        _,-'
>> >>>> <___________________________)                 `------'
>> >>>>                    | _|  |
>> >>>>                    `.____|
>> >>>>
>> >>>>
>> >>>>
>> >>>> =================================
>> >>>>
>> >>>> while( love & passion ) {
>> >>>>   for( fight = 0 ; rights < freedom ; rights++ )
>> >>>>     fight = standup( rights );
>> >>>>   free( babylon );
>> >>>> }
>> >>>>
>> >>>> =================================
>> >>>>
>> >>>>
>> >>
>> >>
>> >>
>> >> --
>> >> =================================
>> >> Fátima Castiglione Maldonado
>> >> Singer, Designer, Creative, Artificial Intelligence
>> >> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>> >> castiglionemaldonado@gmail.com
>> >>
>> >>                      ____
>> >>                    ,'_   |
>> >>  __________________|__|__|__
>> >> <_____                      )                _.------._
>> >>       `-----------,------.-'              ,-'          `-.
>> >>                  |    |  |              ,'                `.
>> >>                 ,'    |  |            ,'                    `.
>> >>                 |  _,-'  |__         /                        \
>> >>               _,'-'    `.   `---.___|_____________             \
>> >>           .--'  -----.  | _____________________   `-. -----     |
>> >>           |    ___|  |  |                      \  ,- \          |
>> >>           |    ___|  |===========================((|) |         |
>> >>           |       |  |  | _____________________/  `- /          |
>> >>           `--._ -----'  |        _________________,-' -----     |
>> >>                `.-._   ,' __.---'   |                          /
>> >>                 |   `-.  |           \                        /
>> >>                 `.    |  |            `.                    ,'
>> >>                  |    |  |              `.                ,'
>> >>  _____,----------`-------`-.              `-._        _,-'
>> >> <___________________________)                 `------'
>> >>                    | _|  |
>> >>                    `.____|
>> >>
>> >>
>> >>
>> >> =================================
>> >>
>> >> while( love & passion ) {
>> >>   for( fight = 0 ; rights < freedom ; rights++ )
>> >>     fight = standup( rights );
>> >>   free( babylon );
>> >> }
>> >>
>> >> =================================
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > =================================
>> > Fátima Castiglione Maldonado
>> > Singer, Designer, Creative, Artificial Intelligence
>> > Cantante, Diseñadora, Creativa, Inteligencia Artificial
>> > castiglionemaldonado@gmail.com
>> >
>> >                      ____
>> >                    ,'_   |
>> >  __________________|__|__|__
>> > <_____                      )                _.------._
>> >       `-----------,------.-'              ,-'          `-.
>> >                  |    |  |              ,'                `.
>> >                 ,'    |  |            ,'                    `.
>> >                 |  _,-'  |__         /                        \
>> >               _,'-'    `.   `---.___|_____________             \
>> >           .--'  -----.  | _____________________   `-. -----     |
>> >           |    ___|  |  |                      \  ,- \          |
>> >           |    ___|  |===========================((|) |         |
>> >           |       |  |  | _____________________/  `- /          |
>> >           `--._ -----'  |        _________________,-' -----     |
>> >                `.-._   ,' __.---'   |                          /
>> >                 |   `-.  |           \                        /
>> >                 `.    |  |            `.                    ,'
>> >                  |    |  |              `.                ,'
>> >  _____,----------`-------`-.              `-._        _,-'
>> > <___________________________)                 `------'
>> >                    | _|  |
>> >                    `.____|
>> >
>> >
>> >
>> > =================================
>> >
>> > while( love & passion ) {
>> >   for( fight = 0 ; rights < freedom ; rights++ )
>> >     fight = standup( rights );
>> >   free( babylon );
>> > }
>> >
>> > =================================
>> >
>> >
>>
>
>
>
> --
> =================================
> Fátima Castiglione Maldonado
> Singer, Designer, Creative, Artificial Intelligence
> Cantante, Diseñadora, Creativa, Inteligencia Artificial
> castiglionemaldonado@gmail.com
>
>                      ____
>                    ,'_   |
>  __________________|__|__|__
> <_____                      )                _.------._
>       `-----------,------.-'              ,-'          `-.
>                  |    |  |              ,'                `.
>                 ,'    |  |            ,'                    `.
>                 |  _,-'  |__         /                        \
>               _,'-'    `.   `---.___|_____________             \
>           .--'  -----.  | _____________________   `-. -----     |
>           |    ___|  |  |                      \  ,- \          |
>           |    ___|  |===========================((|) |         |
>           |       |  |  | _____________________/  `- /          |
>           `--._ -----'  |        _________________,-' -----     |
>                `.-._   ,' __.---'   |                          /
>                 |   `-.  |           \                        /
>                 `.    |  |            `.                    ,'
>                  |    |  |              `.                ,'
>  _____,----------`-------`-.              `-._        _,-'
> <___________________________)                 `------'
>                    | _|  |
>                    `.____|
>
>
>
> =================================
>
> while( love & passion ) {
>   for( fight = 0 ; rights < freedom ; rights++ )
>     fight = standup( rights );
>   free( babylon );
> }
> =================================
>
>
>

Re: full Python API for MADlib

Posted by Fatima Castiglione Maldonado 发 <ca...@gmail.com>.
Yes, I did install it on GPDB and it is working ok (I tested it with some
examples from the "Getting Started" guide, just in case)

1. in any case I understand that the PyPi version won't execute as pymadlib
is calling GPDB directly and then MADlib will run inside GPDB... Is that
true?

2. should I uninstall the PyPi version?

best,
Fatima



2017-01-03 18:54 GMT-03:00 Rahul Iyer <ra...@gmail.com>:

> Hi Fatima,
>
> The `pip` package for MADlib was built by an outside contributor who
> hasn't updated the package. I'm not sure if PyPi is the right place
> for MADlib, since it is not a Python package (not the same as
> Pymadlib).
>
> I suggest installing MADlib through the RPM available on the webpage.
>
> Best,
> Rahul
>
> On Sun, Jan 1, 2017 at 4:46 PM, Fatima Castiglione Maldonado 发
> <ca...@gmail.com> wrote:
> > Just to let you know (maybe it was done on purpose?) but I have just find
> > out something quaint.
> >
> > I have already installed MADlib 1.9.1 on GPDB. Am playing around with the
> > environment, so I installed MADlib using pip and got this:
> >
> > [root@mdw ~]# pip install MADlib
> > Collecting MADlib
> >   Downloading Madlib-1.0.tar.gz
> > Installing collected packages: MADlib
> >   Running setup.py install for MADlib ... done
> > Successfully installed MADlib-1.0
> >
> > Shouldn't it be 1.9.1 too?
> >
> >
> > Happy new year,
> > Fatima
> >
> >
> >
> > 2016-12-28 1:35 GMT-03:00 Fatima Castiglione Maldonado 发
> > <ca...@gmail.com>:
> >>
> >> Brevity is a virtue.
> >>
> >> 2016-12-28 0:36 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:
> >>>
> >>> Yes
> >>>
> >>> Sent from my mobile.  Please excuse brevity.
> >>>
> >>> On Dec 27, 2016 6:19 PM, "Fatima Castiglione Maldonado 发"
> >>> <ca...@gmail.com> wrote:
> >>>>
> >>>> Hi
> >>>>
> >>>> 1.
> >>>> I have installed CentOS 7 and GPDB 4.3.11.
> >>>> It works ok and I can run standard SQL examples, no problems.
> >>>>
> >>>> 2. I am now installing MADlib 1.9.1
> >>>>
> >>>> "This is an important note for installation of MADlib 1.9.1 on
> >>>> GPDB 4.3.10.  It does not apply to any other GPDB releases.
> >>>>
> >>>> After gppkg installation of MADlib, you must run the script
> >>>> fix_madpack.sh BEFORE running the madpack utility."
> >>>>
> >>>> Should I run this script for 4.3.11 ?
> >>>>
> >>>> Thanks in advance for any answer.
> >>>> Fatima
> >>>>
> >>>>
> >>>> 2016-12-24 0:11 GMT-03:00 Fatima Castiglione Maldonado 发
> >>>> <ca...@gmail.com>:
> >>>>>
> >>>>> > I think forking Pymadlib code and making it work for your use case
> >>>>> > would be >great first step.
> >>>>>
> >>>>> Completely d'accord.
> >>>>>
> >>>>> > I do have thoughts on what Python API for MADlib should achieve and
> >>>>> > how that can be designed, but that's a bigger discussion we can
> have after
> >>>>> > we've made initial progress.
> >>>>>
> >>>>> Yap. Once I can make at least one algorithm to run with 1.9.1, ok?
> >>>>> Maybe fixing more than one will be useless, if we plan to change
> external
> >>>>> API... I would probably have to rework all the parameter-tweaking
> stuff...
> >>>>> Boring to make it twice.
> >>>>>
> >>>>> > An important step in building the API is consistency esp. with
> >>>>> > external API. For that purpose following scikit-learn's structure
> would be
> >>>>> > helpful.
> >>>>>
> >>>>> That's would be smart. Honestly I did not see it coming, but now that
> >>>>> you said it, I agree 100%, as it would make Pymadlib instantly
> "pluggable"
> >>>>> whit what is probably a nice lot of pre-existing code.
> >>>>>
> >>>>> Will keep you updated.
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> 2016-12-23 20:07 GMT-03:00 Rahul Iyer <ra...@gmail.com>:
> >>>>>>
> >>>>>> Hi Fatima,
> >>>>>>
> >>>>>> Thanks for starting this work.
> >>>>>>>
> >>>>>>> When you get back to work please let me know if you are OK with me
> >>>>>>> forking this code base, or if you are thinking to make any
> important
> >>>>>>> changes.
> >>>>>>>
> >>>>>> I think forking Pymadlib code and making it work for your use case
> >>>>>> would be great first step. I do have thoughts on what Python API
> for MADlib
> >>>>>> should achieve and how that can be designed, but that's a bigger
> discussion
> >>>>>> we can have after we've made initial progress.
> >>>>>>
> >>>>>> An important step in building the API is consistency esp. with
> >>>>>> external API. For that purpose following scikit-learn's structure
> would be
> >>>>>> helpful. We can go over specifics after initial progress.
> >>>>>>
> >>>>>>>
> >>>>>>> Am also watching the videos so I get more familiar with available
> >>>>>>> algorithms.
> >>>>>>> In my next available time slot will install it all so am ready to
> >>>>>>> start.
> >>>>>>
> >>>>>>
> >>>>>> The videos + getting Pymadlib to work are the right goals to start
> >>>>>> with. Feel free to let this forum know about progress and questions.
> >>>>>>
> >>>>>> Best,
> >>>>>> Rahul
> >>>>>>>
> >>>>>>> 2016-12-22 17:49 GMT-03:00 Fatima Castiglione Maldonado 发
> >>>>>>> <ca...@gmail.com>:
> >>>>>>>>
> >>>>>>>> Great, thanks. We will check it once I read a bit more and then we
> >>>>>>>> can talk.
> >>>>>>>>
> >>>>>>>> 2016-12-22 17:28 GMT-03:00 Frank McQuillan <fmcquillan@pivotal.io
> >:
> >>>>>>>>>
> >>>>>>>>> This is an early attempt at a Python interface for MADlib
> >>>>>>>>> https://github.com/pivotalsoftware/pymadlib
> >>>>>>>>> but I would say it is preliminary in nature and we may want to
> take
> >>>>>>>>> a different approach.
> >>>>>>>>>
> >>>>>>>>> @riyer can provide more details on this.
> >>>>>>>>>
> >>>>>>>>> Frank
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> On Thu, Dec 22, 2016 at 12:02 PM, Fatima Castiglione Maldonado 发
> >>>>>>>>> <ca...@gmail.com> wrote:
> >>>>>>>>>>
> >>>>>>>>>> I am reading documentation:
> >>>>>>>>>>
> >>>>>>>>>> Apache MADlib (Incubating)
> >>>>>>>>>> Created by Gavin, last modified by Frank McQuillan on Sep 13,
> 2016
> >>>>>>>>>>
> >>>>>>>>>> https://cwiki.apache.org/confluence/pages/viewpage.
> action?pageId=61319606
> >>>>>>>>>>
> >>>>>>>>>> and watching videos:
> >>>>>>>>>>
> >>>>>>>>>> Pivotal Open Source Hub - Watch!
> >>>>>>>>>> https://www.youtube.com/channel/UCLQV6NlSaIZBGym1mEczuqQ
> >>>>>>>>>>
> >>>>>>>>>> This should take me a few days.
> >>>>>>>>>> If there is other relevant material please let me know.
> >>>>>>>>>>
> >>>>>>>>>> Best,
> >>>>>>>>>> Fatima
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> 2016-12-20 23:00 GMT-03:00 Fatima Castiglione Maldonado 发
> >>>>>>>>>> <ca...@gmail.com>:
> >>>>>>>>>>>
> >>>>>>>>>>> Hi Frank,
> >>>>>>>>>>>
> >>>>>>>>>>> thanks for your kind answer. Yeah, just yesterday night I saw
> the
> >>>>>>>>>>> user's survey results, plus today I read some "top ten python
> APIs" doc and
> >>>>>>>>>>> MADlib was not there, so two plus two four.
> >>>>>>>>>>>
> >>>>>>>>>>> I would like to use the python API in a POC. My main expertise
> is
> >>>>>>>>>>> coding, so would probably need some help with architecture
> design.
> >>>>>>>>>>>
> >>>>>>>>>>> Best,
> >>>>>>>>>>> Fatima
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> 2016-12-20 22:54 GMT-03:00 Frank McQuillan
> >>>>>>>>>>> <fm...@pivotal.io>:
> >>>>>>>>>>>>
> >>>>>>>>>>>> Hi Fatima,
> >>>>>>>>>>>>
> >>>>>>>>>>>> Thank you for your email and offer to participate.
> >>>>>>>>>>>>
> >>>>>>>>>>>> A Python API for MADlib is something that a lot of people have
> >>>>>>>>>>>> been asking for.  In the recent MADlib survey, it was one of
> the top
> >>>>>>>>>>>> requests.
> >>>>>>>>>>>>
> >>>>>>>>>>>> There is already an R interface
> >>>>>>>>>>>> https://cran.r-project.org/web/packages/PivotalR/
> >>>>>>>>>>>> which could be a model for how to approach the Python
> interface.
> >>>>>>>>>>>>
> >>>>>>>>>>>> There have been some prototyping done, but the feature is a
> new
> >>>>>>>>>>>> one for Python API.
> >>>>>>>>>>>>
> >>>>>>>>>>>> But before we get into details, would you be able to say a
> >>>>>>>>>>>> little bit about your planned use for the Python API.  Also,
> what aspect
> >>>>>>>>>>>> would you be interested in working on? - architecture, core
> software
> >>>>>>>>>>>> development, testing, etc.
> >>>>>>>>>>>>
> >>>>>>>>>>>> Regards,
> >>>>>>>>>>>> Frank
> >>>>>>>>>>>>
> >>>>>>>>>>>> On Tue, Dec 20, 2016 at 1:28 PM, Fatima Castiglione Maldonado
> 发
> >>>>>>>>>>>> <ca...@gmail.com> wrote:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Hi,
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> does anybody know how to participate in the "full Python API
> >>>>>>>>>>>>> for MADlib" effort? I would like to give a helping hand.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Best,
> >>>>>>>>>>>>> Fatima
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> --
> >>>>>>>>>>>>> =================================
> >>>>>>>>>>>>> Fátima Castiglione Maldonado
> >>>>>>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
> >>>>>>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
> >>>>>>>>>>>>> castiglionemaldonado@gmail.com
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>                      ____
> >>>>>>>>>>>>>                    ,'_   |
> >>>>>>>>>>>>>  __________________|__|__|__
> >>>>>>>>>>>>> <_____                      )                _.------._
> >>>>>>>>>>>>>       `-----------,------.-'              ,-'          `-.
> >>>>>>>>>>>>>                  |    |  |              ,'                `.
> >>>>>>>>>>>>>                 ,'    |  |            ,'
> `.
> >>>>>>>>>>>>>                 |  _,-'  |__         /
>   \
> >>>>>>>>>>>>>               _,'-'    `.   `---.___|_____________
> >>>>>>>>>>>>> \
> >>>>>>>>>>>>>           .--'  -----.  | _____________________   `-. -----
> >>>>>>>>>>>>> |
> >>>>>>>>>>>>>           |    ___|  |  |                      \  ,- \
> >>>>>>>>>>>>> |
> >>>>>>>>>>>>>           |    ___|  |===========================((|) |
> >>>>>>>>>>>>> |
> >>>>>>>>>>>>>           |       |  |  | _____________________/  `- /
> >>>>>>>>>>>>> |
> >>>>>>>>>>>>>           `--._ -----'  |        _________________,-' -----
> >>>>>>>>>>>>> |
> >>>>>>>>>>>>>                `.-._   ,' __.---'   |
> >>>>>>>>>>>>> /
> >>>>>>>>>>>>>                 |   `-.  |           \
>   /
> >>>>>>>>>>>>>                 `.    |  |            `.
> ,'
> >>>>>>>>>>>>>                  |    |  |              `.                ,'
> >>>>>>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
> >>>>>>>>>>>>> <___________________________)                 `------'
> >>>>>>>>>>>>>                    | _|  |
> >>>>>>>>>>>>>                    `.____|
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> =================================
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> --
> >>>>>>>>>>> =================================
> >>>>>>>>>>> Fátima Castiglione Maldonado
> >>>>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
> >>>>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
> >>>>>>>>>>> castiglionemaldonado@gmail.com
> >>>>>>>>>>>
> >>>>>>>>>>>                      ____
> >>>>>>>>>>>                    ,'_   |
> >>>>>>>>>>>  __________________|__|__|__
> >>>>>>>>>>> <_____                      )                _.------._
> >>>>>>>>>>>       `-----------,------.-'              ,-'          `-.
> >>>>>>>>>>>                  |    |  |              ,'                `.
> >>>>>>>>>>>                 ,'    |  |            ,'                    `.
> >>>>>>>>>>>                 |  _,-'  |__         /                        \
> >>>>>>>>>>>               _,'-'    `.   `---.___|_____________
>  \
> >>>>>>>>>>>           .--'  -----.  | _____________________   `-. -----
>  |
> >>>>>>>>>>>           |    ___|  |  |                      \  ,- \
>   |
> >>>>>>>>>>>           |    ___|  |===========================((|) |
>    |
> >>>>>>>>>>>           |       |  |  | _____________________/  `- /
>   |
> >>>>>>>>>>>           `--._ -----'  |        _________________,-' -----
>  |
> >>>>>>>>>>>                `.-._   ,' __.---'   |
> /
> >>>>>>>>>>>                 |   `-.  |           \                        /
> >>>>>>>>>>>                 `.    |  |            `.                    ,'
> >>>>>>>>>>>                  |    |  |              `.                ,'
> >>>>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
> >>>>>>>>>>> <___________________________)                 `------'
> >>>>>>>>>>>                    | _|  |
> >>>>>>>>>>>                    `.____|
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> =================================
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> --
> >>>>>>>>>> =================================
> >>>>>>>>>> Fátima Castiglione Maldonado
> >>>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
> >>>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
> >>>>>>>>>> castiglionemaldonado@gmail.com
> >>>>>>>>>>
> >>>>>>>>>>                      ____
> >>>>>>>>>>                    ,'_   |
> >>>>>>>>>>  __________________|__|__|__
> >>>>>>>>>> <_____                      )                _.------._
> >>>>>>>>>>       `-----------,------.-'              ,-'          `-.
> >>>>>>>>>>                  |    |  |              ,'                `.
> >>>>>>>>>>                 ,'    |  |            ,'                    `.
> >>>>>>>>>>                 |  _,-'  |__         /                        \
> >>>>>>>>>>               _,'-'    `.   `---.___|_____________             \
> >>>>>>>>>>           .--'  -----.  | _____________________   `-. -----
>  |
> >>>>>>>>>>           |    ___|  |  |                      \  ,- \
> |
> >>>>>>>>>>           |    ___|  |===========================((|) |
>  |
> >>>>>>>>>>           |       |  |  | _____________________/  `- /
> |
> >>>>>>>>>>           `--._ -----'  |        _________________,-' -----
>  |
> >>>>>>>>>>                `.-._   ,' __.---'   |                          /
> >>>>>>>>>>                 |   `-.  |           \                        /
> >>>>>>>>>>                 `.    |  |            `.                    ,'
> >>>>>>>>>>                  |    |  |              `.                ,'
> >>>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
> >>>>>>>>>> <___________________________)                 `------'
> >>>>>>>>>>                    | _|  |
> >>>>>>>>>>                    `.____|
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> =================================
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> --
> >>>>>>>> =================================
> >>>>>>>> Fátima Castiglione Maldonado
> >>>>>>>> Singer, Designer, Creative, Artificial Intelligence
> >>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
> >>>>>>>> castiglionemaldonado@gmail.com
> >>>>>>>>
> >>>>>>>>                      ____
> >>>>>>>>                    ,'_   |
> >>>>>>>>  __________________|__|__|__
> >>>>>>>> <_____                      )                _.------._
> >>>>>>>>       `-----------,------.-'              ,-'          `-.
> >>>>>>>>                  |    |  |              ,'                `.
> >>>>>>>>                 ,'    |  |            ,'                    `.
> >>>>>>>>                 |  _,-'  |__         /                        \
> >>>>>>>>               _,'-'    `.   `---.___|_____________             \
> >>>>>>>>           .--'  -----.  | _____________________   `-. -----     |
> >>>>>>>>           |    ___|  |  |                      \  ,- \          |
> >>>>>>>>           |    ___|  |===========================((|) |         |
> >>>>>>>>           |       |  |  | _____________________/  `- /          |
> >>>>>>>>           `--._ -----'  |        _________________,-' -----     |
> >>>>>>>>                `.-._   ,' __.---'   |                          /
> >>>>>>>>                 |   `-.  |           \                        /
> >>>>>>>>                 `.    |  |            `.                    ,'
> >>>>>>>>                  |    |  |              `.                ,'
> >>>>>>>>  _____,----------`-------`-.              `-._        _,-'
> >>>>>>>> <___________________________)                 `------'
> >>>>>>>>                    | _|  |
> >>>>>>>>                    `.____|
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> =================================
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> --
> >>>>>>> =================================
> >>>>>>> Fátima Castiglione Maldonado
> >>>>>>> Singer, Designer, Creative, Artificial Intelligence
> >>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
> >>>>>>> castiglionemaldonado@gmail.com
> >>>>>>>
> >>>>>>>                      ____
> >>>>>>>                    ,'_   |
> >>>>>>>  __________________|__|__|__
> >>>>>>> <_____                      )                _.------._
> >>>>>>>       `-----------,------.-'              ,-'          `-.
> >>>>>>>                  |    |  |              ,'                `.
> >>>>>>>                 ,'    |  |            ,'                    `.
> >>>>>>>                 |  _,-'  |__         /                        \
> >>>>>>>               _,'-'    `.   `---.___|_____________             \
> >>>>>>>           .--'  -----.  | _____________________   `-. -----     |
> >>>>>>>           |    ___|  |  |                      \  ,- \          |
> >>>>>>>           |    ___|  |===========================((|) |         |
> >>>>>>>           |       |  |  | _____________________/  `- /          |
> >>>>>>>           `--._ -----'  |        _________________,-' -----     |
> >>>>>>>                `.-._   ,' __.---'   |                          /
> >>>>>>>                 |   `-.  |           \                        /
> >>>>>>>                 `.    |  |            `.                    ,'
> >>>>>>>                  |    |  |              `.                ,'
> >>>>>>>  _____,----------`-------`-.              `-._        _,-'
> >>>>>>> <___________________________)                 `------'
> >>>>>>>                    | _|  |
> >>>>>>>                    `.____|
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> =================================
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> =================================
> >>>>> Fátima Castiglione Maldonado
> >>>>> Singer, Designer, Creative, Artificial Intelligence
> >>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
> >>>>> castiglionemaldonado@gmail.com
> >>>>>
> >>>>>                      ____
> >>>>>                    ,'_   |
> >>>>>  __________________|__|__|__
> >>>>> <_____                      )                _.------._
> >>>>>       `-----------,------.-'              ,-'          `-.
> >>>>>                  |    |  |              ,'                `.
> >>>>>                 ,'    |  |            ,'                    `.
> >>>>>                 |  _,-'  |__         /                        \
> >>>>>               _,'-'    `.   `---.___|_____________             \
> >>>>>           .--'  -----.  | _____________________   `-. -----     |
> >>>>>           |    ___|  |  |                      \  ,- \          |
> >>>>>           |    ___|  |===========================((|) |         |
> >>>>>           |       |  |  | _____________________/  `- /          |
> >>>>>           `--._ -----'  |        _________________,-' -----     |
> >>>>>                `.-._   ,' __.---'   |                          /
> >>>>>                 |   `-.  |           \                        /
> >>>>>                 `.    |  |            `.                    ,'
> >>>>>                  |    |  |              `.                ,'
> >>>>>  _____,----------`-------`-.              `-._        _,-'
> >>>>> <___________________________)                 `------'
> >>>>>                    | _|  |
> >>>>>                    `.____|
> >>>>>
> >>>>>
> >>>>>
> >>>>> =================================
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> =================================
> >>>> Fátima Castiglione Maldonado
> >>>> Singer, Designer, Creative, Artificial Intelligence
> >>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
> >>>> castiglionemaldonado@gmail.com
> >>>>
> >>>>                      ____
> >>>>                    ,'_   |
> >>>>  __________________|__|__|__
> >>>> <_____                      )                _.------._
> >>>>       `-----------,------.-'              ,-'          `-.
> >>>>                  |    |  |              ,'                `.
> >>>>                 ,'    |  |            ,'                    `.
> >>>>                 |  _,-'  |__         /                        \
> >>>>               _,'-'    `.   `---.___|_____________             \
> >>>>           .--'  -----.  | _____________________   `-. -----     |
> >>>>           |    ___|  |  |                      \  ,- \          |
> >>>>           |    ___|  |===========================((|) |         |
> >>>>           |       |  |  | _____________________/  `- /          |
> >>>>           `--._ -----'  |        _________________,-' -----     |
> >>>>                `.-._   ,' __.---'   |                          /
> >>>>                 |   `-.  |           \                        /
> >>>>                 `.    |  |            `.                    ,'
> >>>>                  |    |  |              `.                ,'
> >>>>  _____,----------`-------`-.              `-._        _,-'
> >>>> <___________________________)                 `------'
> >>>>                    | _|  |
> >>>>                    `.____|
> >>>>
> >>>>
> >>>>
> >>>> =================================
> >>>>
> >>>> while( love & passion ) {
> >>>>   for( fight = 0 ; rights < freedom ; rights++ )
> >>>>     fight = standup( rights );
> >>>>   free( babylon );
> >>>> }
> >>>>
> >>>> =================================
> >>>>
> >>>>
> >>
> >>
> >>
> >> --
> >> =================================
> >> Fátima Castiglione Maldonado
> >> Singer, Designer, Creative, Artificial Intelligence
> >> Cantante, Diseñadora, Creativa, Inteligencia Artificial
> >> castiglionemaldonado@gmail.com
> >>
> >>                      ____
> >>                    ,'_   |
> >>  __________________|__|__|__
> >> <_____                      )                _.------._
> >>       `-----------,------.-'              ,-'          `-.
> >>                  |    |  |              ,'                `.
> >>                 ,'    |  |            ,'                    `.
> >>                 |  _,-'  |__         /                        \
> >>               _,'-'    `.   `---.___|_____________             \
> >>           .--'  -----.  | _____________________   `-. -----     |
> >>           |    ___|  |  |                      \  ,- \          |
> >>           |    ___|  |===========================((|) |         |
> >>           |       |  |  | _____________________/  `- /          |
> >>           `--._ -----'  |        _________________,-' -----     |
> >>                `.-._   ,' __.---'   |                          /
> >>                 |   `-.  |           \                        /
> >>                 `.    |  |            `.                    ,'
> >>                  |    |  |              `.                ,'
> >>  _____,----------`-------`-.              `-._        _,-'
> >> <___________________________)                 `------'
> >>                    | _|  |
> >>                    `.____|
> >>
> >>
> >>
> >> =================================
> >>
> >> while( love & passion ) {
> >>   for( fight = 0 ; rights < freedom ; rights++ )
> >>     fight = standup( rights );
> >>   free( babylon );
> >> }
> >>
> >> =================================
> >>
> >>
> >
> >
> >
> > --
> > =================================
> > Fátima Castiglione Maldonado
> > Singer, Designer, Creative, Artificial Intelligence
> > Cantante, Diseñadora, Creativa, Inteligencia Artificial
> > castiglionemaldonado@gmail.com
> >
> >                      ____
> >                    ,'_   |
> >  __________________|__|__|__
> > <_____                      )                _.------._
> >       `-----------,------.-'              ,-'          `-.
> >                  |    |  |              ,'                `.
> >                 ,'    |  |            ,'                    `.
> >                 |  _,-'  |__         /                        \
> >               _,'-'    `.   `---.___|_____________             \
> >           .--'  -----.  | _____________________   `-. -----     |
> >           |    ___|  |  |                      \  ,- \          |
> >           |    ___|  |===========================((|) |         |
> >           |       |  |  | _____________________/  `- /          |
> >           `--._ -----'  |        _________________,-' -----     |
> >                `.-._   ,' __.---'   |                          /
> >                 |   `-.  |           \                        /
> >                 `.    |  |            `.                    ,'
> >                  |    |  |              `.                ,'
> >  _____,----------`-------`-.              `-._        _,-'
> > <___________________________)                 `------'
> >                    | _|  |
> >                    `.____|
> >
> >
> >
> > =================================
> >
> > while( love & passion ) {
> >   for( fight = 0 ; rights < freedom ; rights++ )
> >     fight = standup( rights );
> >   free( babylon );
> > }
> >
> > =================================
> >
> >
>



-- 
=================================
Fátima Castiglione Maldonado
Singer, Designer, Creative, Artificial Intelligence
Cantante, Diseñadora, Creativa, Inteligencia Artificial
castiglionemaldonado@gmail.com

                     ____
                   ,'_   |
 __________________|__|__|__
<_____                      )                _.------._
      `-----------,------.-'              ,-'          `-.
                 |    |  |              ,'                `.
                ,'    |  |            ,'                    `.
                |  _,-'  |__         /                        \
              _,'-'    `.   `---.___|_____________             \
          .--'  -----.  | _____________________   `-. -----     |
          |    ___|  |  |                      \  ,- \          |
          |    ___|  |===========================((|) |         |
          |       |  |  | _____________________/  `- /          |
          `--._ -----'  |        _________________,-' -----     |
               `.-._   ,' __.---'   |                          /
                |   `-.  |           \                        /
                `.    |  |            `.                    ,'
                 |    |  |              `.                ,'
 _____,----------`-------`-.              `-._        _,-'
<___________________________)                 `------'
                   | _|  |
                   `.____|



=================================

while( love & passion ) {
  for( fight = 0 ; rights < freedom ; rights++ )
    fight = standup( rights );
  free( babylon );
}
=================================

Re: full Python API for MADlib

Posted by Rahul Iyer <ra...@gmail.com>.
Hi Fatima,

The `pip` package for MADlib was built by an outside contributor who
hasn't updated the package. I'm not sure if PyPi is the right place
for MADlib, since it is not a Python package (not the same as
Pymadlib).

I suggest installing MADlib through the RPM available on the webpage.

Best,
Rahul

On Sun, Jan 1, 2017 at 4:46 PM, Fatima Castiglione Maldonado 发
<ca...@gmail.com> wrote:
> Just to let you know (maybe it was done on purpose?) but I have just find
> out something quaint.
>
> I have already installed MADlib 1.9.1 on GPDB. Am playing around with the
> environment, so I installed MADlib using pip and got this:
>
> [root@mdw ~]# pip install MADlib
> Collecting MADlib
>   Downloading Madlib-1.0.tar.gz
> Installing collected packages: MADlib
>   Running setup.py install for MADlib ... done
> Successfully installed MADlib-1.0
>
> Shouldn't it be 1.9.1 too?
>
>
> Happy new year,
> Fatima
>
>
>
> 2016-12-28 1:35 GMT-03:00 Fatima Castiglione Maldonado 发
> <ca...@gmail.com>:
>>
>> Brevity is a virtue.
>>
>> 2016-12-28 0:36 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:
>>>
>>> Yes
>>>
>>> Sent from my mobile.  Please excuse brevity.
>>>
>>> On Dec 27, 2016 6:19 PM, "Fatima Castiglione Maldonado 发"
>>> <ca...@gmail.com> wrote:
>>>>
>>>> Hi
>>>>
>>>> 1.
>>>> I have installed CentOS 7 and GPDB 4.3.11.
>>>> It works ok and I can run standard SQL examples, no problems.
>>>>
>>>> 2. I am now installing MADlib 1.9.1
>>>>
>>>> "This is an important note for installation of MADlib 1.9.1 on
>>>> GPDB 4.3.10.  It does not apply to any other GPDB releases.
>>>>
>>>> After gppkg installation of MADlib, you must run the script
>>>> fix_madpack.sh BEFORE running the madpack utility."
>>>>
>>>> Should I run this script for 4.3.11 ?
>>>>
>>>> Thanks in advance for any answer.
>>>> Fatima
>>>>
>>>>
>>>> 2016-12-24 0:11 GMT-03:00 Fatima Castiglione Maldonado 发
>>>> <ca...@gmail.com>:
>>>>>
>>>>> > I think forking Pymadlib code and making it work for your use case
>>>>> > would be >great first step.
>>>>>
>>>>> Completely d'accord.
>>>>>
>>>>> > I do have thoughts on what Python API for MADlib should achieve and
>>>>> > how that can be designed, but that's a bigger discussion we can have after
>>>>> > we've made initial progress.
>>>>>
>>>>> Yap. Once I can make at least one algorithm to run with 1.9.1, ok?
>>>>> Maybe fixing more than one will be useless, if we plan to change external
>>>>> API... I would probably have to rework all the parameter-tweaking stuff...
>>>>> Boring to make it twice.
>>>>>
>>>>> > An important step in building the API is consistency esp. with
>>>>> > external API. For that purpose following scikit-learn's structure would be
>>>>> > helpful.
>>>>>
>>>>> That's would be smart. Honestly I did not see it coming, but now that
>>>>> you said it, I agree 100%, as it would make Pymadlib instantly "pluggable"
>>>>> whit what is probably a nice lot of pre-existing code.
>>>>>
>>>>> Will keep you updated.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 2016-12-23 20:07 GMT-03:00 Rahul Iyer <ra...@gmail.com>:
>>>>>>
>>>>>> Hi Fatima,
>>>>>>
>>>>>> Thanks for starting this work.
>>>>>>>
>>>>>>> When you get back to work please let me know if you are OK with me
>>>>>>> forking this code base, or if you are thinking to make any important
>>>>>>> changes.
>>>>>>>
>>>>>> I think forking Pymadlib code and making it work for your use case
>>>>>> would be great first step. I do have thoughts on what Python API for MADlib
>>>>>> should achieve and how that can be designed, but that's a bigger discussion
>>>>>> we can have after we've made initial progress.
>>>>>>
>>>>>> An important step in building the API is consistency esp. with
>>>>>> external API. For that purpose following scikit-learn's structure would be
>>>>>> helpful. We can go over specifics after initial progress.
>>>>>>
>>>>>>>
>>>>>>> Am also watching the videos so I get more familiar with available
>>>>>>> algorithms.
>>>>>>> In my next available time slot will install it all so am ready to
>>>>>>> start.
>>>>>>
>>>>>>
>>>>>> The videos + getting Pymadlib to work are the right goals to start
>>>>>> with. Feel free to let this forum know about progress and questions.
>>>>>>
>>>>>> Best,
>>>>>> Rahul
>>>>>>>
>>>>>>> 2016-12-22 17:49 GMT-03:00 Fatima Castiglione Maldonado 发
>>>>>>> <ca...@gmail.com>:
>>>>>>>>
>>>>>>>> Great, thanks. We will check it once I read a bit more and then we
>>>>>>>> can talk.
>>>>>>>>
>>>>>>>> 2016-12-22 17:28 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:
>>>>>>>>>
>>>>>>>>> This is an early attempt at a Python interface for MADlib
>>>>>>>>> https://github.com/pivotalsoftware/pymadlib
>>>>>>>>> but I would say it is preliminary in nature and we may want to take
>>>>>>>>> a different approach.
>>>>>>>>>
>>>>>>>>> @riyer can provide more details on this.
>>>>>>>>>
>>>>>>>>> Frank
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Thu, Dec 22, 2016 at 12:02 PM, Fatima Castiglione Maldonado 发
>>>>>>>>> <ca...@gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>> I am reading documentation:
>>>>>>>>>>
>>>>>>>>>> Apache MADlib (Incubating)
>>>>>>>>>> Created by Gavin, last modified by Frank McQuillan on Sep 13, 2016
>>>>>>>>>>
>>>>>>>>>> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=61319606
>>>>>>>>>>
>>>>>>>>>> and watching videos:
>>>>>>>>>>
>>>>>>>>>> Pivotal Open Source Hub - Watch!
>>>>>>>>>> https://www.youtube.com/channel/UCLQV6NlSaIZBGym1mEczuqQ
>>>>>>>>>>
>>>>>>>>>> This should take me a few days.
>>>>>>>>>> If there is other relevant material please let me know.
>>>>>>>>>>
>>>>>>>>>> Best,
>>>>>>>>>> Fatima
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 2016-12-20 23:00 GMT-03:00 Fatima Castiglione Maldonado 发
>>>>>>>>>> <ca...@gmail.com>:
>>>>>>>>>>>
>>>>>>>>>>> Hi Frank,
>>>>>>>>>>>
>>>>>>>>>>> thanks for your kind answer. Yeah, just yesterday night I saw the
>>>>>>>>>>> user's survey results, plus today I read some "top ten python APIs" doc and
>>>>>>>>>>> MADlib was not there, so two plus two four.
>>>>>>>>>>>
>>>>>>>>>>> I would like to use the python API in a POC. My main expertise is
>>>>>>>>>>> coding, so would probably need some help with architecture design.
>>>>>>>>>>>
>>>>>>>>>>> Best,
>>>>>>>>>>> Fatima
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> 2016-12-20 22:54 GMT-03:00 Frank McQuillan
>>>>>>>>>>> <fm...@pivotal.io>:
>>>>>>>>>>>>
>>>>>>>>>>>> Hi Fatima,
>>>>>>>>>>>>
>>>>>>>>>>>> Thank you for your email and offer to participate.
>>>>>>>>>>>>
>>>>>>>>>>>> A Python API for MADlib is something that a lot of people have
>>>>>>>>>>>> been asking for.  In the recent MADlib survey, it was one of the top
>>>>>>>>>>>> requests.
>>>>>>>>>>>>
>>>>>>>>>>>> There is already an R interface
>>>>>>>>>>>> https://cran.r-project.org/web/packages/PivotalR/
>>>>>>>>>>>> which could be a model for how to approach the Python interface.
>>>>>>>>>>>>
>>>>>>>>>>>> There have been some prototyping done, but the feature is a new
>>>>>>>>>>>> one for Python API.
>>>>>>>>>>>>
>>>>>>>>>>>> But before we get into details, would you be able to say a
>>>>>>>>>>>> little bit about your planned use for the Python API.  Also, what aspect
>>>>>>>>>>>> would you be interested in working on? - architecture, core software
>>>>>>>>>>>> development, testing, etc.
>>>>>>>>>>>>
>>>>>>>>>>>> Regards,
>>>>>>>>>>>> Frank
>>>>>>>>>>>>
>>>>>>>>>>>> On Tue, Dec 20, 2016 at 1:28 PM, Fatima Castiglione Maldonado 发
>>>>>>>>>>>> <ca...@gmail.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>
>>>>>>>>>>>>> does anybody know how to participate in the "full Python API
>>>>>>>>>>>>> for MADlib" effort? I would like to give a helping hand.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Best,
>>>>>>>>>>>>> Fatima
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> =================================
>>>>>>>>>>>>> Fátima Castiglione Maldonado
>>>>>>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>>>>>>>>> castiglionemaldonado@gmail.com
>>>>>>>>>>>>>
>>>>>>>>>>>>>                      ____
>>>>>>>>>>>>>                    ,'_   |
>>>>>>>>>>>>>  __________________|__|__|__
>>>>>>>>>>>>> <_____                      )                _.------._
>>>>>>>>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>>>>>>>>                  |    |  |              ,'                `.
>>>>>>>>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>>>>>>>>                 |  _,-'  |__         /                        \
>>>>>>>>>>>>>               _,'-'    `.   `---.___|_____________
>>>>>>>>>>>>> \
>>>>>>>>>>>>>           .--'  -----.  | _____________________   `-. -----
>>>>>>>>>>>>> |
>>>>>>>>>>>>>           |    ___|  |  |                      \  ,- \
>>>>>>>>>>>>> |
>>>>>>>>>>>>>           |    ___|  |===========================((|) |
>>>>>>>>>>>>> |
>>>>>>>>>>>>>           |       |  |  | _____________________/  `- /
>>>>>>>>>>>>> |
>>>>>>>>>>>>>           `--._ -----'  |        _________________,-' -----
>>>>>>>>>>>>> |
>>>>>>>>>>>>>                `.-._   ,' __.---'   |
>>>>>>>>>>>>> /
>>>>>>>>>>>>>                 |   `-.  |           \                        /
>>>>>>>>>>>>>                 `.    |  |            `.                    ,'
>>>>>>>>>>>>>                  |    |  |              `.                ,'
>>>>>>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>>>>>>>>> <___________________________)                 `------'
>>>>>>>>>>>>>                    | _|  |
>>>>>>>>>>>>>                    `.____|
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> =================================
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> =================================
>>>>>>>>>>> Fátima Castiglione Maldonado
>>>>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>>>>>>> castiglionemaldonado@gmail.com
>>>>>>>>>>>
>>>>>>>>>>>                      ____
>>>>>>>>>>>                    ,'_   |
>>>>>>>>>>>  __________________|__|__|__
>>>>>>>>>>> <_____                      )                _.------._
>>>>>>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>>>>>>                  |    |  |              ,'                `.
>>>>>>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>>>>>>                 |  _,-'  |__         /                        \
>>>>>>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>>>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>>>>>>>           |    ___|  |===========================((|) |         |
>>>>>>>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>>>>>>>                `.-._   ,' __.---'   |                          /
>>>>>>>>>>>                 |   `-.  |           \                        /
>>>>>>>>>>>                 `.    |  |            `.                    ,'
>>>>>>>>>>>                  |    |  |              `.                ,'
>>>>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>>>>>>> <___________________________)                 `------'
>>>>>>>>>>>                    | _|  |
>>>>>>>>>>>                    `.____|
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> =================================
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> =================================
>>>>>>>>>> Fátima Castiglione Maldonado
>>>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>>>>>> castiglionemaldonado@gmail.com
>>>>>>>>>>
>>>>>>>>>>                      ____
>>>>>>>>>>                    ,'_   |
>>>>>>>>>>  __________________|__|__|__
>>>>>>>>>> <_____                      )                _.------._
>>>>>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>>>>>                  |    |  |              ,'                `.
>>>>>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>>>>>                 |  _,-'  |__         /                        \
>>>>>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>>>>>>           |    ___|  |===========================((|) |         |
>>>>>>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>>>>>>                `.-._   ,' __.---'   |                          /
>>>>>>>>>>                 |   `-.  |           \                        /
>>>>>>>>>>                 `.    |  |            `.                    ,'
>>>>>>>>>>                  |    |  |              `.                ,'
>>>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>>>>>> <___________________________)                 `------'
>>>>>>>>>>                    | _|  |
>>>>>>>>>>                    `.____|
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> =================================
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> =================================
>>>>>>>> Fátima Castiglione Maldonado
>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>>>> castiglionemaldonado@gmail.com
>>>>>>>>
>>>>>>>>                      ____
>>>>>>>>                    ,'_   |
>>>>>>>>  __________________|__|__|__
>>>>>>>> <_____                      )                _.------._
>>>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>>>                  |    |  |              ,'                `.
>>>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>>>                 |  _,-'  |__         /                        \
>>>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>>>>           |    ___|  |===========================((|) |         |
>>>>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>>>>                `.-._   ,' __.---'   |                          /
>>>>>>>>                 |   `-.  |           \                        /
>>>>>>>>                 `.    |  |            `.                    ,'
>>>>>>>>                  |    |  |              `.                ,'
>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>>>> <___________________________)                 `------'
>>>>>>>>                    | _|  |
>>>>>>>>                    `.____|
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> =================================
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> =================================
>>>>>>> Fátima Castiglione Maldonado
>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>>> castiglionemaldonado@gmail.com
>>>>>>>
>>>>>>>                      ____
>>>>>>>                    ,'_   |
>>>>>>>  __________________|__|__|__
>>>>>>> <_____                      )                _.------._
>>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>>                  |    |  |              ,'                `.
>>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>>                 |  _,-'  |__         /                        \
>>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>>>           |    ___|  |===========================((|) |         |
>>>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>>>                `.-._   ,' __.---'   |                          /
>>>>>>>                 |   `-.  |           \                        /
>>>>>>>                 `.    |  |            `.                    ,'
>>>>>>>                  |    |  |              `.                ,'
>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>>> <___________________________)                 `------'
>>>>>>>                    | _|  |
>>>>>>>                    `.____|
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> =================================
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> =================================
>>>>> Fátima Castiglione Maldonado
>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>> castiglionemaldonado@gmail.com
>>>>>
>>>>>                      ____
>>>>>                    ,'_   |
>>>>>  __________________|__|__|__
>>>>> <_____                      )                _.------._
>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>                  |    |  |              ,'                `.
>>>>>                 ,'    |  |            ,'                    `.
>>>>>                 |  _,-'  |__         /                        \
>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>           |    ___|  |===========================((|) |         |
>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>                `.-._   ,' __.---'   |                          /
>>>>>                 |   `-.  |           \                        /
>>>>>                 `.    |  |            `.                    ,'
>>>>>                  |    |  |              `.                ,'
>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>> <___________________________)                 `------'
>>>>>                    | _|  |
>>>>>                    `.____|
>>>>>
>>>>>
>>>>>
>>>>> =================================
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> =================================
>>>> Fátima Castiglione Maldonado
>>>> Singer, Designer, Creative, Artificial Intelligence
>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>> castiglionemaldonado@gmail.com
>>>>
>>>>                      ____
>>>>                    ,'_   |
>>>>  __________________|__|__|__
>>>> <_____                      )                _.------._
>>>>       `-----------,------.-'              ,-'          `-.
>>>>                  |    |  |              ,'                `.
>>>>                 ,'    |  |            ,'                    `.
>>>>                 |  _,-'  |__         /                        \
>>>>               _,'-'    `.   `---.___|_____________             \
>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>           |    ___|  |  |                      \  ,- \          |
>>>>           |    ___|  |===========================((|) |         |
>>>>           |       |  |  | _____________________/  `- /          |
>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>                `.-._   ,' __.---'   |                          /
>>>>                 |   `-.  |           \                        /
>>>>                 `.    |  |            `.                    ,'
>>>>                  |    |  |              `.                ,'
>>>>  _____,----------`-------`-.              `-._        _,-'
>>>> <___________________________)                 `------'
>>>>                    | _|  |
>>>>                    `.____|
>>>>
>>>>
>>>>
>>>> =================================
>>>>
>>>> while( love & passion ) {
>>>>   for( fight = 0 ; rights < freedom ; rights++ )
>>>>     fight = standup( rights );
>>>>   free( babylon );
>>>> }
>>>>
>>>> =================================
>>>>
>>>>
>>
>>
>>
>> --
>> =================================
>> Fátima Castiglione Maldonado
>> Singer, Designer, Creative, Artificial Intelligence
>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>> castiglionemaldonado@gmail.com
>>
>>                      ____
>>                    ,'_   |
>>  __________________|__|__|__
>> <_____                      )                _.------._
>>       `-----------,------.-'              ,-'          `-.
>>                  |    |  |              ,'                `.
>>                 ,'    |  |            ,'                    `.
>>                 |  _,-'  |__         /                        \
>>               _,'-'    `.   `---.___|_____________             \
>>           .--'  -----.  | _____________________   `-. -----     |
>>           |    ___|  |  |                      \  ,- \          |
>>           |    ___|  |===========================((|) |         |
>>           |       |  |  | _____________________/  `- /          |
>>           `--._ -----'  |        _________________,-' -----     |
>>                `.-._   ,' __.---'   |                          /
>>                 |   `-.  |           \                        /
>>                 `.    |  |            `.                    ,'
>>                  |    |  |              `.                ,'
>>  _____,----------`-------`-.              `-._        _,-'
>> <___________________________)                 `------'
>>                    | _|  |
>>                    `.____|
>>
>>
>>
>> =================================
>>
>> while( love & passion ) {
>>   for( fight = 0 ; rights < freedom ; rights++ )
>>     fight = standup( rights );
>>   free( babylon );
>> }
>>
>> =================================
>>
>>
>
>
>
> --
> =================================
> Fátima Castiglione Maldonado
> Singer, Designer, Creative, Artificial Intelligence
> Cantante, Diseñadora, Creativa, Inteligencia Artificial
> castiglionemaldonado@gmail.com
>
>                      ____
>                    ,'_   |
>  __________________|__|__|__
> <_____                      )                _.------._
>       `-----------,------.-'              ,-'          `-.
>                  |    |  |              ,'                `.
>                 ,'    |  |            ,'                    `.
>                 |  _,-'  |__         /                        \
>               _,'-'    `.   `---.___|_____________             \
>           .--'  -----.  | _____________________   `-. -----     |
>           |    ___|  |  |                      \  ,- \          |
>           |    ___|  |===========================((|) |         |
>           |       |  |  | _____________________/  `- /          |
>           `--._ -----'  |        _________________,-' -----     |
>                `.-._   ,' __.---'   |                          /
>                 |   `-.  |           \                        /
>                 `.    |  |            `.                    ,'
>                  |    |  |              `.                ,'
>  _____,----------`-------`-.              `-._        _,-'
> <___________________________)                 `------'
>                    | _|  |
>                    `.____|
>
>
>
> =================================
>
> while( love & passion ) {
>   for( fight = 0 ; rights < freedom ; rights++ )
>     fight = standup( rights );
>   free( babylon );
> }
>
> =================================
>
>

Re: full Python API for MADlib

Posted by Fatima Castiglione Maldonado 发 <ca...@gmail.com>.
Just to let you know (maybe it was done on purpose?) but I have just find
out something quaint.

I have already installed MADlib 1.9.1 on GPDB. Am playing around with the
environment, so I installed MADlib using pip and got this:

[root@mdw ~]# pip install MADlib
Collecting MADlib
  Downloading Madlib-1.0.tar.gz
Installing collected packages: MADlib
  Running setup.py install for MADlib ... done
Successfully installed MADlib-1.0

Shouldn't it be 1.9.1 too?


Happy new year,
Fatima



2016-12-28 1:35 GMT-03:00 Fatima Castiglione Maldonado 发 <
castiglionemaldonado@gmail.com>:

> Brevity is a virtue.
>
> 2016-12-28 0:36 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:
>
>> Yes
>>
>> Sent from my mobile.  Please excuse brevity.
>>
>> On Dec 27, 2016 6:19 PM, "Fatima Castiglione Maldonado 发" <
>> castiglionemaldonado@gmail.com> wrote:
>>
>>> Hi
>>>
>>> 1.
>>> I have installed CentOS 7 and GPDB 4.3.11.
>>> It works ok and I can run standard SQL examples, no problems.
>>>
>>> 2. I am now installing MADlib 1.9.1
>>>
>>> "This is an important note for installation of MADlib 1.9.1 on
>>> GPDB 4.3.10.  It does not apply to any other GPDB releases.
>>>
>>> After gppkg installation of MADlib, you must run the script
>>> fix_madpack.sh BEFORE running the madpack utility."
>>>
>>> Should I run this script for 4.3.11 ?
>>>
>>> Thanks in advance for any answer.
>>> Fatima
>>>
>>>
>>> 2016-12-24 0:11 GMT-03:00 Fatima Castiglione Maldonado 发 <
>>> castiglionemaldonado@gmail.com>:
>>>
>>>> > I think forking Pymadlib code and making it work for your use case
>>>> would be >great first step.
>>>>
>>>> Completely d'accord.
>>>>
>>>> > I do have thoughts on what Python API for MADlib should ​achieve and
>>>> how that can be designed, but that's a bigger discussion we can have after
>>>> we've made initial progress.
>>>>
>>>> Yap. Once I can make at least one algorithm to run with 1.9.1, ok?
>>>> Maybe fixing more than one will be useless, if we plan to change external
>>>> API... I would probably have to rework all the parameter-tweaking stuff...
>>>> Boring to make it twice.
>>>>
>>>> > An important step in building the API is consistency esp. with
>>>> external API. For that purpose following scikit-learn's structure would be
>>>> helpful.
>>>>
>>>> That's would be smart. Honestly I did not see it coming, but now that
>>>> you said it, I agree 100%, as it would make Pymadlib instantly "pluggable"
>>>> whit what is probably a nice lot of pre-existing code.
>>>>
>>>> Will keep you updated.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> 2016-12-23 20:07 GMT-03:00 Rahul Iyer <ra...@gmail.com>:
>>>>
>>>>> ​Hi Fatima,
>>>>>
>>>>> Thanks for starting this work.
>>>>> ​
>>>>>
>>>>>> When you get back to work please let me know if you are OK with me
>>>>>> forking this code base, or if you are thinking to make any important
>>>>>> changes.
>>>>>>
>>>>>> ​I think forking Pymadlib code and making it work for your use case
>>>>> would be great first step. I do have thoughts on what Python API for MADlib
>>>>> should ​achieve and how that can be designed, but that's a bigger
>>>>> discussion we can have after we've made initial progress.
>>>>>
>>>>> An important step in building the API is consistency esp. with
>>>>> external API. For that purpose following scikit-learn's structure would be
>>>>> helpful. We can go over specifics after initial progress.
>>>>>
>>>>>
>>>>>> Am also watching the videos so I get more familiar with available
>>>>>> algorithms.
>>>>>> In my next available time slot will install it all so am ready to
>>>>>> start.
>>>>>>
>>>>>
>>>>> ​The videos + getting ​Pymadlib to work are the right goals to start
>>>>> with. Feel free to let this forum know about progress and questions.
>>>>>
>>>>> Best,
>>>>> Rahul
>>>>> ​
>>>>>
>>>>>> 2016-12-22 17:49 GMT-03:00 Fatima Castiglione Maldonado 发 <
>>>>>> castiglionemaldonado@gmail.com>:
>>>>>>
>>>>>>> Great, thanks. We will check it once I read a bit more and then we
>>>>>>> can talk.
>>>>>>>
>>>>>>> 2016-12-22 17:28 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:
>>>>>>>
>>>>>>>> This is an early attempt at a Python interface for MADlib
>>>>>>>> https://github.com/pivotalsoftware/pymadlib
>>>>>>>> but I would say it is preliminary in nature and we may want to take
>>>>>>>> a different approach.
>>>>>>>>
>>>>>>>> @riyer can provide more details on this.
>>>>>>>>
>>>>>>>> Frank
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Dec 22, 2016 at 12:02 PM, Fatima Castiglione Maldonado 发 <
>>>>>>>> castiglionemaldonado@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> I am reading documentation:
>>>>>>>>>
>>>>>>>>> Apache MADlib (Incubating)
>>>>>>>>> Created by Gavin, last modified by Frank McQuillan on Sep 13, 2016
>>>>>>>>> https://cwiki.apache.org/confluence/pages/viewpage.action?pa
>>>>>>>>> geId=61319606
>>>>>>>>>
>>>>>>>>> and watching videos:
>>>>>>>>>
>>>>>>>>> Pivotal Open Source Hub - Watch!
>>>>>>>>> https://www.youtube.com/channel/UCLQV6NlSaIZBGym1mEczuqQ
>>>>>>>>>
>>>>>>>>> This should take me a few days.
>>>>>>>>> If there is other relevant material please let me know.
>>>>>>>>>
>>>>>>>>> Best,
>>>>>>>>> Fatima
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 2016-12-20 23:00 GMT-03:00 Fatima Castiglione Maldonado 发 <
>>>>>>>>> castiglionemaldonado@gmail.com>:
>>>>>>>>>
>>>>>>>>>> Hi Frank,
>>>>>>>>>>
>>>>>>>>>> thanks for your kind answer. Yeah, just yesterday night I saw the
>>>>>>>>>> user's survey results, plus today I read some "top ten python APIs" doc and
>>>>>>>>>> MADlib was not there, so two plus two four.
>>>>>>>>>>
>>>>>>>>>> I would like to use the python API in a POC. My main expertise is
>>>>>>>>>> coding, so would probably need some help with architecture design.
>>>>>>>>>>
>>>>>>>>>> Best,
>>>>>>>>>> Fatima
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 2016-12-20 22:54 GMT-03:00 Frank McQuillan <fmcquillan@pivotal.io
>>>>>>>>>> >:
>>>>>>>>>>
>>>>>>>>>>> Hi Fatima,
>>>>>>>>>>>
>>>>>>>>>>> Thank you for your email and offer to participate.
>>>>>>>>>>>
>>>>>>>>>>> A Python API for MADlib is something that a lot of people have
>>>>>>>>>>> been asking for.  In the recent MADlib survey, it was one of the top
>>>>>>>>>>> requests.
>>>>>>>>>>>
>>>>>>>>>>> There is already an R interface
>>>>>>>>>>> https://cran.r-project.org/web/packages/PivotalR/
>>>>>>>>>>> which could be a model for how to approach the Python interface.
>>>>>>>>>>>
>>>>>>>>>>> There have been some prototyping done, but the feature is a new
>>>>>>>>>>> one for Python API.
>>>>>>>>>>>
>>>>>>>>>>> But before we get into details, would you be able to say a
>>>>>>>>>>> little bit about your planned use for the Python API.  Also, what aspect
>>>>>>>>>>> would you be interested in working on? - architecture, core software
>>>>>>>>>>> development, testing, etc.
>>>>>>>>>>>
>>>>>>>>>>> Regards,
>>>>>>>>>>> Frank
>>>>>>>>>>>
>>>>>>>>>>> On Tue, Dec 20, 2016 at 1:28 PM, Fatima Castiglione Maldonado 发
>>>>>>>>>>> <ca...@gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> does anybody know how to participate in the "full Python API
>>>>>>>>>>>> for MADlib" effort? I would like to give a helping hand.
>>>>>>>>>>>>
>>>>>>>>>>>> Best,
>>>>>>>>>>>> Fatima
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> =================================
>>>>>>>>>>>> Fátima Castiglione Maldonado
>>>>>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>>>>>>>> castiglionemaldonado@gmail.com
>>>>>>>>>>>>
>>>>>>>>>>>>                      ____
>>>>>>>>>>>>                    ,'_   |
>>>>>>>>>>>>  __________________|__|__|__
>>>>>>>>>>>> <_____                      )                _.------._
>>>>>>>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>>>>>>>                  |    |  |              ,'                `.
>>>>>>>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>>>>>>>                 |  _,-'  |__         /                        \
>>>>>>>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>>>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>>>>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>>>>>>>>           |    ___|  |===========================((|) |         |
>>>>>>>>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>>>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>>>>>>>>                `.-._   ,' __.---'   |                          /
>>>>>>>>>>>>                 |   `-.  |           \                        /
>>>>>>>>>>>>                 `.    |  |            `.                    ,'
>>>>>>>>>>>>                  |    |  |              `.                ,'
>>>>>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>>>>>>>> <___________________________)                 `------'
>>>>>>>>>>>>                    | _|  |
>>>>>>>>>>>>                    `.____|
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> =================================
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> =================================
>>>>>>>>>> Fátima Castiglione Maldonado
>>>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>>>>>> castiglionemaldonado@gmail.com
>>>>>>>>>>
>>>>>>>>>>                      ____
>>>>>>>>>>                    ,'_   |
>>>>>>>>>>  __________________|__|__|__
>>>>>>>>>> <_____                      )                _.------._
>>>>>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>>>>>                  |    |  |              ,'                `.
>>>>>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>>>>>                 |  _,-'  |__         /                        \
>>>>>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>>>>>>           |    ___|  |===========================((|) |         |
>>>>>>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>>>>>>                `.-._   ,' __.---'   |                          /
>>>>>>>>>>                 |   `-.  |           \                        /
>>>>>>>>>>                 `.    |  |            `.                    ,'
>>>>>>>>>>                  |    |  |              `.                ,'
>>>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>>>>>> <___________________________)                 `------'
>>>>>>>>>>                    | _|  |
>>>>>>>>>>                    `.____|
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> =================================
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> =================================
>>>>>>>>> Fátima Castiglione Maldonado
>>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>>>>> castiglionemaldonado@gmail.com
>>>>>>>>>
>>>>>>>>>                      ____
>>>>>>>>>                    ,'_   |
>>>>>>>>>  __________________|__|__|__
>>>>>>>>> <_____                      )                _.------._
>>>>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>>>>                  |    |  |              ,'                `.
>>>>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>>>>                 |  _,-'  |__         /                        \
>>>>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>>>>>           |    ___|  |===========================((|) |         |
>>>>>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>>>>>                `.-._   ,' __.---'   |                          /
>>>>>>>>>                 |   `-.  |           \                        /
>>>>>>>>>                 `.    |  |            `.                    ,'
>>>>>>>>>                  |    |  |              `.                ,'
>>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>>>>> <___________________________)                 `------'
>>>>>>>>>                    | _|  |
>>>>>>>>>                    `.____|
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> =================================
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> =================================
>>>>>>> Fátima Castiglione Maldonado
>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>>> castiglionemaldonado@gmail.com
>>>>>>>
>>>>>>>                      ____
>>>>>>>                    ,'_   |
>>>>>>>  __________________|__|__|__
>>>>>>> <_____                      )                _.------._
>>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>>                  |    |  |              ,'                `.
>>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>>                 |  _,-'  |__         /                        \
>>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>>>           |    ___|  |===========================((|) |         |
>>>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>>>                `.-._   ,' __.---'   |                          /
>>>>>>>                 |   `-.  |           \                        /
>>>>>>>                 `.    |  |            `.                    ,'
>>>>>>>                  |    |  |              `.                ,'
>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>>> <___________________________)                 `------'
>>>>>>>                    | _|  |
>>>>>>>                    `.____|
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> =================================
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> =================================
>>>>>> Fátima Castiglione Maldonado
>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>> castiglionemaldonado@gmail.com
>>>>>>
>>>>>>                      ____
>>>>>>                    ,'_   |
>>>>>>  __________________|__|__|__
>>>>>> <_____                      )                _.------._
>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>                  |    |  |              ,'                `.
>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>                 |  _,-'  |__         /                        \
>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>>           |    ___|  |===========================((|) |         |
>>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>>                `.-._   ,' __.---'   |                          /
>>>>>>                 |   `-.  |           \                        /
>>>>>>                 `.    |  |            `.                    ,'
>>>>>>                  |    |  |              `.                ,'
>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>> <___________________________)                 `------'
>>>>>>                    | _|  |
>>>>>>                    `.____|
>>>>>>
>>>>>>
>>>>>>
>>>>>> =================================
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> =================================
>>>> Fátima Castiglione Maldonado
>>>> Singer, Designer, Creative, Artificial Intelligence
>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>> castiglionemaldonado@gmail.com
>>>>
>>>>                      ____
>>>>                    ,'_   |
>>>>  __________________|__|__|__
>>>> <_____                      )                _.------._
>>>>       `-----------,------.-'              ,-'          `-.
>>>>                  |    |  |              ,'                `.
>>>>                 ,'    |  |            ,'                    `.
>>>>                 |  _,-'  |__         /                        \
>>>>               _,'-'    `.   `---.___|_____________             \
>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>           |    ___|  |  |                      \  ,- \          |
>>>>           |    ___|  |===========================((|) |         |
>>>>           |       |  |  | _____________________/  `- /          |
>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>                `.-._   ,' __.---'   |                          /
>>>>                 |   `-.  |           \                        /
>>>>                 `.    |  |            `.                    ,'
>>>>                  |    |  |              `.                ,'
>>>>  _____,----------`-------`-.              `-._        _,-'
>>>> <___________________________)                 `------'
>>>>                    | _|  |
>>>>                    `.____|
>>>>
>>>>
>>>>
>>>> =================================
>>>>
>>>
>>>
>>>
>>> --
>>> =================================
>>> Fátima Castiglione Maldonado
>>> Singer, Designer, Creative, Artificial Intelligence
>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>> castiglionemaldonado@gmail.com
>>>
>>>                      ____
>>>                    ,'_   |
>>>  __________________|__|__|__
>>> <_____                      )                _.------._
>>>       `-----------,------.-'              ,-'          `-.
>>>                  |    |  |              ,'                `.
>>>                 ,'    |  |            ,'                    `.
>>>                 |  _,-'  |__         /                        \
>>>               _,'-'    `.   `---.___|_____________             \
>>>           .--'  -----.  | _____________________   `-. -----     |
>>>           |    ___|  |  |                      \  ,- \          |
>>>           |    ___|  |===========================((|) |         |
>>>           |       |  |  | _____________________/  `- /          |
>>>           `--._ -----'  |        _________________,-' -----     |
>>>                `.-._   ,' __.---'   |                          /
>>>                 |   `-.  |           \                        /
>>>                 `.    |  |            `.                    ,'
>>>                  |    |  |              `.                ,'
>>>  _____,----------`-------`-.              `-._        _,-'
>>> <___________________________)                 `------'
>>>                    | _|  |
>>>                    `.____|
>>>
>>>
>>>
>>> =================================
>>>
>>> while( love & passion ) {
>>>   for( fight = 0 ; rights < freedom ; rights++ )
>>>     fight = standup( rights );
>>>   free( babylon );
>>> }
>>> =================================
>>>
>>>
>>>
>
>
> --
> =================================
> Fátima Castiglione Maldonado
> Singer, Designer, Creative, Artificial Intelligence
> Cantante, Diseñadora, Creativa, Inteligencia Artificial
> castiglionemaldonado@gmail.com
>
>                      ____
>                    ,'_   |
>  __________________|__|__|__
> <_____                      )                _.------._
>       `-----------,------.-'              ,-'          `-.
>                  |    |  |              ,'                `.
>                 ,'    |  |            ,'                    `.
>                 |  _,-'  |__         /                        \
>               _,'-'    `.   `---.___|_____________             \
>           .--'  -----.  | _____________________   `-. -----     |
>           |    ___|  |  |                      \  ,- \          |
>           |    ___|  |===========================((|) |         |
>           |       |  |  | _____________________/  `- /          |
>           `--._ -----'  |        _________________,-' -----     |
>                `.-._   ,' __.---'   |                          /
>                 |   `-.  |           \                        /
>                 `.    |  |            `.                    ,'
>                  |    |  |              `.                ,'
>  _____,----------`-------`-.              `-._        _,-'
> <___________________________)                 `------'
>                    | _|  |
>                    `.____|
>
>
>
> =================================
>
> while( love & passion ) {
>   for( fight = 0 ; rights < freedom ; rights++ )
>     fight = standup( rights );
>   free( babylon );
> }
> =================================
>
>
>


-- 
=================================
Fátima Castiglione Maldonado
Singer, Designer, Creative, Artificial Intelligence
Cantante, Diseñadora, Creativa, Inteligencia Artificial
castiglionemaldonado@gmail.com

                     ____
                   ,'_   |
 __________________|__|__|__
<_____                      )                _.------._
      `-----------,------.-'              ,-'          `-.
                 |    |  |              ,'                `.
                ,'    |  |            ,'                    `.
                |  _,-'  |__         /                        \
              _,'-'    `.   `---.___|_____________             \
          .--'  -----.  | _____________________   `-. -----     |
          |    ___|  |  |                      \  ,- \          |
          |    ___|  |===========================((|) |         |
          |       |  |  | _____________________/  `- /          |
          `--._ -----'  |        _________________,-' -----     |
               `.-._   ,' __.---'   |                          /
                |   `-.  |           \                        /
                `.    |  |            `.                    ,'
                 |    |  |              `.                ,'
 _____,----------`-------`-.              `-._        _,-'
<___________________________)                 `------'
                   | _|  |
                   `.____|



=================================

while( love & passion ) {
  for( fight = 0 ; rights < freedom ; rights++ )
    fight = standup( rights );
  free( babylon );
}
=================================

Re: full Python API for MADlib

Posted by Fatima Castiglione Maldonado 发 <ca...@gmail.com>.
Brevity is a virtue.

2016-12-28 0:36 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:

> Yes
>
> Sent from my mobile.  Please excuse brevity.
>
> On Dec 27, 2016 6:19 PM, "Fatima Castiglione Maldonado 发" <
> castiglionemaldonado@gmail.com> wrote:
>
>> Hi
>>
>> 1.
>> I have installed CentOS 7 and GPDB 4.3.11.
>> It works ok and I can run standard SQL examples, no problems.
>>
>> 2. I am now installing MADlib 1.9.1
>>
>> "This is an important note for installation of MADlib 1.9.1 on
>> GPDB 4.3.10.  It does not apply to any other GPDB releases.
>>
>> After gppkg installation of MADlib, you must run the script
>> fix_madpack.sh BEFORE running the madpack utility."
>>
>> Should I run this script for 4.3.11 ?
>>
>> Thanks in advance for any answer.
>> Fatima
>>
>>
>> 2016-12-24 0:11 GMT-03:00 Fatima Castiglione Maldonado 发 <
>> castiglionemaldonado@gmail.com>:
>>
>>> > I think forking Pymadlib code and making it work for your use case
>>> would be >great first step.
>>>
>>> Completely d'accord.
>>>
>>> > I do have thoughts on what Python API for MADlib should ​achieve and
>>> how that can be designed, but that's a bigger discussion we can have after
>>> we've made initial progress.
>>>
>>> Yap. Once I can make at least one algorithm to run with 1.9.1, ok? Maybe
>>> fixing more than one will be useless, if we plan to change external API...
>>> I would probably have to rework all the parameter-tweaking stuff... Boring
>>> to make it twice.
>>>
>>> > An important step in building the API is consistency esp. with
>>> external API. For that purpose following scikit-learn's structure would be
>>> helpful.
>>>
>>> That's would be smart. Honestly I did not see it coming, but now that
>>> you said it, I agree 100%, as it would make Pymadlib instantly "pluggable"
>>> whit what is probably a nice lot of pre-existing code.
>>>
>>> Will keep you updated.
>>>
>>>
>>>
>>>
>>>
>>> 2016-12-23 20:07 GMT-03:00 Rahul Iyer <ra...@gmail.com>:
>>>
>>>> ​Hi Fatima,
>>>>
>>>> Thanks for starting this work.
>>>> ​
>>>>
>>>>> When you get back to work please let me know if you are OK with me
>>>>> forking this code base, or if you are thinking to make any important
>>>>> changes.
>>>>>
>>>>> ​I think forking Pymadlib code and making it work for your use case
>>>> would be great first step. I do have thoughts on what Python API for MADlib
>>>> should ​achieve and how that can be designed, but that's a bigger
>>>> discussion we can have after we've made initial progress.
>>>>
>>>> An important step in building the API is consistency esp. with external
>>>> API. For that purpose following scikit-learn's structure would be helpful.
>>>> We can go over specifics after initial progress.
>>>>
>>>>
>>>>> Am also watching the videos so I get more familiar with available
>>>>> algorithms.
>>>>> In my next available time slot will install it all so am ready to
>>>>> start.
>>>>>
>>>>
>>>> ​The videos + getting ​Pymadlib to work are the right goals to start
>>>> with. Feel free to let this forum know about progress and questions.
>>>>
>>>> Best,
>>>> Rahul
>>>> ​
>>>>
>>>>> 2016-12-22 17:49 GMT-03:00 Fatima Castiglione Maldonado 发 <
>>>>> castiglionemaldonado@gmail.com>:
>>>>>
>>>>>> Great, thanks. We will check it once I read a bit more and then we
>>>>>> can talk.
>>>>>>
>>>>>> 2016-12-22 17:28 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:
>>>>>>
>>>>>>> This is an early attempt at a Python interface for MADlib
>>>>>>> https://github.com/pivotalsoftware/pymadlib
>>>>>>> but I would say it is preliminary in nature and we may want to take
>>>>>>> a different approach.
>>>>>>>
>>>>>>> @riyer can provide more details on this.
>>>>>>>
>>>>>>> Frank
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Dec 22, 2016 at 12:02 PM, Fatima Castiglione Maldonado 发 <
>>>>>>> castiglionemaldonado@gmail.com> wrote:
>>>>>>>
>>>>>>>> I am reading documentation:
>>>>>>>>
>>>>>>>> Apache MADlib (Incubating)
>>>>>>>> Created by Gavin, last modified by Frank McQuillan on Sep 13, 2016
>>>>>>>> https://cwiki.apache.org/confluence/pages/viewpage.action?pa
>>>>>>>> geId=61319606
>>>>>>>>
>>>>>>>> and watching videos:
>>>>>>>>
>>>>>>>> Pivotal Open Source Hub - Watch!
>>>>>>>> https://www.youtube.com/channel/UCLQV6NlSaIZBGym1mEczuqQ
>>>>>>>>
>>>>>>>> This should take me a few days.
>>>>>>>> If there is other relevant material please let me know.
>>>>>>>>
>>>>>>>> Best,
>>>>>>>> Fatima
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> 2016-12-20 23:00 GMT-03:00 Fatima Castiglione Maldonado 发 <
>>>>>>>> castiglionemaldonado@gmail.com>:
>>>>>>>>
>>>>>>>>> Hi Frank,
>>>>>>>>>
>>>>>>>>> thanks for your kind answer. Yeah, just yesterday night I saw the
>>>>>>>>> user's survey results, plus today I read some "top ten python APIs" doc and
>>>>>>>>> MADlib was not there, so two plus two four.
>>>>>>>>>
>>>>>>>>> I would like to use the python API in a POC. My main expertise is
>>>>>>>>> coding, so would probably need some help with architecture design.
>>>>>>>>>
>>>>>>>>> Best,
>>>>>>>>> Fatima
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 2016-12-20 22:54 GMT-03:00 Frank McQuillan <fm...@pivotal.io>
>>>>>>>>> :
>>>>>>>>>
>>>>>>>>>> Hi Fatima,
>>>>>>>>>>
>>>>>>>>>> Thank you for your email and offer to participate.
>>>>>>>>>>
>>>>>>>>>> A Python API for MADlib is something that a lot of people have
>>>>>>>>>> been asking for.  In the recent MADlib survey, it was one of the top
>>>>>>>>>> requests.
>>>>>>>>>>
>>>>>>>>>> There is already an R interface
>>>>>>>>>> https://cran.r-project.org/web/packages/PivotalR/
>>>>>>>>>> which could be a model for how to approach the Python interface.
>>>>>>>>>>
>>>>>>>>>> There have been some prototyping done, but the feature is a new
>>>>>>>>>> one for Python API.
>>>>>>>>>>
>>>>>>>>>> But before we get into details, would you be able to say a little
>>>>>>>>>> bit about your planned use for the Python API.  Also, what aspect would you
>>>>>>>>>> be interested in working on? - architecture, core software development,
>>>>>>>>>> testing, etc.
>>>>>>>>>>
>>>>>>>>>> Regards,
>>>>>>>>>> Frank
>>>>>>>>>>
>>>>>>>>>> On Tue, Dec 20, 2016 at 1:28 PM, Fatima Castiglione Maldonado 发 <
>>>>>>>>>> castiglionemaldonado@gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> does anybody know how to participate in the "full Python API for
>>>>>>>>>>> MADlib" effort? I would like to give a helping hand.
>>>>>>>>>>>
>>>>>>>>>>> Best,
>>>>>>>>>>> Fatima
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> =================================
>>>>>>>>>>> Fátima Castiglione Maldonado
>>>>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>>>>>>> castiglionemaldonado@gmail.com
>>>>>>>>>>>
>>>>>>>>>>>                      ____
>>>>>>>>>>>                    ,'_   |
>>>>>>>>>>>  __________________|__|__|__
>>>>>>>>>>> <_____                      )                _.------._
>>>>>>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>>>>>>                  |    |  |              ,'                `.
>>>>>>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>>>>>>                 |  _,-'  |__         /                        \
>>>>>>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>>>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>>>>>>>           |    ___|  |===========================((|) |         |
>>>>>>>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>>>>>>>                `.-._   ,' __.---'   |                          /
>>>>>>>>>>>                 |   `-.  |           \                        /
>>>>>>>>>>>                 `.    |  |            `.                    ,'
>>>>>>>>>>>                  |    |  |              `.                ,'
>>>>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>>>>>>> <___________________________)                 `------'
>>>>>>>>>>>                    | _|  |
>>>>>>>>>>>                    `.____|
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> =================================
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> =================================
>>>>>>>>> Fátima Castiglione Maldonado
>>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>>>>> castiglionemaldonado@gmail.com
>>>>>>>>>
>>>>>>>>>                      ____
>>>>>>>>>                    ,'_   |
>>>>>>>>>  __________________|__|__|__
>>>>>>>>> <_____                      )                _.------._
>>>>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>>>>                  |    |  |              ,'                `.
>>>>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>>>>                 |  _,-'  |__         /                        \
>>>>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>>>>>           |    ___|  |===========================((|) |         |
>>>>>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>>>>>                `.-._   ,' __.---'   |                          /
>>>>>>>>>                 |   `-.  |           \                        /
>>>>>>>>>                 `.    |  |            `.                    ,'
>>>>>>>>>                  |    |  |              `.                ,'
>>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>>>>> <___________________________)                 `------'
>>>>>>>>>                    | _|  |
>>>>>>>>>                    `.____|
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> =================================
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> =================================
>>>>>>>> Fátima Castiglione Maldonado
>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>>>> castiglionemaldonado@gmail.com
>>>>>>>>
>>>>>>>>                      ____
>>>>>>>>                    ,'_   |
>>>>>>>>  __________________|__|__|__
>>>>>>>> <_____                      )                _.------._
>>>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>>>                  |    |  |              ,'                `.
>>>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>>>                 |  _,-'  |__         /                        \
>>>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>>>>           |    ___|  |===========================((|) |         |
>>>>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>>>>                `.-._   ,' __.---'   |                          /
>>>>>>>>                 |   `-.  |           \                        /
>>>>>>>>                 `.    |  |            `.                    ,'
>>>>>>>>                  |    |  |              `.                ,'
>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>>>> <___________________________)                 `------'
>>>>>>>>                    | _|  |
>>>>>>>>                    `.____|
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> =================================
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> =================================
>>>>>> Fátima Castiglione Maldonado
>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>> castiglionemaldonado@gmail.com
>>>>>>
>>>>>>                      ____
>>>>>>                    ,'_   |
>>>>>>  __________________|__|__|__
>>>>>> <_____                      )                _.------._
>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>                  |    |  |              ,'                `.
>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>                 |  _,-'  |__         /                        \
>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>>           |    ___|  |===========================((|) |         |
>>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>>                `.-._   ,' __.---'   |                          /
>>>>>>                 |   `-.  |           \                        /
>>>>>>                 `.    |  |            `.                    ,'
>>>>>>                  |    |  |              `.                ,'
>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>> <___________________________)                 `------'
>>>>>>                    | _|  |
>>>>>>                    `.____|
>>>>>>
>>>>>>
>>>>>>
>>>>>> =================================
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> =================================
>>>>> Fátima Castiglione Maldonado
>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>> castiglionemaldonado@gmail.com
>>>>>
>>>>>                      ____
>>>>>                    ,'_   |
>>>>>  __________________|__|__|__
>>>>> <_____                      )                _.------._
>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>                  |    |  |              ,'                `.
>>>>>                 ,'    |  |            ,'                    `.
>>>>>                 |  _,-'  |__         /                        \
>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>           |    ___|  |===========================((|) |         |
>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>                `.-._   ,' __.---'   |                          /
>>>>>                 |   `-.  |           \                        /
>>>>>                 `.    |  |            `.                    ,'
>>>>>                  |    |  |              `.                ,'
>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>> <___________________________)                 `------'
>>>>>                    | _|  |
>>>>>                    `.____|
>>>>>
>>>>>
>>>>>
>>>>> =================================
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> =================================
>>> Fátima Castiglione Maldonado
>>> Singer, Designer, Creative, Artificial Intelligence
>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>> castiglionemaldonado@gmail.com
>>>
>>>                      ____
>>>                    ,'_   |
>>>  __________________|__|__|__
>>> <_____                      )                _.------._
>>>       `-----------,------.-'              ,-'          `-.
>>>                  |    |  |              ,'                `.
>>>                 ,'    |  |            ,'                    `.
>>>                 |  _,-'  |__         /                        \
>>>               _,'-'    `.   `---.___|_____________             \
>>>           .--'  -----.  | _____________________   `-. -----     |
>>>           |    ___|  |  |                      \  ,- \          |
>>>           |    ___|  |===========================((|) |         |
>>>           |       |  |  | _____________________/  `- /          |
>>>           `--._ -----'  |        _________________,-' -----     |
>>>                `.-._   ,' __.---'   |                          /
>>>                 |   `-.  |           \                        /
>>>                 `.    |  |            `.                    ,'
>>>                  |    |  |              `.                ,'
>>>  _____,----------`-------`-.              `-._        _,-'
>>> <___________________________)                 `------'
>>>                    | _|  |
>>>                    `.____|
>>>
>>>
>>>
>>> =================================
>>>
>>
>>
>>
>> --
>> =================================
>> Fátima Castiglione Maldonado
>> Singer, Designer, Creative, Artificial Intelligence
>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>> castiglionemaldonado@gmail.com
>>
>>                      ____
>>                    ,'_   |
>>  __________________|__|__|__
>> <_____                      )                _.------._
>>       `-----------,------.-'              ,-'          `-.
>>                  |    |  |              ,'                `.
>>                 ,'    |  |            ,'                    `.
>>                 |  _,-'  |__         /                        \
>>               _,'-'    `.   `---.___|_____________             \
>>           .--'  -----.  | _____________________   `-. -----     |
>>           |    ___|  |  |                      \  ,- \          |
>>           |    ___|  |===========================((|) |         |
>>           |       |  |  | _____________________/  `- /          |
>>           `--._ -----'  |        _________________,-' -----     |
>>                `.-._   ,' __.---'   |                          /
>>                 |   `-.  |           \                        /
>>                 `.    |  |            `.                    ,'
>>                  |    |  |              `.                ,'
>>  _____,----------`-------`-.              `-._        _,-'
>> <___________________________)                 `------'
>>                    | _|  |
>>                    `.____|
>>
>>
>>
>> =================================
>>
>> while( love & passion ) {
>>   for( fight = 0 ; rights < freedom ; rights++ )
>>     fight = standup( rights );
>>   free( babylon );
>> }
>> =================================
>>
>>
>>


-- 
=================================
Fátima Castiglione Maldonado
Singer, Designer, Creative, Artificial Intelligence
Cantante, Diseñadora, Creativa, Inteligencia Artificial
castiglionemaldonado@gmail.com

                     ____
                   ,'_   |
 __________________|__|__|__
<_____                      )                _.------._
      `-----------,------.-'              ,-'          `-.
                 |    |  |              ,'                `.
                ,'    |  |            ,'                    `.
                |  _,-'  |__         /                        \
              _,'-'    `.   `---.___|_____________             \
          .--'  -----.  | _____________________   `-. -----     |
          |    ___|  |  |                      \  ,- \          |
          |    ___|  |===========================((|) |         |
          |       |  |  | _____________________/  `- /          |
          `--._ -----'  |        _________________,-' -----     |
               `.-._   ,' __.---'   |                          /
                |   `-.  |           \                        /
                `.    |  |            `.                    ,'
                 |    |  |              `.                ,'
 _____,----------`-------`-.              `-._        _,-'
<___________________________)                 `------'
                   | _|  |
                   `.____|



=================================

while( love & passion ) {
  for( fight = 0 ; rights < freedom ; rights++ )
    fight = standup( rights );
  free( babylon );
}
=================================

Re: full Python API for MADlib

Posted by Frank McQuillan <fm...@pivotal.io>.
Yes

Sent from my mobile.  Please excuse brevity.

On Dec 27, 2016 6:19 PM, "Fatima Castiglione Maldonado 发" <
castiglionemaldonado@gmail.com> wrote:

> Hi
>
> 1.
> I have installed CentOS 7 and GPDB 4.3.11.
> It works ok and I can run standard SQL examples, no problems.
>
> 2. I am now installing MADlib 1.9.1
>
> "This is an important note for installation of MADlib 1.9.1 on
> GPDB 4.3.10.  It does not apply to any other GPDB releases.
>
> After gppkg installation of MADlib, you must run the script
> fix_madpack.sh BEFORE running the madpack utility."
>
> Should I run this script for 4.3.11 ?
>
> Thanks in advance for any answer.
> Fatima
>
>
> 2016-12-24 0:11 GMT-03:00 Fatima Castiglione Maldonado 发 <
> castiglionemaldonado@gmail.com>:
>
>> > I think forking Pymadlib code and making it work for your use case
>> would be >great first step.
>>
>> Completely d'accord.
>>
>> > I do have thoughts on what Python API for MADlib should ​achieve and
>> how that can be designed, but that's a bigger discussion we can have after
>> we've made initial progress.
>>
>> Yap. Once I can make at least one algorithm to run with 1.9.1, ok? Maybe
>> fixing more than one will be useless, if we plan to change external API...
>> I would probably have to rework all the parameter-tweaking stuff... Boring
>> to make it twice.
>>
>> > An important step in building the API is consistency esp. with external
>> API. For that purpose following scikit-learn's structure would be helpful.
>>
>> That's would be smart. Honestly I did not see it coming, but now that you
>> said it, I agree 100%, as it would make Pymadlib instantly "pluggable" whit
>> what is probably a nice lot of pre-existing code.
>>
>> Will keep you updated.
>>
>>
>>
>>
>>
>> 2016-12-23 20:07 GMT-03:00 Rahul Iyer <ra...@gmail.com>:
>>
>>> ​Hi Fatima,
>>>
>>> Thanks for starting this work.
>>> ​
>>>
>>>> When you get back to work please let me know if you are OK with me
>>>> forking this code base, or if you are thinking to make any important
>>>> changes.
>>>>
>>>> ​I think forking Pymadlib code and making it work for your use case
>>> would be great first step. I do have thoughts on what Python API for MADlib
>>> should ​achieve and how that can be designed, but that's a bigger
>>> discussion we can have after we've made initial progress.
>>>
>>> An important step in building the API is consistency esp. with external
>>> API. For that purpose following scikit-learn's structure would be helpful.
>>> We can go over specifics after initial progress.
>>>
>>>
>>>> Am also watching the videos so I get more familiar with available
>>>> algorithms.
>>>> In my next available time slot will install it all so am ready to start.
>>>>
>>>
>>> ​The videos + getting ​Pymadlib to work are the right goals to start
>>> with. Feel free to let this forum know about progress and questions.
>>>
>>> Best,
>>> Rahul
>>> ​
>>>
>>>> 2016-12-22 17:49 GMT-03:00 Fatima Castiglione Maldonado 发 <
>>>> castiglionemaldonado@gmail.com>:
>>>>
>>>>> Great, thanks. We will check it once I read a bit more and then we can
>>>>> talk.
>>>>>
>>>>> 2016-12-22 17:28 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:
>>>>>
>>>>>> This is an early attempt at a Python interface for MADlib
>>>>>> https://github.com/pivotalsoftware/pymadlib
>>>>>> but I would say it is preliminary in nature and we may want to take a
>>>>>> different approach.
>>>>>>
>>>>>> @riyer can provide more details on this.
>>>>>>
>>>>>> Frank
>>>>>>
>>>>>>
>>>>>> On Thu, Dec 22, 2016 at 12:02 PM, Fatima Castiglione Maldonado 发 <
>>>>>> castiglionemaldonado@gmail.com> wrote:
>>>>>>
>>>>>>> I am reading documentation:
>>>>>>>
>>>>>>> Apache MADlib (Incubating)
>>>>>>> Created by Gavin, last modified by Frank McQuillan on Sep 13, 2016
>>>>>>> https://cwiki.apache.org/confluence/pages/viewpage.action?pa
>>>>>>> geId=61319606
>>>>>>>
>>>>>>> and watching videos:
>>>>>>>
>>>>>>> Pivotal Open Source Hub - Watch!
>>>>>>> https://www.youtube.com/channel/UCLQV6NlSaIZBGym1mEczuqQ
>>>>>>>
>>>>>>> This should take me a few days.
>>>>>>> If there is other relevant material please let me know.
>>>>>>>
>>>>>>> Best,
>>>>>>> Fatima
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 2016-12-20 23:00 GMT-03:00 Fatima Castiglione Maldonado 发 <
>>>>>>> castiglionemaldonado@gmail.com>:
>>>>>>>
>>>>>>>> Hi Frank,
>>>>>>>>
>>>>>>>> thanks for your kind answer. Yeah, just yesterday night I saw the
>>>>>>>> user's survey results, plus today I read some "top ten python APIs" doc and
>>>>>>>> MADlib was not there, so two plus two four.
>>>>>>>>
>>>>>>>> I would like to use the python API in a POC. My main expertise is
>>>>>>>> coding, so would probably need some help with architecture design.
>>>>>>>>
>>>>>>>> Best,
>>>>>>>> Fatima
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> 2016-12-20 22:54 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:
>>>>>>>>
>>>>>>>>> Hi Fatima,
>>>>>>>>>
>>>>>>>>> Thank you for your email and offer to participate.
>>>>>>>>>
>>>>>>>>> A Python API for MADlib is something that a lot of people have
>>>>>>>>> been asking for.  In the recent MADlib survey, it was one of the top
>>>>>>>>> requests.
>>>>>>>>>
>>>>>>>>> There is already an R interface
>>>>>>>>> https://cran.r-project.org/web/packages/PivotalR/
>>>>>>>>> which could be a model for how to approach the Python interface.
>>>>>>>>>
>>>>>>>>> There have been some prototyping done, but the feature is a new
>>>>>>>>> one for Python API.
>>>>>>>>>
>>>>>>>>> But before we get into details, would you be able to say a little
>>>>>>>>> bit about your planned use for the Python API.  Also, what aspect would you
>>>>>>>>> be interested in working on? - architecture, core software development,
>>>>>>>>> testing, etc.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Frank
>>>>>>>>>
>>>>>>>>> On Tue, Dec 20, 2016 at 1:28 PM, Fatima Castiglione Maldonado 发 <
>>>>>>>>> castiglionemaldonado@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> does anybody know how to participate in the "full Python API for
>>>>>>>>>> MADlib" effort? I would like to give a helping hand.
>>>>>>>>>>
>>>>>>>>>> Best,
>>>>>>>>>> Fatima
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> =================================
>>>>>>>>>> Fátima Castiglione Maldonado
>>>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>>>>>> castiglionemaldonado@gmail.com
>>>>>>>>>>
>>>>>>>>>>                      ____
>>>>>>>>>>                    ,'_   |
>>>>>>>>>>  __________________|__|__|__
>>>>>>>>>> <_____                      )                _.------._
>>>>>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>>>>>                  |    |  |              ,'                `.
>>>>>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>>>>>                 |  _,-'  |__         /                        \
>>>>>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>>>>>>           |    ___|  |===========================((|) |         |
>>>>>>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>>>>>>                `.-._   ,' __.---'   |                          /
>>>>>>>>>>                 |   `-.  |           \                        /
>>>>>>>>>>                 `.    |  |            `.                    ,'
>>>>>>>>>>                  |    |  |              `.                ,'
>>>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>>>>>> <___________________________)                 `------'
>>>>>>>>>>                    | _|  |
>>>>>>>>>>                    `.____|
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> =================================
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> =================================
>>>>>>>> Fátima Castiglione Maldonado
>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>>>> castiglionemaldonado@gmail.com
>>>>>>>>
>>>>>>>>                      ____
>>>>>>>>                    ,'_   |
>>>>>>>>  __________________|__|__|__
>>>>>>>> <_____                      )                _.------._
>>>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>>>                  |    |  |              ,'                `.
>>>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>>>                 |  _,-'  |__         /                        \
>>>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>>>>           |    ___|  |===========================((|) |         |
>>>>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>>>>                `.-._   ,' __.---'   |                          /
>>>>>>>>                 |   `-.  |           \                        /
>>>>>>>>                 `.    |  |            `.                    ,'
>>>>>>>>                  |    |  |              `.                ,'
>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>>>> <___________________________)                 `------'
>>>>>>>>                    | _|  |
>>>>>>>>                    `.____|
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> =================================
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> =================================
>>>>>>> Fátima Castiglione Maldonado
>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>>> castiglionemaldonado@gmail.com
>>>>>>>
>>>>>>>                      ____
>>>>>>>                    ,'_   |
>>>>>>>  __________________|__|__|__
>>>>>>> <_____                      )                _.------._
>>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>>                  |    |  |              ,'                `.
>>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>>                 |  _,-'  |__         /                        \
>>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>>>           |    ___|  |===========================((|) |         |
>>>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>>>                `.-._   ,' __.---'   |                          /
>>>>>>>                 |   `-.  |           \                        /
>>>>>>>                 `.    |  |            `.                    ,'
>>>>>>>                  |    |  |              `.                ,'
>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>>> <___________________________)                 `------'
>>>>>>>                    | _|  |
>>>>>>>                    `.____|
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> =================================
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> =================================
>>>>> Fátima Castiglione Maldonado
>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>> castiglionemaldonado@gmail.com
>>>>>
>>>>>                      ____
>>>>>                    ,'_   |
>>>>>  __________________|__|__|__
>>>>> <_____                      )                _.------._
>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>                  |    |  |              ,'                `.
>>>>>                 ,'    |  |            ,'                    `.
>>>>>                 |  _,-'  |__         /                        \
>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>           |    ___|  |===========================((|) |         |
>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>                `.-._   ,' __.---'   |                          /
>>>>>                 |   `-.  |           \                        /
>>>>>                 `.    |  |            `.                    ,'
>>>>>                  |    |  |              `.                ,'
>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>> <___________________________)                 `------'
>>>>>                    | _|  |
>>>>>                    `.____|
>>>>>
>>>>>
>>>>>
>>>>> =================================
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> =================================
>>>> Fátima Castiglione Maldonado
>>>> Singer, Designer, Creative, Artificial Intelligence
>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>> castiglionemaldonado@gmail.com
>>>>
>>>>                      ____
>>>>                    ,'_   |
>>>>  __________________|__|__|__
>>>> <_____                      )                _.------._
>>>>       `-----------,------.-'              ,-'          `-.
>>>>                  |    |  |              ,'                `.
>>>>                 ,'    |  |            ,'                    `.
>>>>                 |  _,-'  |__         /                        \
>>>>               _,'-'    `.   `---.___|_____________             \
>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>           |    ___|  |  |                      \  ,- \          |
>>>>           |    ___|  |===========================((|) |         |
>>>>           |       |  |  | _____________________/  `- /          |
>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>                `.-._   ,' __.---'   |                          /
>>>>                 |   `-.  |           \                        /
>>>>                 `.    |  |            `.                    ,'
>>>>                  |    |  |              `.                ,'
>>>>  _____,----------`-------`-.              `-._        _,-'
>>>> <___________________________)                 `------'
>>>>                    | _|  |
>>>>                    `.____|
>>>>
>>>>
>>>>
>>>> =================================
>>>>
>>>
>>>
>>
>>
>> --
>> =================================
>> Fátima Castiglione Maldonado
>> Singer, Designer, Creative, Artificial Intelligence
>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>> castiglionemaldonado@gmail.com
>>
>>                      ____
>>                    ,'_   |
>>  __________________|__|__|__
>> <_____                      )                _.------._
>>       `-----------,------.-'              ,-'          `-.
>>                  |    |  |              ,'                `.
>>                 ,'    |  |            ,'                    `.
>>                 |  _,-'  |__         /                        \
>>               _,'-'    `.   `---.___|_____________             \
>>           .--'  -----.  | _____________________   `-. -----     |
>>           |    ___|  |  |                      \  ,- \          |
>>           |    ___|  |===========================((|) |         |
>>           |       |  |  | _____________________/  `- /          |
>>           `--._ -----'  |        _________________,-' -----     |
>>                `.-._   ,' __.---'   |                          /
>>                 |   `-.  |           \                        /
>>                 `.    |  |            `.                    ,'
>>                  |    |  |              `.                ,'
>>  _____,----------`-------`-.              `-._        _,-'
>> <___________________________)                 `------'
>>                    | _|  |
>>                    `.____|
>>
>>
>>
>> =================================
>>
>
>
>
> --
> =================================
> Fátima Castiglione Maldonado
> Singer, Designer, Creative, Artificial Intelligence
> Cantante, Diseñadora, Creativa, Inteligencia Artificial
> castiglionemaldonado@gmail.com
>
>                      ____
>                    ,'_   |
>  __________________|__|__|__
> <_____                      )                _.------._
>       `-----------,------.-'              ,-'          `-.
>                  |    |  |              ,'                `.
>                 ,'    |  |            ,'                    `.
>                 |  _,-'  |__         /                        \
>               _,'-'    `.   `---.___|_____________             \
>           .--'  -----.  | _____________________   `-. -----     |
>           |    ___|  |  |                      \  ,- \          |
>           |    ___|  |===========================((|) |         |
>           |       |  |  | _____________________/  `- /          |
>           `--._ -----'  |        _________________,-' -----     |
>                `.-._   ,' __.---'   |                          /
>                 |   `-.  |           \                        /
>                 `.    |  |            `.                    ,'
>                  |    |  |              `.                ,'
>  _____,----------`-------`-.              `-._        _,-'
> <___________________________)                 `------'
>                    | _|  |
>                    `.____|
>
>
>
> =================================
>
> while( love & passion ) {
>   for( fight = 0 ; rights < freedom ; rights++ )
>     fight = standup( rights );
>   free( babylon );
> }
> =================================
>
>
>

Re: full Python API for MADlib

Posted by Fatima Castiglione Maldonado 发 <ca...@gmail.com>.
Hi

1.
I have installed CentOS 7 and GPDB 4.3.11.
It works ok and I can run standard SQL examples, no problems.

2. I am now installing MADlib 1.9.1

"This is an important note for installation of MADlib 1.9.1 on
GPDB 4.3.10.  It does not apply to any other GPDB releases.

After gppkg installation of MADlib, you must run the script
fix_madpack.sh BEFORE running the madpack utility."

Should I run this script for 4.3.11 ?

Thanks in advance for any answer.
Fatima


2016-12-24 0:11 GMT-03:00 Fatima Castiglione Maldonado 发 <
castiglionemaldonado@gmail.com>:

> > I think forking Pymadlib code and making it work for your use case would
> be >great first step.
>
> Completely d'accord.
>
> > I do have thoughts on what Python API for MADlib should ​achieve and how
> that can be designed, but that's a bigger discussion we can have after
> we've made initial progress.
>
> Yap. Once I can make at least one algorithm to run with 1.9.1, ok? Maybe
> fixing more than one will be useless, if we plan to change external API...
> I would probably have to rework all the parameter-tweaking stuff... Boring
> to make it twice.
>
> > An important step in building the API is consistency esp. with external
> API. For that purpose following scikit-learn's structure would be helpful.
>
> That's would be smart. Honestly I did not see it coming, but now that you
> said it, I agree 100%, as it would make Pymadlib instantly "pluggable" whit
> what is probably a nice lot of pre-existing code.
>
> Will keep you updated.
>
>
>
>
>
> 2016-12-23 20:07 GMT-03:00 Rahul Iyer <ra...@gmail.com>:
>
>> ​Hi Fatima,
>>
>> Thanks for starting this work.
>> ​
>>
>>> When you get back to work please let me know if you are OK with me
>>> forking this code base, or if you are thinking to make any important
>>> changes.
>>>
>>> ​I think forking Pymadlib code and making it work for your use case
>> would be great first step. I do have thoughts on what Python API for MADlib
>> should ​achieve and how that can be designed, but that's a bigger
>> discussion we can have after we've made initial progress.
>>
>> An important step in building the API is consistency esp. with external
>> API. For that purpose following scikit-learn's structure would be helpful.
>> We can go over specifics after initial progress.
>>
>>
>>> Am also watching the videos so I get more familiar with available
>>> algorithms.
>>> In my next available time slot will install it all so am ready to start.
>>>
>>
>> ​The videos + getting ​Pymadlib to work are the right goals to start
>> with. Feel free to let this forum know about progress and questions.
>>
>> Best,
>> Rahul
>> ​
>>
>>> 2016-12-22 17:49 GMT-03:00 Fatima Castiglione Maldonado 发 <
>>> castiglionemaldonado@gmail.com>:
>>>
>>>> Great, thanks. We will check it once I read a bit more and then we can
>>>> talk.
>>>>
>>>> 2016-12-22 17:28 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:
>>>>
>>>>> This is an early attempt at a Python interface for MADlib
>>>>> https://github.com/pivotalsoftware/pymadlib
>>>>> but I would say it is preliminary in nature and we may want to take a
>>>>> different approach.
>>>>>
>>>>> @riyer can provide more details on this.
>>>>>
>>>>> Frank
>>>>>
>>>>>
>>>>> On Thu, Dec 22, 2016 at 12:02 PM, Fatima Castiglione Maldonado 发 <
>>>>> castiglionemaldonado@gmail.com> wrote:
>>>>>
>>>>>> I am reading documentation:
>>>>>>
>>>>>> Apache MADlib (Incubating)
>>>>>> Created by Gavin, last modified by Frank McQuillan on Sep 13, 2016
>>>>>> https://cwiki.apache.org/confluence/pages/viewpage.action?pa
>>>>>> geId=61319606
>>>>>>
>>>>>> and watching videos:
>>>>>>
>>>>>> Pivotal Open Source Hub - Watch!
>>>>>> https://www.youtube.com/channel/UCLQV6NlSaIZBGym1mEczuqQ
>>>>>>
>>>>>> This should take me a few days.
>>>>>> If there is other relevant material please let me know.
>>>>>>
>>>>>> Best,
>>>>>> Fatima
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> 2016-12-20 23:00 GMT-03:00 Fatima Castiglione Maldonado 发 <
>>>>>> castiglionemaldonado@gmail.com>:
>>>>>>
>>>>>>> Hi Frank,
>>>>>>>
>>>>>>> thanks for your kind answer. Yeah, just yesterday night I saw the
>>>>>>> user's survey results, plus today I read some "top ten python APIs" doc and
>>>>>>> MADlib was not there, so two plus two four.
>>>>>>>
>>>>>>> I would like to use the python API in a POC. My main expertise is
>>>>>>> coding, so would probably need some help with architecture design.
>>>>>>>
>>>>>>> Best,
>>>>>>> Fatima
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 2016-12-20 22:54 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:
>>>>>>>
>>>>>>>> Hi Fatima,
>>>>>>>>
>>>>>>>> Thank you for your email and offer to participate.
>>>>>>>>
>>>>>>>> A Python API for MADlib is something that a lot of people have been
>>>>>>>> asking for.  In the recent MADlib survey, it was one of the top requests.
>>>>>>>>
>>>>>>>> There is already an R interface
>>>>>>>> https://cran.r-project.org/web/packages/PivotalR/
>>>>>>>> which could be a model for how to approach the Python interface.
>>>>>>>>
>>>>>>>> There have been some prototyping done, but the feature is a new one
>>>>>>>> for Python API.
>>>>>>>>
>>>>>>>> But before we get into details, would you be able to say a little
>>>>>>>> bit about your planned use for the Python API.  Also, what aspect would you
>>>>>>>> be interested in working on? - architecture, core software development,
>>>>>>>> testing, etc.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Frank
>>>>>>>>
>>>>>>>> On Tue, Dec 20, 2016 at 1:28 PM, Fatima Castiglione Maldonado 发 <
>>>>>>>> castiglionemaldonado@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> does anybody know how to participate in the "full Python API for
>>>>>>>>> MADlib" effort? I would like to give a helping hand.
>>>>>>>>>
>>>>>>>>> Best,
>>>>>>>>> Fatima
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> =================================
>>>>>>>>> Fátima Castiglione Maldonado
>>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>>>>> castiglionemaldonado@gmail.com
>>>>>>>>>
>>>>>>>>>                      ____
>>>>>>>>>                    ,'_   |
>>>>>>>>>  __________________|__|__|__
>>>>>>>>> <_____                      )                _.------._
>>>>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>>>>                  |    |  |              ,'                `.
>>>>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>>>>                 |  _,-'  |__         /                        \
>>>>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>>>>>           |    ___|  |===========================((|) |         |
>>>>>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>>>>>                `.-._   ,' __.---'   |                          /
>>>>>>>>>                 |   `-.  |           \                        /
>>>>>>>>>                 `.    |  |            `.                    ,'
>>>>>>>>>                  |    |  |              `.                ,'
>>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>>>>> <___________________________)                 `------'
>>>>>>>>>                    | _|  |
>>>>>>>>>                    `.____|
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> =================================
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> =================================
>>>>>>> Fátima Castiglione Maldonado
>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>>> castiglionemaldonado@gmail.com
>>>>>>>
>>>>>>>                      ____
>>>>>>>                    ,'_   |
>>>>>>>  __________________|__|__|__
>>>>>>> <_____                      )                _.------._
>>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>>                  |    |  |              ,'                `.
>>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>>                 |  _,-'  |__         /                        \
>>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>>>           |    ___|  |===========================((|) |         |
>>>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>>>                `.-._   ,' __.---'   |                          /
>>>>>>>                 |   `-.  |           \                        /
>>>>>>>                 `.    |  |            `.                    ,'
>>>>>>>                  |    |  |              `.                ,'
>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>>> <___________________________)                 `------'
>>>>>>>                    | _|  |
>>>>>>>                    `.____|
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> =================================
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> =================================
>>>>>> Fátima Castiglione Maldonado
>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>> castiglionemaldonado@gmail.com
>>>>>>
>>>>>>                      ____
>>>>>>                    ,'_   |
>>>>>>  __________________|__|__|__
>>>>>> <_____                      )                _.------._
>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>                  |    |  |              ,'                `.
>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>                 |  _,-'  |__         /                        \
>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>>           |    ___|  |===========================((|) |         |
>>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>>                `.-._   ,' __.---'   |                          /
>>>>>>                 |   `-.  |           \                        /
>>>>>>                 `.    |  |            `.                    ,'
>>>>>>                  |    |  |              `.                ,'
>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>> <___________________________)                 `------'
>>>>>>                    | _|  |
>>>>>>                    `.____|
>>>>>>
>>>>>>
>>>>>>
>>>>>> =================================
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> =================================
>>>> Fátima Castiglione Maldonado
>>>> Singer, Designer, Creative, Artificial Intelligence
>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>> castiglionemaldonado@gmail.com
>>>>
>>>>                      ____
>>>>                    ,'_   |
>>>>  __________________|__|__|__
>>>> <_____                      )                _.------._
>>>>       `-----------,------.-'              ,-'          `-.
>>>>                  |    |  |              ,'                `.
>>>>                 ,'    |  |            ,'                    `.
>>>>                 |  _,-'  |__         /                        \
>>>>               _,'-'    `.   `---.___|_____________             \
>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>           |    ___|  |  |                      \  ,- \          |
>>>>           |    ___|  |===========================((|) |         |
>>>>           |       |  |  | _____________________/  `- /          |
>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>                `.-._   ,' __.---'   |                          /
>>>>                 |   `-.  |           \                        /
>>>>                 `.    |  |            `.                    ,'
>>>>                  |    |  |              `.                ,'
>>>>  _____,----------`-------`-.              `-._        _,-'
>>>> <___________________________)                 `------'
>>>>                    | _|  |
>>>>                    `.____|
>>>>
>>>>
>>>>
>>>> =================================
>>>>
>>>
>>>
>>>
>>> --
>>> =================================
>>> Fátima Castiglione Maldonado
>>> Singer, Designer, Creative, Artificial Intelligence
>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>> castiglionemaldonado@gmail.com
>>>
>>>                      ____
>>>                    ,'_   |
>>>  __________________|__|__|__
>>> <_____                      )                _.------._
>>>       `-----------,------.-'              ,-'          `-.
>>>                  |    |  |              ,'                `.
>>>                 ,'    |  |            ,'                    `.
>>>                 |  _,-'  |__         /                        \
>>>               _,'-'    `.   `---.___|_____________             \
>>>           .--'  -----.  | _____________________   `-. -----     |
>>>           |    ___|  |  |                      \  ,- \          |
>>>           |    ___|  |===========================((|) |         |
>>>           |       |  |  | _____________________/  `- /          |
>>>           `--._ -----'  |        _________________,-' -----     |
>>>                `.-._   ,' __.---'   |                          /
>>>                 |   `-.  |           \                        /
>>>                 `.    |  |            `.                    ,'
>>>                  |    |  |              `.                ,'
>>>  _____,----------`-------`-.              `-._        _,-'
>>> <___________________________)                 `------'
>>>                    | _|  |
>>>                    `.____|
>>>
>>>
>>>
>>> =================================
>>>
>>
>>
>
>
> --
> =================================
> Fátima Castiglione Maldonado
> Singer, Designer, Creative, Artificial Intelligence
> Cantante, Diseñadora, Creativa, Inteligencia Artificial
> castiglionemaldonado@gmail.com
>
>                      ____
>                    ,'_   |
>  __________________|__|__|__
> <_____                      )                _.------._
>       `-----------,------.-'              ,-'          `-.
>                  |    |  |              ,'                `.
>                 ,'    |  |            ,'                    `.
>                 |  _,-'  |__         /                        \
>               _,'-'    `.   `---.___|_____________             \
>           .--'  -----.  | _____________________   `-. -----     |
>           |    ___|  |  |                      \  ,- \          |
>           |    ___|  |===========================((|) |         |
>           |       |  |  | _____________________/  `- /          |
>           `--._ -----'  |        _________________,-' -----     |
>                `.-._   ,' __.---'   |                          /
>                 |   `-.  |           \                        /
>                 `.    |  |            `.                    ,'
>                  |    |  |              `.                ,'
>  _____,----------`-------`-.              `-._        _,-'
> <___________________________)                 `------'
>                    | _|  |
>                    `.____|
>
>
>
> =================================
>



-- 
=================================
Fátima Castiglione Maldonado
Singer, Designer, Creative, Artificial Intelligence
Cantante, Diseñadora, Creativa, Inteligencia Artificial
castiglionemaldonado@gmail.com

                     ____
                   ,'_   |
 __________________|__|__|__
<_____                      )                _.------._
      `-----------,------.-'              ,-'          `-.
                 |    |  |              ,'                `.
                ,'    |  |            ,'                    `.
                |  _,-'  |__         /                        \
              _,'-'    `.   `---.___|_____________             \
          .--'  -----.  | _____________________   `-. -----     |
          |    ___|  |  |                      \  ,- \          |
          |    ___|  |===========================((|) |         |
          |       |  |  | _____________________/  `- /          |
          `--._ -----'  |        _________________,-' -----     |
               `.-._   ,' __.---'   |                          /
                |   `-.  |           \                        /
                `.    |  |            `.                    ,'
                 |    |  |              `.                ,'
 _____,----------`-------`-.              `-._        _,-'
<___________________________)                 `------'
                   | _|  |
                   `.____|



=================================

while( love & passion ) {
  for( fight = 0 ; rights < freedom ; rights++ )
    fight = standup( rights );
  free( babylon );
}
=================================

Re: full Python API for MADlib

Posted by Fatima Castiglione Maldonado 发 <ca...@gmail.com>.
> I think forking Pymadlib code and making it work for your use case would
be >great first step.

Completely d'accord.

> I do have thoughts on what Python API for MADlib should ​achieve and how
that can be designed, but that's a bigger discussion we can have after
we've made initial progress.

Yap. Once I can make at least one algorithm to run with 1.9.1, ok? Maybe
fixing more than one will be useless, if we plan to change external API...
I would probably have to rework all the parameter-tweaking stuff... Boring
to make it twice.

> An important step in building the API is consistency esp. with external
API. For that purpose following scikit-learn's structure would be helpful.

That's would be smart. Honestly I did not see it coming, but now that you
said it, I agree 100%, as it would make Pymadlib instantly "pluggable" whit
what is probably a nice lot of pre-existing code.

Will keep you updated.





2016-12-23 20:07 GMT-03:00 Rahul Iyer <ra...@gmail.com>:

> ​Hi Fatima,
>
> Thanks for starting this work.
> ​
>
>> When you get back to work please let me know if you are OK with me
>> forking this code base, or if you are thinking to make any important
>> changes.
>>
>> ​I think forking Pymadlib code and making it work for your use case would
> be great first step. I do have thoughts on what Python API for MADlib
> should ​achieve and how that can be designed, but that's a bigger
> discussion we can have after we've made initial progress.
>
> An important step in building the API is consistency esp. with external
> API. For that purpose following scikit-learn's structure would be helpful.
> We can go over specifics after initial progress.
>
>
>> Am also watching the videos so I get more familiar with available
>> algorithms.
>> In my next available time slot will install it all so am ready to start.
>>
>
> ​The videos + getting ​Pymadlib to work are the right goals to start with.
> Feel free to let this forum know about progress and questions.
>
> Best,
> Rahul
> ​
>
>> 2016-12-22 17:49 GMT-03:00 Fatima Castiglione Maldonado 发 <
>> castiglionemaldonado@gmail.com>:
>>
>>> Great, thanks. We will check it once I read a bit more and then we can
>>> talk.
>>>
>>> 2016-12-22 17:28 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:
>>>
>>>> This is an early attempt at a Python interface for MADlib
>>>> https://github.com/pivotalsoftware/pymadlib
>>>> but I would say it is preliminary in nature and we may want to take a
>>>> different approach.
>>>>
>>>> @riyer can provide more details on this.
>>>>
>>>> Frank
>>>>
>>>>
>>>> On Thu, Dec 22, 2016 at 12:02 PM, Fatima Castiglione Maldonado 发 <
>>>> castiglionemaldonado@gmail.com> wrote:
>>>>
>>>>> I am reading documentation:
>>>>>
>>>>> Apache MADlib (Incubating)
>>>>> Created by Gavin, last modified by Frank McQuillan on Sep 13, 2016
>>>>> https://cwiki.apache.org/confluence/pages/viewpage.action?pa
>>>>> geId=61319606
>>>>>
>>>>> and watching videos:
>>>>>
>>>>> Pivotal Open Source Hub - Watch!
>>>>> https://www.youtube.com/channel/UCLQV6NlSaIZBGym1mEczuqQ
>>>>>
>>>>> This should take me a few days.
>>>>> If there is other relevant material please let me know.
>>>>>
>>>>> Best,
>>>>> Fatima
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 2016-12-20 23:00 GMT-03:00 Fatima Castiglione Maldonado 发 <
>>>>> castiglionemaldonado@gmail.com>:
>>>>>
>>>>>> Hi Frank,
>>>>>>
>>>>>> thanks for your kind answer. Yeah, just yesterday night I saw the
>>>>>> user's survey results, plus today I read some "top ten python APIs" doc and
>>>>>> MADlib was not there, so two plus two four.
>>>>>>
>>>>>> I would like to use the python API in a POC. My main expertise is
>>>>>> coding, so would probably need some help with architecture design.
>>>>>>
>>>>>> Best,
>>>>>> Fatima
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> 2016-12-20 22:54 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:
>>>>>>
>>>>>>> Hi Fatima,
>>>>>>>
>>>>>>> Thank you for your email and offer to participate.
>>>>>>>
>>>>>>> A Python API for MADlib is something that a lot of people have been
>>>>>>> asking for.  In the recent MADlib survey, it was one of the top requests.
>>>>>>>
>>>>>>> There is already an R interface
>>>>>>> https://cran.r-project.org/web/packages/PivotalR/
>>>>>>> which could be a model for how to approach the Python interface.
>>>>>>>
>>>>>>> There have been some prototyping done, but the feature is a new one
>>>>>>> for Python API.
>>>>>>>
>>>>>>> But before we get into details, would you be able to say a little
>>>>>>> bit about your planned use for the Python API.  Also, what aspect would you
>>>>>>> be interested in working on? - architecture, core software development,
>>>>>>> testing, etc.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Frank
>>>>>>>
>>>>>>> On Tue, Dec 20, 2016 at 1:28 PM, Fatima Castiglione Maldonado 发 <
>>>>>>> castiglionemaldonado@gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> does anybody know how to participate in the "full Python API for
>>>>>>>> MADlib" effort? I would like to give a helping hand.
>>>>>>>>
>>>>>>>> Best,
>>>>>>>> Fatima
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> =================================
>>>>>>>> Fátima Castiglione Maldonado
>>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>>>> castiglionemaldonado@gmail.com
>>>>>>>>
>>>>>>>>                      ____
>>>>>>>>                    ,'_   |
>>>>>>>>  __________________|__|__|__
>>>>>>>> <_____                      )                _.------._
>>>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>>>                  |    |  |              ,'                `.
>>>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>>>                 |  _,-'  |__         /                        \
>>>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>>>>           |    ___|  |===========================((|) |         |
>>>>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>>>>                `.-._   ,' __.---'   |                          /
>>>>>>>>                 |   `-.  |           \                        /
>>>>>>>>                 `.    |  |            `.                    ,'
>>>>>>>>                  |    |  |              `.                ,'
>>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>>>> <___________________________)                 `------'
>>>>>>>>                    | _|  |
>>>>>>>>                    `.____|
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> =================================
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> =================================
>>>>>> Fátima Castiglione Maldonado
>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>> castiglionemaldonado@gmail.com
>>>>>>
>>>>>>                      ____
>>>>>>                    ,'_   |
>>>>>>  __________________|__|__|__
>>>>>> <_____                      )                _.------._
>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>                  |    |  |              ,'                `.
>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>                 |  _,-'  |__         /                        \
>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>>           |    ___|  |===========================((|) |         |
>>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>>                `.-._   ,' __.---'   |                          /
>>>>>>                 |   `-.  |           \                        /
>>>>>>                 `.    |  |            `.                    ,'
>>>>>>                  |    |  |              `.                ,'
>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>> <___________________________)                 `------'
>>>>>>                    | _|  |
>>>>>>                    `.____|
>>>>>>
>>>>>>
>>>>>>
>>>>>> =================================
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> =================================
>>>>> Fátima Castiglione Maldonado
>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>> castiglionemaldonado@gmail.com
>>>>>
>>>>>                      ____
>>>>>                    ,'_   |
>>>>>  __________________|__|__|__
>>>>> <_____                      )                _.------._
>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>                  |    |  |              ,'                `.
>>>>>                 ,'    |  |            ,'                    `.
>>>>>                 |  _,-'  |__         /                        \
>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>           |    ___|  |===========================((|) |         |
>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>                `.-._   ,' __.---'   |                          /
>>>>>                 |   `-.  |           \                        /
>>>>>                 `.    |  |            `.                    ,'
>>>>>                  |    |  |              `.                ,'
>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>> <___________________________)                 `------'
>>>>>                    | _|  |
>>>>>                    `.____|
>>>>>
>>>>>
>>>>>
>>>>> =================================
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> =================================
>>> Fátima Castiglione Maldonado
>>> Singer, Designer, Creative, Artificial Intelligence
>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>> castiglionemaldonado@gmail.com
>>>
>>>                      ____
>>>                    ,'_   |
>>>  __________________|__|__|__
>>> <_____                      )                _.------._
>>>       `-----------,------.-'              ,-'          `-.
>>>                  |    |  |              ,'                `.
>>>                 ,'    |  |            ,'                    `.
>>>                 |  _,-'  |__         /                        \
>>>               _,'-'    `.   `---.___|_____________             \
>>>           .--'  -----.  | _____________________   `-. -----     |
>>>           |    ___|  |  |                      \  ,- \          |
>>>           |    ___|  |===========================((|) |         |
>>>           |       |  |  | _____________________/  `- /          |
>>>           `--._ -----'  |        _________________,-' -----     |
>>>                `.-._   ,' __.---'   |                          /
>>>                 |   `-.  |           \                        /
>>>                 `.    |  |            `.                    ,'
>>>                  |    |  |              `.                ,'
>>>  _____,----------`-------`-.              `-._        _,-'
>>> <___________________________)                 `------'
>>>                    | _|  |
>>>                    `.____|
>>>
>>>
>>>
>>> =================================
>>>
>>
>>
>>
>> --
>> =================================
>> Fátima Castiglione Maldonado
>> Singer, Designer, Creative, Artificial Intelligence
>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>> castiglionemaldonado@gmail.com
>>
>>                      ____
>>                    ,'_   |
>>  __________________|__|__|__
>> <_____                      )                _.------._
>>       `-----------,------.-'              ,-'          `-.
>>                  |    |  |              ,'                `.
>>                 ,'    |  |            ,'                    `.
>>                 |  _,-'  |__         /                        \
>>               _,'-'    `.   `---.___|_____________             \
>>           .--'  -----.  | _____________________   `-. -----     |
>>           |    ___|  |  |                      \  ,- \          |
>>           |    ___|  |===========================((|) |         |
>>           |       |  |  | _____________________/  `- /          |
>>           `--._ -----'  |        _________________,-' -----     |
>>                `.-._   ,' __.---'   |                          /
>>                 |   `-.  |           \                        /
>>                 `.    |  |            `.                    ,'
>>                  |    |  |              `.                ,'
>>  _____,----------`-------`-.              `-._        _,-'
>> <___________________________)                 `------'
>>                    | _|  |
>>                    `.____|
>>
>>
>>
>> =================================
>>
>
>


-- 
=================================
Fátima Castiglione Maldonado
Singer, Designer, Creative, Artificial Intelligence
Cantante, Diseñadora, Creativa, Inteligencia Artificial
castiglionemaldonado@gmail.com

                     ____
                   ,'_   |
 __________________|__|__|__
<_____                      )                _.------._
      `-----------,------.-'              ,-'          `-.
                 |    |  |              ,'                `.
                ,'    |  |            ,'                    `.
                |  _,-'  |__         /                        \
              _,'-'    `.   `---.___|_____________             \
          .--'  -----.  | _____________________   `-. -----     |
          |    ___|  |  |                      \  ,- \          |
          |    ___|  |===========================((|) |         |
          |       |  |  | _____________________/  `- /          |
          `--._ -----'  |        _________________,-' -----     |
               `.-._   ,' __.---'   |                          /
                |   `-.  |           \                        /
                `.    |  |            `.                    ,'
                 |    |  |              `.                ,'
 _____,----------`-------`-.              `-._        _,-'
<___________________________)                 `------'
                   | _|  |
                   `.____|



=================================

Re: full Python API for MADlib

Posted by Rahul Iyer <ra...@gmail.com>.
​Hi Fatima,

Thanks for starting this work.
​

> When you get back to work please let me know if you are OK with me forking
> this code base, or if you are thinking to make any important changes.
>
> ​I think forking Pymadlib code and making it work for your use case would
be great first step. I do have thoughts on what Python API for MADlib
should ​achieve and how that can be designed, but that's a bigger
discussion we can have after we've made initial progress.

An important step in building the API is consistency esp. with external
API. For that purpose following scikit-learn's structure would be helpful.
We can go over specifics after initial progress.


> Am also watching the videos so I get more familiar with available
> algorithms.
> In my next available time slot will install it all so am ready to start.
>

​The videos + getting ​Pymadlib to work are the right goals to start with.
Feel free to let this forum know about progress and questions.

Best,
Rahul
​

> 2016-12-22 17:49 GMT-03:00 Fatima Castiglione Maldonado 发 <
> castiglionemaldonado@gmail.com>:
>
>> Great, thanks. We will check it once I read a bit more and then we can
>> talk.
>>
>> 2016-12-22 17:28 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:
>>
>>> This is an early attempt at a Python interface for MADlib
>>> https://github.com/pivotalsoftware/pymadlib
>>> but I would say it is preliminary in nature and we may want to take a
>>> different approach.
>>>
>>> @riyer can provide more details on this.
>>>
>>> Frank
>>>
>>>
>>> On Thu, Dec 22, 2016 at 12:02 PM, Fatima Castiglione Maldonado 发 <
>>> castiglionemaldonado@gmail.com> wrote:
>>>
>>>> I am reading documentation:
>>>>
>>>> Apache MADlib (Incubating)
>>>> Created by Gavin, last modified by Frank McQuillan on Sep 13, 2016
>>>> https://cwiki.apache.org/confluence/pages/viewpage.action?pa
>>>> geId=61319606
>>>>
>>>> and watching videos:
>>>>
>>>> Pivotal Open Source Hub - Watch!
>>>> https://www.youtube.com/channel/UCLQV6NlSaIZBGym1mEczuqQ
>>>>
>>>> This should take me a few days.
>>>> If there is other relevant material please let me know.
>>>>
>>>> Best,
>>>> Fatima
>>>>
>>>>
>>>>
>>>>
>>>> 2016-12-20 23:00 GMT-03:00 Fatima Castiglione Maldonado 发 <
>>>> castiglionemaldonado@gmail.com>:
>>>>
>>>>> Hi Frank,
>>>>>
>>>>> thanks for your kind answer. Yeah, just yesterday night I saw the
>>>>> user's survey results, plus today I read some "top ten python APIs" doc and
>>>>> MADlib was not there, so two plus two four.
>>>>>
>>>>> I would like to use the python API in a POC. My main expertise is
>>>>> coding, so would probably need some help with architecture design.
>>>>>
>>>>> Best,
>>>>> Fatima
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 2016-12-20 22:54 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:
>>>>>
>>>>>> Hi Fatima,
>>>>>>
>>>>>> Thank you for your email and offer to participate.
>>>>>>
>>>>>> A Python API for MADlib is something that a lot of people have been
>>>>>> asking for.  In the recent MADlib survey, it was one of the top requests.
>>>>>>
>>>>>> There is already an R interface
>>>>>> https://cran.r-project.org/web/packages/PivotalR/
>>>>>> which could be a model for how to approach the Python interface.
>>>>>>
>>>>>> There have been some prototyping done, but the feature is a new one
>>>>>> for Python API.
>>>>>>
>>>>>> But before we get into details, would you be able to say a little bit
>>>>>> about your planned use for the Python API.  Also, what aspect would you be
>>>>>> interested in working on? - architecture, core software development,
>>>>>> testing, etc.
>>>>>>
>>>>>> Regards,
>>>>>> Frank
>>>>>>
>>>>>> On Tue, Dec 20, 2016 at 1:28 PM, Fatima Castiglione Maldonado 发 <
>>>>>> castiglionemaldonado@gmail.com> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> does anybody know how to participate in the "full Python API for
>>>>>>> MADlib" effort? I would like to give a helping hand.
>>>>>>>
>>>>>>> Best,
>>>>>>> Fatima
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> =================================
>>>>>>> Fátima Castiglione Maldonado
>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>>> castiglionemaldonado@gmail.com
>>>>>>>
>>>>>>>                      ____
>>>>>>>                    ,'_   |
>>>>>>>  __________________|__|__|__
>>>>>>> <_____                      )                _.------._
>>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>>                  |    |  |              ,'                `.
>>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>>                 |  _,-'  |__         /                        \
>>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>>>           |    ___|  |===========================((|) |         |
>>>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>>>                `.-._   ,' __.---'   |                          /
>>>>>>>                 |   `-.  |           \                        /
>>>>>>>                 `.    |  |            `.                    ,'
>>>>>>>                  |    |  |              `.                ,'
>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>>> <___________________________)                 `------'
>>>>>>>                    | _|  |
>>>>>>>                    `.____|
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> =================================
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> =================================
>>>>> Fátima Castiglione Maldonado
>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>> castiglionemaldonado@gmail.com
>>>>>
>>>>>                      ____
>>>>>                    ,'_   |
>>>>>  __________________|__|__|__
>>>>> <_____                      )                _.------._
>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>                  |    |  |              ,'                `.
>>>>>                 ,'    |  |            ,'                    `.
>>>>>                 |  _,-'  |__         /                        \
>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>           |    ___|  |===========================((|) |         |
>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>                `.-._   ,' __.---'   |                          /
>>>>>                 |   `-.  |           \                        /
>>>>>                 `.    |  |            `.                    ,'
>>>>>                  |    |  |              `.                ,'
>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>> <___________________________)                 `------'
>>>>>                    | _|  |
>>>>>                    `.____|
>>>>>
>>>>>
>>>>>
>>>>> =================================
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> =================================
>>>> Fátima Castiglione Maldonado
>>>> Singer, Designer, Creative, Artificial Intelligence
>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>> castiglionemaldonado@gmail.com
>>>>
>>>>                      ____
>>>>                    ,'_   |
>>>>  __________________|__|__|__
>>>> <_____                      )                _.------._
>>>>       `-----------,------.-'              ,-'          `-.
>>>>                  |    |  |              ,'                `.
>>>>                 ,'    |  |            ,'                    `.
>>>>                 |  _,-'  |__         /                        \
>>>>               _,'-'    `.   `---.___|_____________             \
>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>           |    ___|  |  |                      \  ,- \          |
>>>>           |    ___|  |===========================((|) |         |
>>>>           |       |  |  | _____________________/  `- /          |
>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>                `.-._   ,' __.---'   |                          /
>>>>                 |   `-.  |           \                        /
>>>>                 `.    |  |            `.                    ,'
>>>>                  |    |  |              `.                ,'
>>>>  _____,----------`-------`-.              `-._        _,-'
>>>> <___________________________)                 `------'
>>>>                    | _|  |
>>>>                    `.____|
>>>>
>>>>
>>>>
>>>> =================================
>>>>
>>>
>>>
>>
>>
>> --
>> =================================
>> Fátima Castiglione Maldonado
>> Singer, Designer, Creative, Artificial Intelligence
>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>> castiglionemaldonado@gmail.com
>>
>>                      ____
>>                    ,'_   |
>>  __________________|__|__|__
>> <_____                      )                _.------._
>>       `-----------,------.-'              ,-'          `-.
>>                  |    |  |              ,'                `.
>>                 ,'    |  |            ,'                    `.
>>                 |  _,-'  |__         /                        \
>>               _,'-'    `.   `---.___|_____________             \
>>           .--'  -----.  | _____________________   `-. -----     |
>>           |    ___|  |  |                      \  ,- \          |
>>           |    ___|  |===========================((|) |         |
>>           |       |  |  | _____________________/  `- /          |
>>           `--._ -----'  |        _________________,-' -----     |
>>                `.-._   ,' __.---'   |                          /
>>                 |   `-.  |           \                        /
>>                 `.    |  |            `.                    ,'
>>                  |    |  |              `.                ,'
>>  _____,----------`-------`-.              `-._        _,-'
>> <___________________________)                 `------'
>>                    | _|  |
>>                    `.____|
>>
>>
>>
>> =================================
>>
>
>
>
> --
> =================================
> Fátima Castiglione Maldonado
> Singer, Designer, Creative, Artificial Intelligence
> Cantante, Diseñadora, Creativa, Inteligencia Artificial
> castiglionemaldonado@gmail.com
>
>                      ____
>                    ,'_   |
>  __________________|__|__|__
> <_____                      )                _.------._
>       `-----------,------.-'              ,-'          `-.
>                  |    |  |              ,'                `.
>                 ,'    |  |            ,'                    `.
>                 |  _,-'  |__         /                        \
>               _,'-'    `.   `---.___|_____________             \
>           .--'  -----.  | _____________________   `-. -----     |
>           |    ___|  |  |                      \  ,- \          |
>           |    ___|  |===========================((|) |         |
>           |       |  |  | _____________________/  `- /          |
>           `--._ -----'  |        _________________,-' -----     |
>                `.-._   ,' __.---'   |                          /
>                 |   `-.  |           \                        /
>                 `.    |  |            `.                    ,'
>                  |    |  |              `.                ,'
>  _____,----------`-------`-.              `-._        _,-'
> <___________________________)                 `------'
>                    | _|  |
>                    `.____|
>
>
>
> =================================
>

Re: full Python API for MADlib

Posted by Rahul Iyer <ra...@gmail.com>.
​Hi Fatima,

Thanks for starting this work.
​

> When you get back to work please let me know if you are OK with me forking
> this code base, or if you are thinking to make any important changes.
>
> ​I think forking Pymadlib code and making it work for your use case would
be great first step. I do have thoughts on what Python API for MADlib
should ​achieve and how that can be designed, but that's a bigger
discussion we can have after we've made initial progress.

An important step in building the API is consistency esp. with external
API. For that purpose following scikit-learn's structure would be helpful.
We can go over specifics after initial progress.


> Am also watching the videos so I get more familiar with available
> algorithms.
> In my next available time slot will install it all so am ready to start.
>

​The videos + getting ​Pymadlib to work are the right goals to start with.
Feel free to let this forum know about progress and questions.

Best,
Rahul
​

> 2016-12-22 17:49 GMT-03:00 Fatima Castiglione Maldonado 发 <
> castiglionemaldonado@gmail.com>:
>
>> Great, thanks. We will check it once I read a bit more and then we can
>> talk.
>>
>> 2016-12-22 17:28 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:
>>
>>> This is an early attempt at a Python interface for MADlib
>>> https://github.com/pivotalsoftware/pymadlib
>>> but I would say it is preliminary in nature and we may want to take a
>>> different approach.
>>>
>>> @riyer can provide more details on this.
>>>
>>> Frank
>>>
>>>
>>> On Thu, Dec 22, 2016 at 12:02 PM, Fatima Castiglione Maldonado 发 <
>>> castiglionemaldonado@gmail.com> wrote:
>>>
>>>> I am reading documentation:
>>>>
>>>> Apache MADlib (Incubating)
>>>> Created by Gavin, last modified by Frank McQuillan on Sep 13, 2016
>>>> https://cwiki.apache.org/confluence/pages/viewpage.action?pa
>>>> geId=61319606
>>>>
>>>> and watching videos:
>>>>
>>>> Pivotal Open Source Hub - Watch!
>>>> https://www.youtube.com/channel/UCLQV6NlSaIZBGym1mEczuqQ
>>>>
>>>> This should take me a few days.
>>>> If there is other relevant material please let me know.
>>>>
>>>> Best,
>>>> Fatima
>>>>
>>>>
>>>>
>>>>
>>>> 2016-12-20 23:00 GMT-03:00 Fatima Castiglione Maldonado 发 <
>>>> castiglionemaldonado@gmail.com>:
>>>>
>>>>> Hi Frank,
>>>>>
>>>>> thanks for your kind answer. Yeah, just yesterday night I saw the
>>>>> user's survey results, plus today I read some "top ten python APIs" doc and
>>>>> MADlib was not there, so two plus two four.
>>>>>
>>>>> I would like to use the python API in a POC. My main expertise is
>>>>> coding, so would probably need some help with architecture design.
>>>>>
>>>>> Best,
>>>>> Fatima
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 2016-12-20 22:54 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:
>>>>>
>>>>>> Hi Fatima,
>>>>>>
>>>>>> Thank you for your email and offer to participate.
>>>>>>
>>>>>> A Python API for MADlib is something that a lot of people have been
>>>>>> asking for.  In the recent MADlib survey, it was one of the top requests.
>>>>>>
>>>>>> There is already an R interface
>>>>>> https://cran.r-project.org/web/packages/PivotalR/
>>>>>> which could be a model for how to approach the Python interface.
>>>>>>
>>>>>> There have been some prototyping done, but the feature is a new one
>>>>>> for Python API.
>>>>>>
>>>>>> But before we get into details, would you be able to say a little bit
>>>>>> about your planned use for the Python API.  Also, what aspect would you be
>>>>>> interested in working on? - architecture, core software development,
>>>>>> testing, etc.
>>>>>>
>>>>>> Regards,
>>>>>> Frank
>>>>>>
>>>>>> On Tue, Dec 20, 2016 at 1:28 PM, Fatima Castiglione Maldonado 发 <
>>>>>> castiglionemaldonado@gmail.com> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> does anybody know how to participate in the "full Python API for
>>>>>>> MADlib" effort? I would like to give a helping hand.
>>>>>>>
>>>>>>> Best,
>>>>>>> Fatima
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> =================================
>>>>>>> Fátima Castiglione Maldonado
>>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>>> castiglionemaldonado@gmail.com
>>>>>>>
>>>>>>>                      ____
>>>>>>>                    ,'_   |
>>>>>>>  __________________|__|__|__
>>>>>>> <_____                      )                _.------._
>>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>>                  |    |  |              ,'                `.
>>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>>                 |  _,-'  |__         /                        \
>>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>>>           |    ___|  |===========================((|) |         |
>>>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>>>                `.-._   ,' __.---'   |                          /
>>>>>>>                 |   `-.  |           \                        /
>>>>>>>                 `.    |  |            `.                    ,'
>>>>>>>                  |    |  |              `.                ,'
>>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>>> <___________________________)                 `------'
>>>>>>>                    | _|  |
>>>>>>>                    `.____|
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> =================================
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> =================================
>>>>> Fátima Castiglione Maldonado
>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>> castiglionemaldonado@gmail.com
>>>>>
>>>>>                      ____
>>>>>                    ,'_   |
>>>>>  __________________|__|__|__
>>>>> <_____                      )                _.------._
>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>                  |    |  |              ,'                `.
>>>>>                 ,'    |  |            ,'                    `.
>>>>>                 |  _,-'  |__         /                        \
>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>           |    ___|  |===========================((|) |         |
>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>                `.-._   ,' __.---'   |                          /
>>>>>                 |   `-.  |           \                        /
>>>>>                 `.    |  |            `.                    ,'
>>>>>                  |    |  |              `.                ,'
>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>> <___________________________)                 `------'
>>>>>                    | _|  |
>>>>>                    `.____|
>>>>>
>>>>>
>>>>>
>>>>> =================================
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> =================================
>>>> Fátima Castiglione Maldonado
>>>> Singer, Designer, Creative, Artificial Intelligence
>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>> castiglionemaldonado@gmail.com
>>>>
>>>>                      ____
>>>>                    ,'_   |
>>>>  __________________|__|__|__
>>>> <_____                      )                _.------._
>>>>       `-----------,------.-'              ,-'          `-.
>>>>                  |    |  |              ,'                `.
>>>>                 ,'    |  |            ,'                    `.
>>>>                 |  _,-'  |__         /                        \
>>>>               _,'-'    `.   `---.___|_____________             \
>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>           |    ___|  |  |                      \  ,- \          |
>>>>           |    ___|  |===========================((|) |         |
>>>>           |       |  |  | _____________________/  `- /          |
>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>                `.-._   ,' __.---'   |                          /
>>>>                 |   `-.  |           \                        /
>>>>                 `.    |  |            `.                    ,'
>>>>                  |    |  |              `.                ,'
>>>>  _____,----------`-------`-.              `-._        _,-'
>>>> <___________________________)                 `------'
>>>>                    | _|  |
>>>>                    `.____|
>>>>
>>>>
>>>>
>>>> =================================
>>>>
>>>
>>>
>>
>>
>> --
>> =================================
>> Fátima Castiglione Maldonado
>> Singer, Designer, Creative, Artificial Intelligence
>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>> castiglionemaldonado@gmail.com
>>
>>                      ____
>>                    ,'_   |
>>  __________________|__|__|__
>> <_____                      )                _.------._
>>       `-----------,------.-'              ,-'          `-.
>>                  |    |  |              ,'                `.
>>                 ,'    |  |            ,'                    `.
>>                 |  _,-'  |__         /                        \
>>               _,'-'    `.   `---.___|_____________             \
>>           .--'  -----.  | _____________________   `-. -----     |
>>           |    ___|  |  |                      \  ,- \          |
>>           |    ___|  |===========================((|) |         |
>>           |       |  |  | _____________________/  `- /          |
>>           `--._ -----'  |        _________________,-' -----     |
>>                `.-._   ,' __.---'   |                          /
>>                 |   `-.  |           \                        /
>>                 `.    |  |            `.                    ,'
>>                  |    |  |              `.                ,'
>>  _____,----------`-------`-.              `-._        _,-'
>> <___________________________)                 `------'
>>                    | _|  |
>>                    `.____|
>>
>>
>>
>> =================================
>>
>
>
>
> --
> =================================
> Fátima Castiglione Maldonado
> Singer, Designer, Creative, Artificial Intelligence
> Cantante, Diseñadora, Creativa, Inteligencia Artificial
> castiglionemaldonado@gmail.com
>
>                      ____
>                    ,'_   |
>  __________________|__|__|__
> <_____                      )                _.------._
>       `-----------,------.-'              ,-'          `-.
>                  |    |  |              ,'                `.
>                 ,'    |  |            ,'                    `.
>                 |  _,-'  |__         /                        \
>               _,'-'    `.   `---.___|_____________             \
>           .--'  -----.  | _____________________   `-. -----     |
>           |    ___|  |  |                      \  ,- \          |
>           |    ___|  |===========================((|) |         |
>           |       |  |  | _____________________/  `- /          |
>           `--._ -----'  |        _________________,-' -----     |
>                `.-._   ,' __.---'   |                          /
>                 |   `-.  |           \                        /
>                 `.    |  |            `.                    ,'
>                  |    |  |              `.                ,'
>  _____,----------`-------`-.              `-._        _,-'
> <___________________________)                 `------'
>                    | _|  |
>                    `.____|
>
>
>
> =================================
>

Re: full Python API for MADlib

Posted by Fatima Castiglione Maldonado 发 <ca...@gmail.com>.
Well, the code is not bad... Kinda normal. Plus it has some useful
additional things, like data and a tutorial.

When you get back to work please let me know if you are OK with me forking
this code base, or if you are thinking to make any important changes.

Am also watching the videos so I get more familiar with available
algorithms.
In my next available time slot will install it all so am ready to start.

Merry Christmas,
Fatima


2016-12-22 17:49 GMT-03:00 Fatima Castiglione Maldonado 发 <
castiglionemaldonado@gmail.com>:

> Great, thanks. We will check it once I read a bit more and then we can
> talk.
>
> 2016-12-22 17:28 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:
>
>> This is an early attempt at a Python interface for MADlib
>> https://github.com/pivotalsoftware/pymadlib
>> but I would say it is preliminary in nature and we may want to take a
>> different approach.
>>
>> @riyer can provide more details on this.
>>
>> Frank
>>
>>
>> On Thu, Dec 22, 2016 at 12:02 PM, Fatima Castiglione Maldonado 发 <
>> castiglionemaldonado@gmail.com> wrote:
>>
>>> I am reading documentation:
>>>
>>> Apache MADlib (Incubating)
>>> Created by Gavin, last modified by Frank McQuillan on Sep 13, 2016
>>> https://cwiki.apache.org/confluence/pages/viewpage.action?pa
>>> geId=61319606
>>>
>>> and watching videos:
>>>
>>> Pivotal Open Source Hub - Watch!
>>> https://www.youtube.com/channel/UCLQV6NlSaIZBGym1mEczuqQ
>>>
>>> This should take me a few days.
>>> If there is other relevant material please let me know.
>>>
>>> Best,
>>> Fatima
>>>
>>>
>>>
>>>
>>> 2016-12-20 23:00 GMT-03:00 Fatima Castiglione Maldonado 发 <
>>> castiglionemaldonado@gmail.com>:
>>>
>>>> Hi Frank,
>>>>
>>>> thanks for your kind answer. Yeah, just yesterday night I saw the
>>>> user's survey results, plus today I read some "top ten python APIs" doc and
>>>> MADlib was not there, so two plus two four.
>>>>
>>>> I would like to use the python API in a POC. My main expertise is
>>>> coding, so would probably need some help with architecture design.
>>>>
>>>> Best,
>>>> Fatima
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> 2016-12-20 22:54 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:
>>>>
>>>>> Hi Fatima,
>>>>>
>>>>> Thank you for your email and offer to participate.
>>>>>
>>>>> A Python API for MADlib is something that a lot of people have been
>>>>> asking for.  In the recent MADlib survey, it was one of the top requests.
>>>>>
>>>>> There is already an R interface
>>>>> https://cran.r-project.org/web/packages/PivotalR/
>>>>> which could be a model for how to approach the Python interface.
>>>>>
>>>>> There have been some prototyping done, but the feature is a new one
>>>>> for Python API.
>>>>>
>>>>> But before we get into details, would you be able to say a little bit
>>>>> about your planned use for the Python API.  Also, what aspect would you be
>>>>> interested in working on? - architecture, core software development,
>>>>> testing, etc.
>>>>>
>>>>> Regards,
>>>>> Frank
>>>>>
>>>>> On Tue, Dec 20, 2016 at 1:28 PM, Fatima Castiglione Maldonado 发 <
>>>>> castiglionemaldonado@gmail.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> does anybody know how to participate in the "full Python API for
>>>>>> MADlib" effort? I would like to give a helping hand.
>>>>>>
>>>>>> Best,
>>>>>> Fatima
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> =================================
>>>>>> Fátima Castiglione Maldonado
>>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>>> castiglionemaldonado@gmail.com
>>>>>>
>>>>>>                      ____
>>>>>>                    ,'_   |
>>>>>>  __________________|__|__|__
>>>>>> <_____                      )                _.------._
>>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>>                  |    |  |              ,'                `.
>>>>>>                 ,'    |  |            ,'                    `.
>>>>>>                 |  _,-'  |__         /                        \
>>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>>           |    ___|  |===========================((|) |         |
>>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>>                `.-._   ,' __.---'   |                          /
>>>>>>                 |   `-.  |           \                        /
>>>>>>                 `.    |  |            `.                    ,'
>>>>>>                  |    |  |              `.                ,'
>>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>>> <___________________________)                 `------'
>>>>>>                    | _|  |
>>>>>>                    `.____|
>>>>>>
>>>>>>
>>>>>>
>>>>>> =================================
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> =================================
>>>> Fátima Castiglione Maldonado
>>>> Singer, Designer, Creative, Artificial Intelligence
>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>> castiglionemaldonado@gmail.com
>>>>
>>>>                      ____
>>>>                    ,'_   |
>>>>  __________________|__|__|__
>>>> <_____                      )                _.------._
>>>>       `-----------,------.-'              ,-'          `-.
>>>>                  |    |  |              ,'                `.
>>>>                 ,'    |  |            ,'                    `.
>>>>                 |  _,-'  |__         /                        \
>>>>               _,'-'    `.   `---.___|_____________             \
>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>           |    ___|  |  |                      \  ,- \          |
>>>>           |    ___|  |===========================((|) |         |
>>>>           |       |  |  | _____________________/  `- /          |
>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>                `.-._   ,' __.---'   |                          /
>>>>                 |   `-.  |           \                        /
>>>>                 `.    |  |            `.                    ,'
>>>>                  |    |  |              `.                ,'
>>>>  _____,----------`-------`-.              `-._        _,-'
>>>> <___________________________)                 `------'
>>>>                    | _|  |
>>>>                    `.____|
>>>>
>>>>
>>>>
>>>> =================================
>>>>
>>>
>>>
>>>
>>> --
>>> =================================
>>> Fátima Castiglione Maldonado
>>> Singer, Designer, Creative, Artificial Intelligence
>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>> castiglionemaldonado@gmail.com
>>>
>>>                      ____
>>>                    ,'_   |
>>>  __________________|__|__|__
>>> <_____                      )                _.------._
>>>       `-----------,------.-'              ,-'          `-.
>>>                  |    |  |              ,'                `.
>>>                 ,'    |  |            ,'                    `.
>>>                 |  _,-'  |__         /                        \
>>>               _,'-'    `.   `---.___|_____________             \
>>>           .--'  -----.  | _____________________   `-. -----     |
>>>           |    ___|  |  |                      \  ,- \          |
>>>           |    ___|  |===========================((|) |         |
>>>           |       |  |  | _____________________/  `- /          |
>>>           `--._ -----'  |        _________________,-' -----     |
>>>                `.-._   ,' __.---'   |                          /
>>>                 |   `-.  |           \                        /
>>>                 `.    |  |            `.                    ,'
>>>                  |    |  |              `.                ,'
>>>  _____,----------`-------`-.              `-._        _,-'
>>> <___________________________)                 `------'
>>>                    | _|  |
>>>                    `.____|
>>>
>>>
>>>
>>> =================================
>>>
>>
>>
>
>
> --
> =================================
> Fátima Castiglione Maldonado
> Singer, Designer, Creative, Artificial Intelligence
> Cantante, Diseñadora, Creativa, Inteligencia Artificial
> castiglionemaldonado@gmail.com
>
>                      ____
>                    ,'_   |
>  __________________|__|__|__
> <_____                      )                _.------._
>       `-----------,------.-'              ,-'          `-.
>                  |    |  |              ,'                `.
>                 ,'    |  |            ,'                    `.
>                 |  _,-'  |__         /                        \
>               _,'-'    `.   `---.___|_____________             \
>           .--'  -----.  | _____________________   `-. -----     |
>           |    ___|  |  |                      \  ,- \          |
>           |    ___|  |===========================((|) |         |
>           |       |  |  | _____________________/  `- /          |
>           `--._ -----'  |        _________________,-' -----     |
>                `.-._   ,' __.---'   |                          /
>                 |   `-.  |           \                        /
>                 `.    |  |            `.                    ,'
>                  |    |  |              `.                ,'
>  _____,----------`-------`-.              `-._        _,-'
> <___________________________)                 `------'
>                    | _|  |
>                    `.____|
>
>
>
> =================================
>



-- 
=================================
Fátima Castiglione Maldonado
Singer, Designer, Creative, Artificial Intelligence
Cantante, Diseñadora, Creativa, Inteligencia Artificial
castiglionemaldonado@gmail.com

                     ____
                   ,'_   |
 __________________|__|__|__
<_____                      )                _.------._
      `-----------,------.-'              ,-'          `-.
                 |    |  |              ,'                `.
                ,'    |  |            ,'                    `.
                |  _,-'  |__         /                        \
              _,'-'    `.   `---.___|_____________             \
          .--'  -----.  | _____________________   `-. -----     |
          |    ___|  |  |                      \  ,- \          |
          |    ___|  |===========================((|) |         |
          |       |  |  | _____________________/  `- /          |
          `--._ -----'  |        _________________,-' -----     |
               `.-._   ,' __.---'   |                          /
                |   `-.  |           \                        /
                `.    |  |            `.                    ,'
                 |    |  |              `.                ,'
 _____,----------`-------`-.              `-._        _,-'
<___________________________)                 `------'
                   | _|  |
                   `.____|



=================================

Re: full Python API for MADlib

Posted by Fatima Castiglione Maldonado 发 <ca...@gmail.com>.
Great, thanks. We will check it once I read a bit more and then we can talk.

2016-12-22 17:28 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:

> This is an early attempt at a Python interface for MADlib
> https://github.com/pivotalsoftware/pymadlib
> but I would say it is preliminary in nature and we may want to take a
> different approach.
>
> @riyer can provide more details on this.
>
> Frank
>
>
> On Thu, Dec 22, 2016 at 12:02 PM, Fatima Castiglione Maldonado 发 <
> castiglionemaldonado@gmail.com> wrote:
>
>> I am reading documentation:
>>
>> Apache MADlib (Incubating)
>> Created by Gavin, last modified by Frank McQuillan on Sep 13, 2016
>> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=61319606
>>
>> and watching videos:
>>
>> Pivotal Open Source Hub - Watch!
>> https://www.youtube.com/channel/UCLQV6NlSaIZBGym1mEczuqQ
>>
>> This should take me a few days.
>> If there is other relevant material please let me know.
>>
>> Best,
>> Fatima
>>
>>
>>
>>
>> 2016-12-20 23:00 GMT-03:00 Fatima Castiglione Maldonado 发 <
>> castiglionemaldonado@gmail.com>:
>>
>>> Hi Frank,
>>>
>>> thanks for your kind answer. Yeah, just yesterday night I saw the user's
>>> survey results, plus today I read some "top ten python APIs" doc and MADlib
>>> was not there, so two plus two four.
>>>
>>> I would like to use the python API in a POC. My main expertise is
>>> coding, so would probably need some help with architecture design.
>>>
>>> Best,
>>> Fatima
>>>
>>>
>>>
>>>
>>>
>>>
>>> 2016-12-20 22:54 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:
>>>
>>>> Hi Fatima,
>>>>
>>>> Thank you for your email and offer to participate.
>>>>
>>>> A Python API for MADlib is something that a lot of people have been
>>>> asking for.  In the recent MADlib survey, it was one of the top requests.
>>>>
>>>> There is already an R interface
>>>> https://cran.r-project.org/web/packages/PivotalR/
>>>> which could be a model for how to approach the Python interface.
>>>>
>>>> There have been some prototyping done, but the feature is a new one for
>>>> Python API.
>>>>
>>>> But before we get into details, would you be able to say a little bit
>>>> about your planned use for the Python API.  Also, what aspect would you be
>>>> interested in working on? - architecture, core software development,
>>>> testing, etc.
>>>>
>>>> Regards,
>>>> Frank
>>>>
>>>> On Tue, Dec 20, 2016 at 1:28 PM, Fatima Castiglione Maldonado 发 <
>>>> castiglionemaldonado@gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> does anybody know how to participate in the "full Python API for
>>>>> MADlib" effort? I would like to give a helping hand.
>>>>>
>>>>> Best,
>>>>> Fatima
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> =================================
>>>>> Fátima Castiglione Maldonado
>>>>> Singer, Designer, Creative, Artificial Intelligence
>>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>>> castiglionemaldonado@gmail.com
>>>>>
>>>>>                      ____
>>>>>                    ,'_   |
>>>>>  __________________|__|__|__
>>>>> <_____                      )                _.------._
>>>>>       `-----------,------.-'              ,-'          `-.
>>>>>                  |    |  |              ,'                `.
>>>>>                 ,'    |  |            ,'                    `.
>>>>>                 |  _,-'  |__         /                        \
>>>>>               _,'-'    `.   `---.___|_____________             \
>>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>>           |    ___|  |  |                      \  ,- \          |
>>>>>           |    ___|  |===========================((|) |         |
>>>>>           |       |  |  | _____________________/  `- /          |
>>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>>                `.-._   ,' __.---'   |                          /
>>>>>                 |   `-.  |           \                        /
>>>>>                 `.    |  |            `.                    ,'
>>>>>                  |    |  |              `.                ,'
>>>>>  _____,----------`-------`-.              `-._        _,-'
>>>>> <___________________________)                 `------'
>>>>>                    | _|  |
>>>>>                    `.____|
>>>>>
>>>>>
>>>>>
>>>>> =================================
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> =================================
>>> Fátima Castiglione Maldonado
>>> Singer, Designer, Creative, Artificial Intelligence
>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>> castiglionemaldonado@gmail.com
>>>
>>>                      ____
>>>                    ,'_   |
>>>  __________________|__|__|__
>>> <_____                      )                _.------._
>>>       `-----------,------.-'              ,-'          `-.
>>>                  |    |  |              ,'                `.
>>>                 ,'    |  |            ,'                    `.
>>>                 |  _,-'  |__         /                        \
>>>               _,'-'    `.   `---.___|_____________             \
>>>           .--'  -----.  | _____________________   `-. -----     |
>>>           |    ___|  |  |                      \  ,- \          |
>>>           |    ___|  |===========================((|) |         |
>>>           |       |  |  | _____________________/  `- /          |
>>>           `--._ -----'  |        _________________,-' -----     |
>>>                `.-._   ,' __.---'   |                          /
>>>                 |   `-.  |           \                        /
>>>                 `.    |  |            `.                    ,'
>>>                  |    |  |              `.                ,'
>>>  _____,----------`-------`-.              `-._        _,-'
>>> <___________________________)                 `------'
>>>                    | _|  |
>>>                    `.____|
>>>
>>>
>>>
>>> =================================
>>>
>>
>>
>>
>> --
>> =================================
>> Fátima Castiglione Maldonado
>> Singer, Designer, Creative, Artificial Intelligence
>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>> castiglionemaldonado@gmail.com
>>
>>                      ____
>>                    ,'_   |
>>  __________________|__|__|__
>> <_____                      )                _.------._
>>       `-----------,------.-'              ,-'          `-.
>>                  |    |  |              ,'                `.
>>                 ,'    |  |            ,'                    `.
>>                 |  _,-'  |__         /                        \
>>               _,'-'    `.   `---.___|_____________             \
>>           .--'  -----.  | _____________________   `-. -----     |
>>           |    ___|  |  |                      \  ,- \          |
>>           |    ___|  |===========================((|) |         |
>>           |       |  |  | _____________________/  `- /          |
>>           `--._ -----'  |        _________________,-' -----     |
>>                `.-._   ,' __.---'   |                          /
>>                 |   `-.  |           \                        /
>>                 `.    |  |            `.                    ,'
>>                  |    |  |              `.                ,'
>>  _____,----------`-------`-.              `-._        _,-'
>> <___________________________)                 `------'
>>                    | _|  |
>>                    `.____|
>>
>>
>>
>> =================================
>>
>
>


-- 
=================================
Fátima Castiglione Maldonado
Singer, Designer, Creative, Artificial Intelligence
Cantante, Diseñadora, Creativa, Inteligencia Artificial
castiglionemaldonado@gmail.com

                     ____
                   ,'_   |
 __________________|__|__|__
<_____                      )                _.------._
      `-----------,------.-'              ,-'          `-.
                 |    |  |              ,'                `.
                ,'    |  |            ,'                    `.
                |  _,-'  |__         /                        \
              _,'-'    `.   `---.___|_____________             \
          .--'  -----.  | _____________________   `-. -----     |
          |    ___|  |  |                      \  ,- \          |
          |    ___|  |===========================((|) |         |
          |       |  |  | _____________________/  `- /          |
          `--._ -----'  |        _________________,-' -----     |
               `.-._   ,' __.---'   |                          /
                |   `-.  |           \                        /
                `.    |  |            `.                    ,'
                 |    |  |              `.                ,'
 _____,----------`-------`-.              `-._        _,-'
<___________________________)                 `------'
                   | _|  |
                   `.____|



=================================

Re: full Python API for MADlib

Posted by Frank McQuillan <fm...@pivotal.io>.
This is an early attempt at a Python interface for MADlib
https://github.com/pivotalsoftware/pymadlib
but I would say it is preliminary in nature and we may want to take a
different approach.

@riyer can provide more details on this.

Frank


On Thu, Dec 22, 2016 at 12:02 PM, Fatima Castiglione Maldonado 发 <
castiglionemaldonado@gmail.com> wrote:

> I am reading documentation:
>
> Apache MADlib (Incubating)
> Created by Gavin, last modified by Frank McQuillan on Sep 13, 2016
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=61319606
>
> and watching videos:
>
> Pivotal Open Source Hub - Watch!
> https://www.youtube.com/channel/UCLQV6NlSaIZBGym1mEczuqQ
>
> This should take me a few days.
> If there is other relevant material please let me know.
>
> Best,
> Fatima
>
>
>
>
> 2016-12-20 23:00 GMT-03:00 Fatima Castiglione Maldonado 发 <
> castiglionemaldonado@gmail.com>:
>
>> Hi Frank,
>>
>> thanks for your kind answer. Yeah, just yesterday night I saw the user's
>> survey results, plus today I read some "top ten python APIs" doc and MADlib
>> was not there, so two plus two four.
>>
>> I would like to use the python API in a POC. My main expertise is coding,
>> so would probably need some help with architecture design.
>>
>> Best,
>> Fatima
>>
>>
>>
>>
>>
>>
>> 2016-12-20 22:54 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:
>>
>>> Hi Fatima,
>>>
>>> Thank you for your email and offer to participate.
>>>
>>> A Python API for MADlib is something that a lot of people have been
>>> asking for.  In the recent MADlib survey, it was one of the top requests.
>>>
>>> There is already an R interface
>>> https://cran.r-project.org/web/packages/PivotalR/
>>> which could be a model for how to approach the Python interface.
>>>
>>> There have been some prototyping done, but the feature is a new one for
>>> Python API.
>>>
>>> But before we get into details, would you be able to say a little bit
>>> about your planned use for the Python API.  Also, what aspect would you be
>>> interested in working on? - architecture, core software development,
>>> testing, etc.
>>>
>>> Regards,
>>> Frank
>>>
>>> On Tue, Dec 20, 2016 at 1:28 PM, Fatima Castiglione Maldonado 发 <
>>> castiglionemaldonado@gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> does anybody know how to participate in the "full Python API for
>>>> MADlib" effort? I would like to give a helping hand.
>>>>
>>>> Best,
>>>> Fatima
>>>>
>>>>
>>>>
>>>> --
>>>> =================================
>>>> Fátima Castiglione Maldonado
>>>> Singer, Designer, Creative, Artificial Intelligence
>>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>>> castiglionemaldonado@gmail.com
>>>>
>>>>                      ____
>>>>                    ,'_   |
>>>>  __________________|__|__|__
>>>> <_____                      )                _.------._
>>>>       `-----------,------.-'              ,-'          `-.
>>>>                  |    |  |              ,'                `.
>>>>                 ,'    |  |            ,'                    `.
>>>>                 |  _,-'  |__         /                        \
>>>>               _,'-'    `.   `---.___|_____________             \
>>>>           .--'  -----.  | _____________________   `-. -----     |
>>>>           |    ___|  |  |                      \  ,- \          |
>>>>           |    ___|  |===========================((|) |         |
>>>>           |       |  |  | _____________________/  `- /          |
>>>>           `--._ -----'  |        _________________,-' -----     |
>>>>                `.-._   ,' __.---'   |                          /
>>>>                 |   `-.  |           \                        /
>>>>                 `.    |  |            `.                    ,'
>>>>                  |    |  |              `.                ,'
>>>>  _____,----------`-------`-.              `-._        _,-'
>>>> <___________________________)                 `------'
>>>>                    | _|  |
>>>>                    `.____|
>>>>
>>>>
>>>>
>>>> =================================
>>>>
>>>
>>>
>>
>>
>> --
>> =================================
>> Fátima Castiglione Maldonado
>> Singer, Designer, Creative, Artificial Intelligence
>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>> castiglionemaldonado@gmail.com
>>
>>                      ____
>>                    ,'_   |
>>  __________________|__|__|__
>> <_____                      )                _.------._
>>       `-----------,------.-'              ,-'          `-.
>>                  |    |  |              ,'                `.
>>                 ,'    |  |            ,'                    `.
>>                 |  _,-'  |__         /                        \
>>               _,'-'    `.   `---.___|_____________             \
>>           .--'  -----.  | _____________________   `-. -----     |
>>           |    ___|  |  |                      \  ,- \          |
>>           |    ___|  |===========================((|) |         |
>>           |       |  |  | _____________________/  `- /          |
>>           `--._ -----'  |        _________________,-' -----     |
>>                `.-._   ,' __.---'   |                          /
>>                 |   `-.  |           \                        /
>>                 `.    |  |            `.                    ,'
>>                  |    |  |              `.                ,'
>>  _____,----------`-------`-.              `-._        _,-'
>> <___________________________)                 `------'
>>                    | _|  |
>>                    `.____|
>>
>>
>>
>> =================================
>>
>
>
>
> --
> =================================
> Fátima Castiglione Maldonado
> Singer, Designer, Creative, Artificial Intelligence
> Cantante, Diseñadora, Creativa, Inteligencia Artificial
> castiglionemaldonado@gmail.com
>
>                      ____
>                    ,'_   |
>  __________________|__|__|__
> <_____                      )                _.------._
>       `-----------,------.-'              ,-'          `-.
>                  |    |  |              ,'                `.
>                 ,'    |  |            ,'                    `.
>                 |  _,-'  |__         /                        \
>               _,'-'    `.   `---.___|_____________             \
>           .--'  -----.  | _____________________   `-. -----     |
>           |    ___|  |  |                      \  ,- \          |
>           |    ___|  |===========================((|) |         |
>           |       |  |  | _____________________/  `- /          |
>           `--._ -----'  |        _________________,-' -----     |
>                `.-._   ,' __.---'   |                          /
>                 |   `-.  |           \                        /
>                 `.    |  |            `.                    ,'
>                  |    |  |              `.                ,'
>  _____,----------`-------`-.              `-._        _,-'
> <___________________________)                 `------'
>                    | _|  |
>                    `.____|
>
>
>
> =================================
>

Re: full Python API for MADlib

Posted by Fatima Castiglione Maldonado 发 <ca...@gmail.com>.
I am reading documentation:

Apache MADlib (Incubating)
Created by Gavin, last modified by Frank McQuillan on Sep 13, 2016
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=61319606

and watching videos:

Pivotal Open Source Hub - Watch!
https://www.youtube.com/channel/UCLQV6NlSaIZBGym1mEczuqQ

This should take me a few days.
If there is other relevant material please let me know.

Best,
Fatima




2016-12-20 23:00 GMT-03:00 Fatima Castiglione Maldonado 发 <
castiglionemaldonado@gmail.com>:

> Hi Frank,
>
> thanks for your kind answer. Yeah, just yesterday night I saw the user's
> survey results, plus today I read some "top ten python APIs" doc and MADlib
> was not there, so two plus two four.
>
> I would like to use the python API in a POC. My main expertise is coding,
> so would probably need some help with architecture design.
>
> Best,
> Fatima
>
>
>
>
>
>
> 2016-12-20 22:54 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:
>
>> Hi Fatima,
>>
>> Thank you for your email and offer to participate.
>>
>> A Python API for MADlib is something that a lot of people have been
>> asking for.  In the recent MADlib survey, it was one of the top requests.
>>
>> There is already an R interface
>> https://cran.r-project.org/web/packages/PivotalR/
>> which could be a model for how to approach the Python interface.
>>
>> There have been some prototyping done, but the feature is a new one for
>> Python API.
>>
>> But before we get into details, would you be able to say a little bit
>> about your planned use for the Python API.  Also, what aspect would you be
>> interested in working on? - architecture, core software development,
>> testing, etc.
>>
>> Regards,
>> Frank
>>
>> On Tue, Dec 20, 2016 at 1:28 PM, Fatima Castiglione Maldonado 发 <
>> castiglionemaldonado@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> does anybody know how to participate in the "full Python API for MADlib"
>>> effort? I would like to give a helping hand.
>>>
>>> Best,
>>> Fatima
>>>
>>>
>>>
>>> --
>>> =================================
>>> Fátima Castiglione Maldonado
>>> Singer, Designer, Creative, Artificial Intelligence
>>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>>> castiglionemaldonado@gmail.com
>>>
>>>                      ____
>>>                    ,'_   |
>>>  __________________|__|__|__
>>> <_____                      )                _.------._
>>>       `-----------,------.-'              ,-'          `-.
>>>                  |    |  |              ,'                `.
>>>                 ,'    |  |            ,'                    `.
>>>                 |  _,-'  |__         /                        \
>>>               _,'-'    `.   `---.___|_____________             \
>>>           .--'  -----.  | _____________________   `-. -----     |
>>>           |    ___|  |  |                      \  ,- \          |
>>>           |    ___|  |===========================((|) |         |
>>>           |       |  |  | _____________________/  `- /          |
>>>           `--._ -----'  |        _________________,-' -----     |
>>>                `.-._   ,' __.---'   |                          /
>>>                 |   `-.  |           \                        /
>>>                 `.    |  |            `.                    ,'
>>>                  |    |  |              `.                ,'
>>>  _____,----------`-------`-.              `-._        _,-'
>>> <___________________________)                 `------'
>>>                    | _|  |
>>>                    `.____|
>>>
>>>
>>>
>>> =================================
>>>
>>
>>
>
>
> --
> =================================
> Fátima Castiglione Maldonado
> Singer, Designer, Creative, Artificial Intelligence
> Cantante, Diseñadora, Creativa, Inteligencia Artificial
> castiglionemaldonado@gmail.com
>
>                      ____
>                    ,'_   |
>  __________________|__|__|__
> <_____                      )                _.------._
>       `-----------,------.-'              ,-'          `-.
>                  |    |  |              ,'                `.
>                 ,'    |  |            ,'                    `.
>                 |  _,-'  |__         /                        \
>               _,'-'    `.   `---.___|_____________             \
>           .--'  -----.  | _____________________   `-. -----     |
>           |    ___|  |  |                      \  ,- \          |
>           |    ___|  |===========================((|) |         |
>           |       |  |  | _____________________/  `- /          |
>           `--._ -----'  |        _________________,-' -----     |
>                `.-._   ,' __.---'   |                          /
>                 |   `-.  |           \                        /
>                 `.    |  |            `.                    ,'
>                  |    |  |              `.                ,'
>  _____,----------`-------`-.              `-._        _,-'
> <___________________________)                 `------'
>                    | _|  |
>                    `.____|
>
>
>
> =================================
>



-- 
=================================
Fátima Castiglione Maldonado
Singer, Designer, Creative, Artificial Intelligence
Cantante, Diseñadora, Creativa, Inteligencia Artificial
castiglionemaldonado@gmail.com

                     ____
                   ,'_   |
 __________________|__|__|__
<_____                      )                _.------._
      `-----------,------.-'              ,-'          `-.
                 |    |  |              ,'                `.
                ,'    |  |            ,'                    `.
                |  _,-'  |__         /                        \
              _,'-'    `.   `---.___|_____________             \
          .--'  -----.  | _____________________   `-. -----     |
          |    ___|  |  |                      \  ,- \          |
          |    ___|  |===========================((|) |         |
          |       |  |  | _____________________/  `- /          |
          `--._ -----'  |        _________________,-' -----     |
               `.-._   ,' __.---'   |                          /
                |   `-.  |           \                        /
                `.    |  |            `.                    ,'
                 |    |  |              `.                ,'
 _____,----------`-------`-.              `-._        _,-'
<___________________________)                 `------'
                   | _|  |
                   `.____|



=================================

Re: full Python API for MADlib

Posted by Fatima Castiglione Maldonado 发 <ca...@gmail.com>.
Hi Frank,

thanks for your kind answer. Yeah, just yesterday night I saw the user's
survey results, plus today I read some "top ten python APIs" doc and MADlib
was not there, so two plus two four.

I would like to use the python API in a POC. My main expertise is coding,
so would probably need some help with architecture design.

Best,
Fatima






2016-12-20 22:54 GMT-03:00 Frank McQuillan <fm...@pivotal.io>:

> Hi Fatima,
>
> Thank you for your email and offer to participate.
>
> A Python API for MADlib is something that a lot of people have been asking
> for.  In the recent MADlib survey, it was one of the top requests.
>
> There is already an R interface
> https://cran.r-project.org/web/packages/PivotalR/
> which could be a model for how to approach the Python interface.
>
> There have been some prototyping done, but the feature is a new one for
> Python API.
>
> But before we get into details, would you be able to say a little bit
> about your planned use for the Python API.  Also, what aspect would you be
> interested in working on? - architecture, core software development,
> testing, etc.
>
> Regards,
> Frank
>
> On Tue, Dec 20, 2016 at 1:28 PM, Fatima Castiglione Maldonado 发 <
> castiglionemaldonado@gmail.com> wrote:
>
>> Hi,
>>
>> does anybody know how to participate in the "full Python API for MADlib"
>> effort? I would like to give a helping hand.
>>
>> Best,
>> Fatima
>>
>>
>>
>> --
>> =================================
>> Fátima Castiglione Maldonado
>> Singer, Designer, Creative, Artificial Intelligence
>> Cantante, Diseñadora, Creativa, Inteligencia Artificial
>> castiglionemaldonado@gmail.com
>>
>>                      ____
>>                    ,'_   |
>>  __________________|__|__|__
>> <_____                      )                _.------._
>>       `-----------,------.-'              ,-'          `-.
>>                  |    |  |              ,'                `.
>>                 ,'    |  |            ,'                    `.
>>                 |  _,-'  |__         /                        \
>>               _,'-'    `.   `---.___|_____________             \
>>           .--'  -----.  | _____________________   `-. -----     |
>>           |    ___|  |  |                      \  ,- \          |
>>           |    ___|  |===========================((|) |         |
>>           |       |  |  | _____________________/  `- /          |
>>           `--._ -----'  |        _________________,-' -----     |
>>                `.-._   ,' __.---'   |                          /
>>                 |   `-.  |           \                        /
>>                 `.    |  |            `.                    ,'
>>                  |    |  |              `.                ,'
>>  _____,----------`-------`-.              `-._        _,-'
>> <___________________________)                 `------'
>>                    | _|  |
>>                    `.____|
>>
>>
>>
>> =================================
>>
>
>


-- 
=================================
Fátima Castiglione Maldonado
Singer, Designer, Creative, Artificial Intelligence
Cantante, Diseñadora, Creativa, Inteligencia Artificial
castiglionemaldonado@gmail.com

                     ____
                   ,'_   |
 __________________|__|__|__
<_____                      )                _.------._
      `-----------,------.-'              ,-'          `-.
                 |    |  |              ,'                `.
                ,'    |  |            ,'                    `.
                |  _,-'  |__         /                        \
              _,'-'    `.   `---.___|_____________             \
          .--'  -----.  | _____________________   `-. -----     |
          |    ___|  |  |                      \  ,- \          |
          |    ___|  |===========================((|) |         |
          |       |  |  | _____________________/  `- /          |
          `--._ -----'  |        _________________,-' -----     |
               `.-._   ,' __.---'   |                          /
                |   `-.  |           \                        /
                `.    |  |            `.                    ,'
                 |    |  |              `.                ,'
 _____,----------`-------`-.              `-._        _,-'
<___________________________)                 `------'
                   | _|  |
                   `.____|



=================================

Re: full Python API for MADlib

Posted by Frank McQuillan <fm...@pivotal.io>.
Hi Fatima,

Thank you for your email and offer to participate.

A Python API for MADlib is something that a lot of people have been asking
for.  In the recent MADlib survey, it was one of the top requests.

There is already an R interface
https://cran.r-project.org/web/packages/PivotalR/
which could be a model for how to approach the Python interface.

There have been some prototyping done, but the feature is a new one for
Python API.

But before we get into details, would you be able to say a little bit about
your planned use for the Python API.  Also, what aspect would you be
interested in working on? - architecture, core software development,
testing, etc.

Regards,
Frank

On Tue, Dec 20, 2016 at 1:28 PM, Fatima Castiglione Maldonado 发 <
castiglionemaldonado@gmail.com> wrote:

> Hi,
>
> does anybody know how to participate in the "full Python API for MADlib"
> effort? I would like to give a helping hand.
>
> Best,
> Fatima
>
>
>
> --
> =================================
> Fátima Castiglione Maldonado
> Singer, Designer, Creative, Artificial Intelligence
> Cantante, Diseñadora, Creativa, Inteligencia Artificial
> castiglionemaldonado@gmail.com
>
>                      ____
>                    ,'_   |
>  __________________|__|__|__
> <_____                      )                _.------._
>       `-----------,------.-'              ,-'          `-.
>                  |    |  |              ,'                `.
>                 ,'    |  |            ,'                    `.
>                 |  _,-'  |__         /                        \
>               _,'-'    `.   `---.___|_____________             \
>           .--'  -----.  | _____________________   `-. -----     |
>           |    ___|  |  |                      \  ,- \          |
>           |    ___|  |===========================((|) |         |
>           |       |  |  | _____________________/  `- /          |
>           `--._ -----'  |        _________________,-' -----     |
>                `.-._   ,' __.---'   |                          /
>                 |   `-.  |           \                        /
>                 `.    |  |            `.                    ,'
>                  |    |  |              `.                ,'
>  _____,----------`-------`-.              `-._        _,-'
> <___________________________)                 `------'
>                    | _|  |
>                    `.____|
>
>
>
> =================================
>