Assignment 3

133 views
Skip to first unread message

Xianming Mu

unread,
Oct 5, 2012, 10:07:17 AM10/5/12
to fp...@googlegroups.com
Hi,

Anyone finished A3 with full mark?
I was stuck by some performance issue. My filter was always timeout:

[Test Description] filter: tweet with 321 retweets
[Observed Error] Test timeout: aborted after 30 seconds; Check for infinite loops!
  [exception was thrown] detailed error message in debug output section below
[Lost Points] 10
I couldn't find more efficient way to implement it. Any hint?
Thanks.

--
Regards,

Samuel

Samuel Mu

unread,
Oct 5, 2012, 2:29:50 PM10/5/12
to fp...@googlegroups.com
自己给自己解答吧……原来是因为另一个方法union的原因,真是奇怪了,明明filter没用到union。
 

kwong ho

unread,
Oct 6, 2012, 1:11:11 AM10/6/12
to fp...@googlegroups.com
nice~ i just started ~

Paul liu

unread,
Oct 7, 2012, 9:51:29 PM10/7/12
to fp...@googlegroups.com
最早明天才能开始,Machine Learning的作业。。。

kwong ho

unread,
Oct 9, 2012, 1:04:03 PM10/9/12
to fp...@googlegroups.com
Yea~~ i m done with 10/10 today, and didn't read any post on discussion this time.
Do you still stuck with the problem?


On Friday, October 5, 2012 10:07:38 PM UTC+8, Samuel Mu wrote:

Xianming Mu

unread,
Oct 9, 2012, 7:34:53 PM10/9/12
to fp...@googlegroups.com

Great.
No, I've found out where the problem was. It's because my union implementation-I just used the one which had been showed in the lecture : P . After changing to use tail and head, the exception was gone.

--
You received this message because you are subscribed to the Google Groups "fp-cn" group.
To post to this group, send email to fp...@googlegroups.com.
To unsubscribe from this group, send email to fp-cn+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/fp-cn?hl=en.
 
 

kwong ho

unread,
Oct 9, 2012, 10:16:05 PM10/9/12
to fp...@googlegroups.com
Great!~
Reply all
Reply to author
Forward
0 new messages