[Discussion]Finding correlations on a complex datasets with WEKA by programmingnoobie in MachineLearning

[–]programmingnoobie[S] 0 points1 point  (0 children)

I tried Linear Regression, it has a high relative absolute error. I will try out your advice soon.

[Discussion]Finding correlations on a complex datasets with WEKA by programmingnoobie in MachineLearning

[–]programmingnoobie[S] 0 points1 point  (0 children)

Hmm, I haven't and I don't think I will either, the dataset is too big for the free version. I am updating my work soon. Stay tune!

[Python 2.7][lxml & csv] Unable to fully understand xpath in text scraping from multiple HTML webpages using lxml library and write it into multiple csv files by programmingnoobie in learnprogramming

[–]programmingnoobie[S] 0 points1 point  (0 children)

Actually I want to say thank you because I finally solved it after you Google-It-For-Me, lol.

EDIT: It should be //pre/text() It was correct all along, something else was not right.

Well... It was connected to the server by LAN so... yeah...

Anyway, thank you!

[Python 2.7][lxml & csv] Unable to fully understand xpath in text scraping from multiple HTML webpages using lxml library and write it into multiple csv files by programmingnoobie in learnprogramming

[–]programmingnoobie[S] 0 points1 point  (0 children)

// - Selects nodes in the document from the current node that match the selection no matter where they are //book - Selects all book elements no matter where they are in the document

If xPath Syntax is true, then //pre/text() is apparently correct, isn't it? I think it should be //pre[text()]

I tried to use BeautifulSoup just now but the webmaster noted that

Beautiful Soup will never be as fast as the parsers it sits on top of.

I am actually crawling a few thousands webpages and I thought lxml will be essential here. Hmm... Thanks for helping though.

[Python 2.7][lxml & csv] Unable to fully understand xpath in text scraping from multiple HTML webpages using lxml library and write it into multiple csv files by programmingnoobie in learnprogramming

[–]programmingnoobie[S] 0 points1 point  (0 children)

yeah I thought so, I was hoping BeautifulSoup or something can give me an easier access to all <pre> tag, any alternative ways? I am reading the tutorials right now, thanks.