Last active
August 5, 2019 16:46
-
-
Save marty1885/e7f5eacb17a1c328cf0f4ae2ed9ea648 to your computer and use it in GitHub Desktop.
Etaler_API_example.ipynb
cyberslam
commented
Aug 5, 2019
via email
Hi Lior, Thank you Lior for your detailed note on how to run ROOT inside DOCKER. Gosh, after all these, there's still a chance of not able to run ETALER's latest notebook! I will just wait for the PYTHON wrapper then. @martin, I don't need to have ETALER to produce exactly the same result, as long as it can detect anamorly, that will be useful. When you got a moment: have a look at EOGMANEO or OGMANEO2 in Github. That a C++ online learning which could rival to HTM.CORE and ETALER.Samuel rom my Samsung Galaxy smartphone.
-------- Original message --------From: Lior Assouline <[email protected]> Date: 2019-08-04 11:38 p.m. (GMT-08:00) To: marty1885 <[email protected]> Cc: cyberslam <[email protected]>, Comment <[email protected]> Subject: Re: marty1885/Etaler_API_example.ipynb Hi,
Since I don't know the version of gcc you're having in your linux box, I
suggest you use a docker and build Etaler as well as Root inside. For me,
it's the only way I managed to get it done since my Debian is way behind
any modern C++ version ..
Few hints:
1. Build the docker image supplied in Etaler (there is a readme inside
"docker" directory" - once that's done, open a shell inside that image and
clone Etaler. You will be able to compile Etaler inside since all
dependencies and gcc versions are the correct ones...
2. Still inside that Etaler container:
2.1 install python2.7 and python2.7-dev using apt
2.2 download cern Root source files (I used the latest root-6.18.00 version
https://root.cern/download/root_v6.18.00.Linux-ubuntu18-x86_64-gcc7.4.tar.gz )
- compile it using the recommended way. Pay attention to enable C++17
cmake -Dcxx17=ON -DPYTHON_EXECUTABLE=/usr/bin/python2.7 ..
2.3 once compilation done, there is a script inside root for correct
environment variables - for example in my docker container:
root@10442ee48dbb:/workspaces# cd root-6.18.00/
root@10442ee48dbb:/workspaces/root-6.18.00# source ./build/bin/thisroot.sh
manpath: can't set the locale; make sure $LC_* and $LANG are correct
root@10442ee48dbb:/workspaces/root-6.18.00#
now you can run root by just typing root
While being able to run root and enjoying the C++ REPL framework that
Martin uses, I still wasn't able to run root with --notepad inside
docker.. When I will succeed I will update my fork and PR Martin ...
Lior
On Mon, Aug 5, 2019 at 4:27 AM Martin Chang ***@***.***> wrote:
your suggested command but got error:
ROOT is not installed by default on Ubuntu based systems. Nor is it is the
official repository. I installed it via Arch Linux's repo (I run Arch)
sudo pamcan -S root
You'll have to build ROOT yourself if you are on Ubuntu/Debian. @alior101
<https://github.com/alior101>, have you got a minute? I'm not sure how to
build ROOT on UbuntuDebian.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://gist.github.com/e7f5eacb17a1c328cf0f4ae2ed9ea648?email_source=notifications&email_token=AAXET3EPOPVMAQHZOZJ7OMLQC56ZTA5CNFSM4IJETRZ2YY3PNVWWK3TUL52HS4DFVNDWS43UINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAFWPLQ#gistcomment-2989752>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAXET3FQTDUJQZMSMSXW36LQC56ZTANCNFSM4IJETRZQ>
.
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://gist.github.com/e7f5eacb17a1c328cf0f4ae2ed9ea648?email_source=notifications\u0026email_token=ACGVJNSE5RTP2FJWE4IEDVDQC7DF3A5CNFSM4IJETRZ2YY3PNVWWK3TUL52HS4DFVNDWS43UINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAFWPUA#gistcomment-2989888",
"url": "https://gist.github.com/e7f5eacb17a1c328cf0f4ae2ed9ea648?email_source=notifications\u0026email_token=ACGVJNSE5RTP2FJWE4IEDVDQC7DF3A5CNFSM4IJETRZ2YY3PNVWWK3TUL52HS4DFVNDWS43UINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAFWPUA#gistcomment-2989888",
"name": "View Gist"
},
"description": "View this Gist on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
@cyberslam You might want to check your email settings and edit your post. The format os way off and other data is leaking trough.
Hi Martin, Thanks for the alert: I was using my Samsung/ Android phone and didn't realize that cc on "comment" may have included all past emails. Anyway, I am still waiting for your Python Wrapper for the ETALER notebook someday. Keep up the good work Martin. With your talent - there are many future revenues opened to you once you graduate. I am an old time engineer and doing programming as side business because I couldn't at my younger days! ;)SamuelSent from my Samsung Galaxy smartphone.
-------- Original message --------From: Martin Chang <[email protected]> Date: 2019-08-05 9:25 a.m. (GMT-08:00) To: marty1885 <[email protected]> Cc: cyberslam <[email protected]>, Comment <[email protected]> Subject: Re: marty1885/Etaler_API_example.ipynb @cyberaam You might want to check your email settings and edit your post. The format os way off and other data is leaking trough.
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://gist.github.com/e7f5eacb17a1c328cf0f4ae2ed9ea648?email_source=notifications\u0026email_token=ACGVJNV33IVDDUMGRZAH6PTQDBH7XA5CNFSM4IJETRZ2YY3PNVWWK3TUL52HS4DFVNDWS43UINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAFWQS6#gistcomment-2990383",
"url": "https://gist.github.com/e7f5eacb17a1c328cf0f4ae2ed9ea648?email_source=notifications\u0026email_token=ACGVJNV33IVDDUMGRZAH6PTQDBH7XA5CNFSM4IJETRZ2YY3PNVWWK3TUL52HS4DFVNDWS43UINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAFWQS6#gistcomment-2990383",
"name": "View Gist"
},
"description": "View this Gist on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment