trying to improve my knn algorithm

2020-07-01 Thread hunter . hammond . dev
This is a knn algorithm for articles that I have gotten. Then determines which category it belongs to. I am not getting very good results :/ k = 23 training_folder = './data/training/' minn_folder = training_folder + 'Minnesota/' health_folder = training_folder + 'Health/' def remove_punctuatio

python and ARM memory types

2015-10-04 Thread voxner . dev
I am running python in the ARM architecture (arm64 to be exact). The CPU Arch I use has clusters (2 big cores in a cluster and 2 small cores in another cluster think : A57, A53). It's going to be run in Ubuntu 14.04 I am trying to run traffic that stresses the interconnects of the clusters. One

Django Calendar

2015-09-06 Thread cmeek . dev
Does anyone know of an easy to follow guide/tutorial to follow. I am trying to implement a calendar into my app that works as a job rota for employees. I have tried using django-scheduler and creating htmlcalendar but can not get either method to work -- https://mail.python.org/mailman/listinfo

Online offline Python apps

2015-04-22 Thread cmeek . dev
Is there a best practice, tutorials, examples out there that demenstrates the best ways to create an offline mode of a python app that gets and sends its data to a remote database. I have tried creating my own via json API to mysql and using sqlalchemy SQLite and mysql. Everything I seem to come

Minimal Python Build in Docker Container

2014-08-10 Thread sprin . dev
Hello, I wanted to share what I've learned about making a reasonably minimal Docker image containing CPython built from source. Motivation: Many popular distros are not able to provide packaged builds of the desired Python version. Operators of co-tenanted Python services have struggled since

GeoBases V5 beta release

2013-03-02 Thread geobases . dev
Hello! We just released the new beta version of GeoBases. For those who do not know GeoBases, this project provides tools to play with geographical data. It also works with non-geographical data, except for map visualizations :). There are embedded data sources in the project, but you can eas

I'm looking for a Junior level Django job (telecommute)

2013-01-07 Thread P Dev
I'm looking for a Junior level Django job (telecommute) About me: - less than year of experience with Python/Django - Intermediate knowledge of Python/Django - Experience with Linux - Experience with Django ORM - Passion for developing high-quality software and Python language - I am able to us

Client Needs at Network Engineer at Germantown,MD

2012-10-16 Thread ram dev
. • Ability to handle multi-tasking and frequently changing priorities. • Cisco Certifications a plus • Familiarity with ITIL processes a plus Thanks, Ram Dev Recruiter Tech-Net Inc. Tel: 916-458-4390 Ext 102 Email: r...@tech-netinc.com Ym: vramde...@yahoo.com URL: www.tech

Need Data Architect/Technical Business Analyst For 6months at San Rafael, CA

2012-10-03 Thread ram dev
• Understanding of Clients Customer, Product, Contract, and Entitlement data/structures a plus Thanks, Ram Dev Recruiter Tech-Net Inc. Tel: 916-458-4390 Ext 102 Email: r...@tech-netinc.com -- http://mail.python.org/mailman/listinfo/python-list

Client Needs Sr. Java Developer, Sacramento, CA

2012-09-27 Thread ram dev
: • Email: • Availability: • Visa Status: • Relocation to : • Last 4-digits of SSN: • References: • Ready for Telephonic discussion during office hours Thanks, Ram Dev Recruiter Tech-Net Inc. Tel: 916-458-4390 Ext 102 Email

Client Needs---QA Manual Tester at Sacramento, CA

2012-09-21 Thread ram dev
review and develop unit test if needed. Environment: JBoss, Groovy and Grails, Oracle 11g, SQL, XNL, Actuate, Reporting Services, SharePoint, Quality Center, Quick Test Pro, Load Runner, SOA Test, Windows, Linux. Thanks, Ram Dev Recruiter Tech-Net Inc. Tel: 916

Project

2012-03-07 Thread Dev Dixit
Please, tell me how to develop project on "how people intract with social networing sites". -- http://mail.python.org/mailman/listinfo/python-list

MemoryError vs malloc error

2011-07-15 Thread Amit Dev
Hi, I've a long running python process (running on freebsd). Sometimes when it uses too much memory it core dumps. I would've expected it to raise MemoryError. Normally, when would a python process raise MemoryError and when would it fail with malloc error and cores? This is happening in pure pyth

Re: Memory Usage of Strings

2011-03-16 Thread Amit Dev
;|^USER\\>' amdev 6906 0.0 0.1 3508 1424 p0 R+9:57PM 0:00.00 egrep \\<6903\\>|^USER\\> (sh) Regards, Amit On Thu, Mar 17, 2011 at 3:21 AM, Dan Stromberg wrote: > > On Wed, Mar 16, 2011 at 8:38 AM, Amit Dev wrote: >> >> I'm observing a strange m

Re: Memory Usage of Strings

2011-03-16 Thread Amit Dev
sum(map(len, l)) => 8200 for 1st case and 9100 for 2nd case. Roughly 100MB as I mentioned. On Wed, Mar 16, 2011 at 11:21 PM, John Gordon wrote: > In Amit Dev > writes: > >> I'm observing a strange memory usage pattern with strings. Consider >> the followi

Memory Usage of Strings

2011-03-16 Thread Amit Dev
I'm observing a strange memory usage pattern with strings. Consider the following session. Idea is to create a list which holds some strings so that cumulative characters in the list is 100MB. >>> l = [] >>> for i in xrange(10): ... l.append(str(i) * (1000/len(str(i This uses around 100M

Reference Cycles with instance method

2011-03-08 Thread Amit Dev
Simple question. If I have the following code: class A: def __init__(self, s): self.s = s self.m2 = m1 def m1(self): pass if __name__ == '__main__': a = A("ads") a.m1() a = None The object is not garbage collected, since there appears to be a cycle (b

Getting Linux partition info programmatically

2008-09-12 Thread python dev
Hello everyone, I am trying to get a list of all the partitions (along with their respective file system types) listed in the /media directory. Does anybody know if there is a way to do this using Python, or do I have to get this information by parsing the output of a Linux command? Thanks in ad

comp.lang.python

2008-06-05 Thread dev
www.freeservice6.blogspot.com -- http://mail.python.org/mailman/listinfo/python-list

Re: pwdmodule.c

2007-09-12 Thread hvendelbo . dev
> > http://mail.python.org/pipermail/python-dev/2007-July/073912.html Thanks. I tried his files against trunk and it didn't work. -- http://mail.python.org/mailman/listinfo/python-list

pwdmodule.c

2007-09-12 Thread hvendelbo . dev
I am trying to compile Python with cmake, but perhaps there are a few dependencies that have not been corrected for Windows compilation. Is pwdmodule.c supposed to be excluded for windows compilation? Are the makefiles the place to look to deduct which files are meant for which platforms? Henrik

Your message to Reflex-dev awaits moderator approval

2007-09-05 Thread reflex-dev-bounces
Your mail to 'Reflex-dev' with the subject Test Is being held until the list moderator can review it for approval. The reason it is being held: Post by non-member to a members-only list Either the message will get posted to the list, or you will receive notification of the m

Re: Hide the python-script from user

2007-04-06 Thread ts-dev
On Apr 6, 3:19 pm, hlubenow <[EMAIL PROTECTED]> wrote: > recently there was a thread about hiding the python-script from the user. > The OP could use Interesting - thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: Prevent Modification of Script?

2007-04-04 Thread ts-dev
On Apr 4, 6:10 pm, Michael Ekstrand <[EMAIL PROTECTED]> wrote: > One significant factor: are you worried about other > users on your systems (or other users who share systems with you under a > third party's control), or are you worried about what people will do on > their own systems? Michael, Be

Prevent Modification of Script?

2007-04-04 Thread ts-dev
Is it possible to prevent modification of a python file once its been deployed? File permissions of the OS could be used..but that doesn't seem very secure. The root of my question is verifying the integrity of the application and the scripts being run. Is this possible, if so, how? -- http://m

Your message to plucker-dev awaits moderator approval

2004-12-22 Thread plucker-dev-admin
Your mail to 'plucker-dev' with the subject Delivery ([EMAIL PROTECTED]) Is being held until the list moderator can review it for approval. The reason it is being held: Post by non-member to a members-only list Either the message will get posted to the list, or you wi