• 2022-07-24
    ‍在使用MapReduce程序WordCount进行词频统计时,对于文本行“hello hadoop hello world”,经过WordCount程序的Map函数处理后直接输出的中间结果,应该是下面哪种形式:‍
    未知类型:{'options': ['["hello",1,1]、["hadoop",1]和["world",1]', '["hello",2]、["hadoop",1]和["world",1]', '["hello",<1,1]>、["hadoop",1]和["world",1]', '["hello",1]、["hello",1]、["hadoop",1]和["world",1]'], 'type': 102}
  • D

    举一反三

    内容

    • 0

      PL&#91;1&#93; = &#91;1, 3, 2&#93; PL&#91;1&#93; = PL&#91;1&#93; + &#91;1, 1, *&#93; 执行上述运算后,PL&#91;1&#93;中的i,j,k分为为____、____、_____。

    • 1

      下列代码的输出结果是( )。li = &#91;"hello",'se',&#91;&#91;"m","n"&#93;,&#91;"h","kelly"&#93;,'all'&#93;,123,446&#93;print(li&#91;2&#93;&#91;1&#93;&#91;1&#93;) A: h B: kelly C: n D: m

    • 2

      在使用MapReduce程序WordCount进行词频统计时,对于文本*行“hellohadoophelloworld”,经过WordCount程序的Map函数处理后直接输出的中间结果,应该是下面哪种形式:()。 A: <"hello",<1,1>>、<"hadoop",1>和<"world",1> B: <"hello",1>、<"hello",1>、<"hadoop",1>和<"world",1> C: <"hello",1,1>、<"hadoop",1>和<"world",1> D: <"hello",2>、<"hadoop",1>和<"world",1>

    • 3

      定义如下矩阵a,b,则选项中输出结果与b矩阵相同的是_______。 a = np.mat(&#91;&#91;0,1&#93;,&#91;2,3&#93;&#93;) b = np.mat(&#91;&#91;1,0&#93;,&#91;0,1&#93;&#93;)

    • 4

      中国大学MOOC: 已知列表lst=&#91; &#91;1,2,3&#93;,&#91;4,5,6&#93;,&#91;7,8,9&#93; &#93;,则表达式lst&#91;1&#93;&#91;1&#93;的值为: