Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: I dont think that this i hard, but I dont understand!
Post: RE: I dont think that this i hard, but I dont unde...
(Nov-28-2016, 09:32 PM)Ofnuts Wrote: (Nov-28-2016, 06:33 PM)Linamellannamn Wrote: I understand! I found something similar online, would this be something?
def ctrapezoidal(f,a,b,n):
h=(b-a)/n
... |
|
pythlang |
Homework |
12 |
11,096 |
Nov-30-2016, 05:37 AM |
|
|
Thread: NLTK create corpora
Post: RE: NLTK create corpora
(Oct-26-2016, 06:37 AM)Larz60+ Wrote: That looks looks what you need. I did this a couple of years ago,
and not since. I'm afraid your going to have to dig into the book (also available on github)
T... |
|
pythlang |
General Coding Help |
5 |
10,211 |
Oct-26-2016, 07:23 PM |
|
|
Thread: NLTK create corpora
Post: RE: NLTK create corpora
(Oct-26-2016, 03:31 AM)Larz60+ Wrote: You could look at the downloader.py file (source available here) There are probably some hooks that you have to set within nltk itself so it knows about your co... |
|
pythlang |
General Coding Help |
5 |
10,211 |
Oct-26-2016, 03:52 AM |
|
|
Thread: NLTK create corpora
Post: NLTK create corpora
Hi guys,
Pretty straightforward and most likely easy question for you guys here:
I'm trying to create and use my own corpora saved as a .txt file, however, it is not being found
There are two files... |
|
pythlang |
General Coding Help |
5 |
10,211 |
Oct-26-2016, 01:21 AM |
|
|
Thread: Naive Bayes too slow
Post: RE: Naive Bayes too slow
hey, guys, in regard to the error here:
Error:[color=#000000][size=small][font=monospace]Traceback (most recent call last):[/font][/size][/color]
[color=#000000][size=small][font=monospace] File "/Us... |
|
pythlang |
Data Science |
22 |
24,166 |
Oct-25-2016, 01:57 AM |
|
|
Thread: Naive Bayes too slow
Post: RE: Naive Bayes too slow
(Oct-24-2016, 03:17 PM)snippsat Wrote: Anaconda can help if you struggle with install.
It comes with NLTK,scikit-learn ...ect pre-installed.
Has own installer conda,and also comes with pip.
Anacond... |
|
pythlang |
Data Science |
22 |
24,166 |
Oct-24-2016, 04:53 PM |
|
|
Thread: Naive Bayes too slow
Post: RE: Naive Bayes too slow
(Oct-24-2016, 01:20 PM)sparkz_alot Wrote: No, that site is strictly for windows. The Mac should be similar to linux, though you may have to install a compiler (such as gcc) first. Not sure, though,... |
|
pythlang |
Data Science |
22 |
24,166 |
Oct-24-2016, 03:06 PM |
|
|
Thread: Naive Bayes too slow
Post: RE: Naive Bayes too slow
(Oct-24-2016, 03:15 AM)Larz60+ Wrote: I don't know why I didn't check earlier, but there is a huge repository of wheels available at UC Irvine
if you go to the scikit-learn section you will find whe... |
|
pythlang |
Data Science |
22 |
24,166 |
Oct-24-2016, 12:44 PM |
|
|
Thread: Naive Bayes too slow
Post: RE: Naive Bayes too slow
(Oct-22-2016, 09:29 PM)pythlang Wrote: (Oct-22-2016, 09:15 PM)Larz60+ Wrote: Actually I should clarify. If they supply the source code you could technically modify and rebuild their package. But t... |
|
pythlang |
Data Science |
22 |
24,166 |
Oct-24-2016, 12:49 AM |
|
|
Thread: Naive Bayes too slow
Post: RE: Naive Bayes too slow
(Oct-22-2016, 09:15 PM)Larz60+ Wrote: Actually I should clarify. If they supply the source code you could technically modify and rebuild their package. But this is a big No-no that will bite you in ... |
|
pythlang |
Data Science |
22 |
24,166 |
Oct-22-2016, 09:29 PM |
|
|
Thread: Naive Bayes too slow
Post: RE: Naive Bayes too slow
(Oct-22-2016, 09:06 PM)Larz60+ Wrote: Quote: is there no way to "rebuild" scikit-learn in the proper manner?
Sure, if you're one of the authors of 'scikit-learn'. Just as you can't fix any of the ... |
|
pythlang |
Data Science |
22 |
24,166 |
Oct-22-2016, 09:09 PM |
|
|
Thread: Naive Bayes too slow
Post: RE: Naive Bayes too slow
(Oct-22-2016, 02:42 AM)Larz60+ Wrote: There was a build problem - see here for work around
thanks for replying,
I read that but still unsure of what it means or how to work around it. could you cl... |
|
pythlang |
Data Science |
22 |
24,166 |
Oct-22-2016, 06:19 PM |
|
|
Thread: Naive Bayes too slow
Post: RE: Naive Bayes too slow
As I'm going along I have incurred a problem with scikit-learn.
Can anyone shed some light on this as I have scoured Google to no avail with something that could help me that I can understand:
impo... |
|
pythlang |
Data Science |
22 |
24,166 |
Oct-22-2016, 01:32 AM |
|
|
Thread: Naive Bayes too slow
Post: RE: Naive Bayes too slow
(Oct-21-2016, 10:18 PM)snippsat Wrote: (Oct-21-2016, 09:52 PM)pythlang Wrote: EDIT: What could be causing this to happen?You have downloaded all NLTK data? >>> import nltk >>> n... |
|
pythlang |
Data Science |
22 |
24,166 |
Oct-21-2016, 11:45 PM |
|
|
Thread: Naive Bayes too slow
Post: RE: Naive Bayes too slow
(Oct-21-2016, 10:03 PM)Ofnuts Wrote: (Oct-21-2016, 09:52 PM)pythlang Wrote: (Oct-21-2016, 09:48 PM)snippsat Wrote: (Oct-21-2016, 09:22 PM)pythlang Wrote: I want to be able to retain the functi... |
|
pythlang |
Data Science |
22 |
24,166 |
Oct-21-2016, 10:07 PM |
|
|
Thread: Naive Bayes too slow
Post: RE: Naive Bayes too slow
(Oct-21-2016, 09:48 PM)snippsat Wrote: (Oct-21-2016, 09:22 PM)pythlang Wrote: I want to be able to retain the function of Naive Bayes without the insane amount of time it takes to process. What to... |
|
pythlang |
Data Science |
22 |
24,166 |
Oct-21-2016, 09:52 PM |
|
|
Thread: Naive Bayes too slow
Post: Naive Bayes too slow
So, after fooling around with this algorithm I've noticed that it's entirely too slow since it's a learning kit, especially for analyzing large sets of data.
I want to be able to retain the function ... |
|
pythlang |
Data Science |
22 |
24,166 |
Oct-21-2016, 09:22 PM |
|
|
Thread: serious n00b.. NLTK in python 2.7 and 3.5
Post: RE: serious n00b.. NLTK in python 2.7 and 3.5
alright guys I stayed up until 4am until I passed out really doing some studying and working out some code. the following is what I was satisfied with after elaborated on snippsat's coding:
import nl... |
|
pythlang |
General Coding Help |
24 |
19,792 |
Oct-21-2016, 04:15 PM |
|
|
Thread: serious n00b.. NLTK in python 2.7 and 3.5
Post: RE: serious n00b.. NLTK in python 2.7 and 3.5
here was my post back to you:
Thanks for the clarification.
If I were adding code like this:
def process_content():
try:
for i in tokenized:
words = nltk.word_tokenize(i)
... |
|
pythlang |
General Coding Help |
24 |
19,792 |
Oct-20-2016, 09:12 PM |
|
|
Thread: serious n00b.. NLTK in python 2.7 and 3.5
Post: RE: serious n00b.. NLTK in python 2.7 and 3.5
wow.
I literally do not understand the difference.
Would you be able to explain in general what just happened?
I emulated your code and received the same result so what benefit would your coding hav... |
|
pythlang |
General Coding Help |
24 |
19,792 |
Oct-20-2016, 06:58 PM |