well, if your one of us crazy people who get all excited about research result its fun
Told my wife I'm was taking today off just to have some fun and now she is just shaking her head going "I thought today you were taking a break from research"
my most positive coding experience from the past two weeks was when I had to improve a post-processing script of mine with a new feature, and realized I could massively (ab)use numpy.einsum for it
I'd like to get back into ANN and deep learning research but currently my research has leaned more in the regression, decision trees, and random forests
eh, can only do what the data fits
of course, I only know enough physics to get me in trouble :)
my research is mostly text classification (SVM and Naive) and dealing with quantitative time series data (standard mathematical operations, kNN, and bunch of regression)
My robotic minion Terry won't enter any chat rooms* no matter how many GETs I send to http://chat.stackoverflow.com/rooms/<number> on his behalf.
(*not counting the sandbox, which I joined manually while logged in as him in Firefox eight hours ago. But I ain't got time to park him places. I need a strong independent bot.)
I looked at ChatExchange a while back, and curiously their "join room" method merely posts to http://chat.stackoverflow.com/chats/<number>/events which seemingly does nothing other than fetch the last hundred messages for that room. at least, that's what it does when I try it.
@JGreenwell Robots earn last names through good deeds. Once Terry automates a hundred hours' worth of grunt administrative work for us, he can choose for himself.
Although actually his original namesake is Terry Kiser, for elaborate reasons.
...how does this question have 7 upvotes? It is just give me code
@tristan okay, I've been going through nlp and nltk tags - and now I get what you mean by most people are just processing text with regex and word counts (and calling it NLP)...its bad
Hey guys, I'm on Windows and installing Python 3.6, is there a good reason not to add it to PATH/set env. vars? I notice the checkbox is not ticked by default
user559633
@JGreenwell yep. i've seen a lot of regular my_string.split(" ") + regex
user559633
i mean, nltk uses a lot of regex, but it's not as naive
I would assume stable versions are disabled due to virtual environments so there should be no problem if your not using one of those
yeah, according to the 3.3 docs it has been disabled for a while but all it does (when enabled) is add it automatically (instead of you having to manually install it)
ok this is driving me insane. I have a random string I made: classes = "fdafasfas CHI110 dadfsafs CHI120 kj" and I search this string with the linesearchObj = re.search(r'CHI[0-9]{3}\b', classes, re.M|re.I)
if searchObj:
the string is fdafasfas CHI110 dadfsafs CHI120 kj
and i set up an object for search with linesearchObj = re.search(r'CHI[0-9]{3}\b', classes, re.M|re.I)
but for some reason searchObj.group(0) only returns CHI110 instead of the expected output of CHI110 CHI120 when I try searchObj.group(1) I am informed that this group doesn't exist. Am I making an obvious mistake or what?
hey, another question. I want to be able to get all continuous capital letters between the triple letter/triple #. For instance, if I had a string like, "CHI110:THIS COURSE IS ABOUT CHINESE blah blah blah" I would want it to return "THIS COURSE IS ABOUT CHINESE" how would I go about doing that
ok so i've figured out that i can use re.findall(r'[A-Z]{3}[0-9]{3}:+([A-Z]*)',classes, re.X) on that string, but for some reason it only returns the string "THIS" instead of the desired "THIS COURSE IS ABOUT CHINESE" how can I get it to do the capital letters search while ignoring whitespace?
@xxmbabanexx if you only want a single match or want grouping use match or search (findall for a list of matches): such as linesearchObj = re.search(r'[A-Z]{3}[0-9]{3}:+([A-Z].*?)\s[a-z].*',classes)
Hello guys, I am running a bot on bitfinex.com and creating ticker's Database(file_name.db) I am using sqlalchemy API and sqlite Database engine. now I want to import that file that is going to update at every second(file_name.db) in another program/another file but not able to find any DB-File-import/connect function in SQLAlchemy, Is there any other way I can work around?
In python there are three topics named Exceptions. I consider this as a bug that many topics can have the exact same name.
Also, there are even more topics: Exception handling and Catching and raising exceptions and so on. We need some kind of quick merge/close as a duplicate since there is not ...
if request.method == "PUT":
qd = QueryDict(request.body)
print request.body
myDict = dict(qd.iterlists())
print str(myDict)
i have writen this code in my middleware and getting below out put
Content-Disposition: form-data; name="id_list"
3,4,5
------WebKi...
yes time.time() was my first choice as well, I think I need to write function that will find closet value in the array because actual precision seems to be difficult to achieve @AndyK
I really don't understand how everyone at SE can think these Docs are amazing. Do they have some leverage on their staff or something? Is it blackmail? Or maybe brainwashing?
@AnttiHaapala I just saw that the remarks section is serving as a description section currently. But I don't see the logic there. I mean why would you put it after examples?
Yep, we're monitoring all the thresholds. Right now, due to the overall influx of people, I hesitate to up the review thresholds. Having proposed changes languish in review due to a lack of reviewers isn't a great alternative. — Adam Lear ♦12 hours ago
“We have to many people working on it because we decided to promote this beta everywhere. And now, since everything is going down under, we don’t want to keep completely inexperienced people from it until we have a clear baseline set up by experienced users.”
blocking a ton of users out of being able to contribute effectively to build up our knowledge base is only going to […] lead to a poor experience” – So flooding the site with users who didn’t use Q/A to prove that they are actually experienced in a topic to build a knowledge base is completely intentional? From what I am seeing, almost every “veteran user” who has been trying to make this site great is annoyed at the poor experienced and low quality of content that is being produced on docs. You cannot really compare this to a normal site launch where a new community is forming. — poke20 secs ago
I see that there people posting examples in Python tag being blatantly plagiarized from different sources (books and blogs) and posted without proper attribution. Even with proper attribution I am not sure whether this is an effort that should be highly rewarded. Now that only so many review appr...
Kiwi is a rising Python module, Electron is a popularity rising Node package, and Cordova is a popular and sophisticated application built for developing multi-platform applications and software. It's a good idea to take a good look at all of them for use now and in the future for anyone looking to develop applications.
“Contributions to Documentation are as important and require as much, if not more, effort as contributions to Q&A.” – As someone who has spent a lot of time and effort on Q&A, trying to make this site a great resource, I’m honestly demotivated by this statement seeing how docs is currently developing and how the early state is being used by people who are literally farming rep from the system. — poke2 mins ago