tag:blogger.com,1999:blog-840127493134277990.comments2023-09-23T10:51:06.332-03:00Python in ScienceAnonymoushttp://www.blogger.com/profile/02885581033966597420noreply@blogger.comBlogger272125tag:blogger.com,1999:blog-840127493134277990.post-31941788807179577162012-06-07T05:58:29.118-03:002012-06-07T05:58:29.118-03:00I know it's been a while since you wrote this ...I know it's been a while since you wrote this post, but do you know a way to generate TiKZ/PGF plots from within Python?Thomas Arildsenhttps://www.blogger.com/profile/00461210615375168098noreply@blogger.comtag:blogger.com,1999:blog-840127493134277990.post-8549705026046967672012-05-01T17:19:40.994-03:002012-05-01T17:19:40.994-03:00Hi,
Did you test nltk, pypy1.8 under eclipse? I g...Hi,<br /><br />Did you test nltk, pypy1.8 under eclipse? I get a module error for nltk. I am trying to fix it.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-840127493134277990.post-63705352146862319452012-05-01T17:18:18.053-03:002012-05-01T17:18:18.053-03:00Hi,
I was trying to import nltk under pypy interp...Hi,<br /><br />I was trying to import nltk under pypy interpreter in Eclipse. It gives module error. Did you test it?<br /><br />--Taraka.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-840127493134277990.post-61110158672587382122012-04-24T15:09:19.109-03:002012-04-24T15:09:19.109-03:00I've just discovered the c-to-python command i...I've just discovered the c-to-python command in leo programmer's editor. Documentation is scarce, there is a learning curve, and of course the result is not usable out of the box. But it seems better than the other options mentioned in this post, so here it is the link http://webpages.charter.net/edreamleo/front.htmlDavidehttps://www.blogger.com/profile/11704832225616294007noreply@blogger.comtag:blogger.com,1999:blog-840127493134277990.post-14457297104829421332012-04-01T16:41:41.280-03:002012-04-01T16:41:41.280-03:00If you let us know what features from NumPy are mi...If you let us know what features from NumPy are missing, we can try to prioritize them.Alexhttps://www.blogger.com/profile/14054821112394577330noreply@blogger.comtag:blogger.com,1999:blog-840127493134277990.post-68102244805983618542012-04-01T12:59:23.575-03:002012-04-01T12:59:23.575-03:00NLTK is tested under pypy: https://github.com/nltk...NLTK is tested under pypy: https://github.com/nltk/nltk/blob/master/tox.ini<br /><br />It is mostly compatible, but the parts that rely on numpy doesn't work.Mikhail Korobovhttps://www.blogger.com/profile/03931103648429594820noreply@blogger.comtag:blogger.com,1999:blog-840127493134277990.post-91270859540804175692011-12-16T07:00:45.576-02:002011-12-16T07:00:45.576-02:00If you have a foo.js and foo.gif in D:\test\js
Yo...If you have a foo.js and foo.gif in D:\test\js<br /><br />You may try<br />D:\test\js<br /><br />and than you can use<br /><br />folder\foo.js and folder\foo.gif in your code.dirohttps://www.blogger.com/profile/13292247339970268280noreply@blogger.comtag:blogger.com,1999:blog-840127493134277990.post-90820836823050374782011-11-30T12:14:10.325-02:002011-11-30T12:14:10.325-02:00I forgot the URL of scholarScape :
http://www.gith...I forgot the URL of scholarScape :<br />http://www.github.com/medialab/scholarScapeAnonymoushttps://www.blogger.com/profile/00075785516718898601noreply@blogger.comtag:blogger.com,1999:blog-840127493134277990.post-35224343913697231392011-11-30T12:13:19.958-02:002011-11-30T12:13:19.958-02:00Hello,
I have done a similar tool (scholarScape) ...Hello,<br /><br />I have done a similar tool (scholarScape) to crawl Google Scholar.<br />Python + Scrapy + MongoDB<br />It also checks for duplicates and generate a graph with cited-by relationships.<br />It think you'll be very interested.<br />If you have a Ubuntu machine, the install process is very straightforward.<br />scholarScape at the end is a server serving a Web interface to startAnonymoushttps://www.blogger.com/profile/00075785516718898601noreply@blogger.comtag:blogger.com,1999:blog-840127493134277990.post-1515820953802363932011-11-13T13:16:38.652-02:002011-11-13T13:16:38.652-02:00Professor,
Gostaria de saber se o senhor será o r...Professor,<br /><br />Gostaria de saber se o senhor será o responsável pelo curso de Introdução à Análise matemática no verão da EMAP-FGV. Em caso afirmativo estou interessado na duração do curso e em seu conteúdo programático. <br /><br />Desde já agradeço,<br /><br />Pedro Feitosa de Lucena<br />Graduando em Economia, UnB<br /><br />e-mail: pedroflucena@gmail.comPedro Feitosahttps://www.blogger.com/profile/00099783368192798099noreply@blogger.comtag:blogger.com,1999:blog-840127493134277990.post-66711516209738252242011-11-11T11:16:36.673-02:002011-11-11T11:16:36.673-02:00I'd like to refer you to Mendeley, a reference...I'd like to refer you to Mendeley, a reference manager software. They an OpenAPI:<br />http://dev.mendeley.com/<br />which means you can use their database of publications.yoavramhttps://www.blogger.com/profile/03606537036700842043noreply@blogger.comtag:blogger.com,1999:blog-840127493134277990.post-33272188224680443482011-10-11T00:13:00.146-03:002011-10-11T00:13:00.146-03:00Great Work Flavio! You should take a look at gensi...Great Work Flavio! You should take a look at gensim project, it's a great project for computing the similarity between documents. By the way, a good exercise for clustering documents is the tutorial provided by the toolkit scikit-learn. I met the core developers of this project and they are really engaged in this open-source project : http://scikit-learn.sourceforge.net/auto_examples/marcelcaraciolohttps://www.blogger.com/profile/03000508520057818811noreply@blogger.comtag:blogger.com,1999:blog-840127493134277990.post-75395974103389492092011-10-10T16:21:00.417-03:002011-10-10T16:21:00.417-03:00@Jonathan: Thanks for the comments, I took a look ...@Jonathan: Thanks for the comments, I took a look at your blog found it very informative. We are trying to adopt some method of document clustering as well but have not decided on which similarity measure to use. tf_idf is appealing and is already implemented in NLTK.TextCollection class.Anonymoushttps://www.blogger.com/profile/02885581033966597420noreply@blogger.comtag:blogger.com,1999:blog-840127493134277990.post-82517271414720251472011-10-10T15:50:28.790-03:002011-10-10T15:50:28.790-03:00I've recently been doing something similar. I...I've recently been doing something similar. I've recently completed a PhD during which I've collected hundreds - thousands of PDF documents. I thought it would be useful to have an automated means to group related documents. I gave a talk on it at a recent python northwest group meeting (http://jonathanstreet.com/blog/full-text-visualisation/) and have been working on it since. I&Jonathan Streethttps://www.blogger.com/profile/12689192189534830111noreply@blogger.comtag:blogger.com,1999:blog-840127493134277990.post-7776763008754043302011-10-03T14:59:33.667-03:002011-10-03T14:59:33.667-03:00I like your post; it definitely beats looking a hi...I like your post; it definitely beats looking a histogram as a list of numbers!<br /><br />I ran into a compatibility problem with older versions of python (2.6 for me but should manifest in anything without future division). The line <br />bars = self.h[0]/max(self.h[0])*height<br />could be changed to <br />bars = self.h[0]*height/max(self.h[0])<br />(i.e. do the multiplication before the Mark Hamiltonhttps://www.blogger.com/profile/00711247809180372698noreply@blogger.comtag:blogger.com,1999:blog-840127493134277990.post-32135071326486175452011-05-01T13:23:25.404-03:002011-05-01T13:23:25.404-03:00I want to know How can I close a graphics after th...I want to know How can I close a graphics after that show, because i have many graphics and i want to put one over other for see a effect of a movie or a simulation, i am using visual pythonisabelhttps://www.blogger.com/profile/00599625465098657699noreply@blogger.comtag:blogger.com,1999:blog-840127493134277990.post-15562516639628716832011-05-01T13:20:19.576-03:002011-05-01T13:20:19.576-03:00hello, i want to know how can i do if i want to do...hello, i want to know how can i do if i want to do a simulation with vpython, i need mor information baout thatisabelhttps://www.blogger.com/profile/00599625465098657699noreply@blogger.comtag:blogger.com,1999:blog-840127493134277990.post-79667649985370914342011-03-29T17:39:14.734-03:002011-03-29T17:39:14.734-03:00Could you be specific about which version or versi...Could you be specific about which version or versions of the GPL you intend? Thanks!Matthew Millerhttps://www.blogger.com/profile/10657067470589332629noreply@blogger.comtag:blogger.com,1999:blog-840127493134277990.post-23577447898987868732011-03-27T22:32:22.373-03:002011-03-27T22:32:22.373-03:00That is great! Usually when I want to start lots o...That is great! Usually when I want to start lots of processes to analyse some data I use something like xargs, or write bash scripts... I always thought of either multiple threads or forking when thinking of "in-program" solutions. But this allows us to easily create producer/consumer processes! That is great. How does this IPC work anyway?...Nicolauhttps://www.blogger.com/profile/09316830278881493792noreply@blogger.comtag:blogger.com,1999:blog-840127493134277990.post-28933847742402442742011-03-13T12:09:23.636-03:002011-03-13T12:09:23.636-03:00Don't you need locking for incrementing the gl...Don't you need locking for incrementing the global counter?<br /><br />Technically two threads could try to update it correct?jayhttps://www.blogger.com/profile/07156677304980651141noreply@blogger.comtag:blogger.com,1999:blog-840127493134277990.post-72264479193296145942011-03-09T04:17:42.587-03:002011-03-09T04:17:42.587-03:00Hi there,
Would mind explaining how you arrived a...Hi there,<br /><br />Would mind explaining how you arrived at the tmat?<br /><br />I see that it has to do with the reaction equations but cant quite get it easily.. .<br /><br /><br />u made my work much easier btw, thanks :)<br />please do reply..<br />-bhanuబీపీhttps://www.blogger.com/profile/12509792741212545450noreply@blogger.comtag:blogger.com,1999:blog-840127493134277990.post-86321421147498727112011-01-26T15:30:31.941-02:002011-01-26T15:30:31.941-02:00@usagi
You said:
"Pool already has a method...@usagi<br /><br />You said:<br /><br />"Pool already has a method called map_async, which does what you want. But to use that, the arguments to your function must be available as an iterable structure, which is possible for this simple example, but not in many of my use cases."<br /><br />But one can easily back multiple arguments into a single argument, say by using a dict.Anonymoushttps://www.blogger.com/profile/11008421366355197801noreply@blogger.comtag:blogger.com,1999:blog-840127493134277990.post-81386308267023369412011-01-14T10:00:44.807-02:002011-01-14T10:00:44.807-02:00Is thera any news about what is happening with the...Is thera any news about what is happening with the violin inclusion<br /><br />http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg13532.htmlStjórnhttps://www.blogger.com/profile/08820153329140062705noreply@blogger.comtag:blogger.com,1999:blog-840127493134277990.post-63997980657170711352011-01-13T14:31:49.367-02:002011-01-13T14:31:49.367-02:00I would disagree on SQLAlchemy. I am doing some co...I would disagree on SQLAlchemy. I am doing some comparative genomics research and after profiling the API I have been using, it appears that SQLAlchemy is the issue with runtime.<br /><br />I can do the same work using Perl DBI + DBD::mysql in 2 hours in comparison to 8 hours with SQLAlchemy :-(Anonymoushttps://www.blogger.com/profile/02479138636362106239noreply@blogger.comtag:blogger.com,1999:blog-840127493134277990.post-89994581618424534312010-12-29T09:16:08.728-02:002010-12-29T09:16:08.728-02:00@Alex: Very interesting result Alex, Thanks!
Anyo...@Alex: Very interesting result Alex, Thanks!<br /><br />Anyone volunteers to improve the pure python version to use GSL via ctypes?Anonymoushttps://www.blogger.com/profile/02885581033966597420noreply@blogger.com