niusouti.com
更多“概率论常见的概率分布,使用Python中第三方库scipy中的stats模块比较多,通过from scipy import stats实现。”相关问题
  • 第1题:

    Youhavearange-partitionedtableinyourdatabase.&en

    Youhavearange-partitionedtableinyourdatabase.Eachpartitioninthetablecontainsthesalesdataforaquarter.

    Thepartitionrelatedtothecurrentquarterismodifiedfrequentlyandotherpartitionsundergofewerdatamanipulations.Thepreferencesforthetablearesettotheirdefaultvalues.Youcollectstatisticsforthetableusingthefollowingcommandinregularintervals:SQL>EXECUTE

    DBMS_STATS.GATHER_TABLE_STATS(’SH’,’SALES’,GRANULARITY=>’GLOBAL’);

    Youneedstatisticstobecollectedmorequickly.

    Whatcanyoudotoachievethis?()


    参考答案:C

  • 第2题:

    ROMN是对(1)标准的重要补充,用到RMON MIB有关以太网统计组中的变量ether StAts Drop Eventsether StAts CRC Align Errors和etherstAtus UnDersizePKts的是(2)。在网络管理标准中,通常把(3)层以上的协议都称为应用层协议。RMON2监视器的网络接口是(4)。计算机中的信息只能由授权访问权限的用户读取,这是网络安全的(5)。

    A.SMTP

    B.SNMP

    C.UDP

    D.ICMP


    正确答案:B

  • 第3题:

    国家统计信息网(外网)的网站地址是( )。

    A.WWW.stats.com.cn

    B.WWW.stats.gov.cn

    C.WWW.stats.gov

    D.WWW.stats.com


    正确答案:B
    解析:国家统计信息网的网址是:WWW.stats.gov.cn,在统计系统内部网上基于web技术的信息站点是:10.6.28.54。

  • 第4题:

    关于引入模块的方式,错误的是()。

    • A、import math
    • B、from fib import fibonacci
    • C、from math import *
    • D、from * importfib

    正确答案:D

  • 第5题:

    多模块配置中是通过以下哪种方式实现多模块分布功能?()

    • A、模值分布
    • B、IP分发
    • C、链路引用模块不同
    • D、协议处理模块不同

    正确答案:B

  • 第6题:

    如果只需要math模块中的sin( )函数,建议使用from math import sin来导入,而不要使用import math导入整个模块。


    正确答案:正确

  • 第7题:

    导入模块,例如数学模块,我们可以使用()

    • A、importmath
    • B、frommathimport*
    • C、import*
    • D、from*

    正确答案:A,B

  • 第8题:

    python中如想导入模块,则使用()。

    • A、input
    • B、import
    • C、#import
    • D、include

    正确答案:B

  • 第9题:

    交通流随着时间的分布,通常认为符合概率论中的()。

    • A、正态分布
    • B、二项分布
    • C、泊松分布
    • D、反符号分布

    正确答案:C

  • 第10题:

    You executed the following commands:   SQL> ALTER SESSION SET OPTIMIZER_USE_PENDING_STATISTICS = false; SQL> EXECUTE DBMS_STATS.SET_TABLE_PREFS(’SH’, ’CUSTOMERS’, ’PUBLISH’,’false’); SQL> EXECUTE DBMS_STATS.GATHER_TABLE_STATS(’SH’, ’CUSTOMERS’);   Which statement is correct regarding the above statistics collection on the SH.CUSTOMERS table in the above session?()

    • A、 The statistics are stored in the pending statistics table in the data dictionary.
    • B、 The statistics are treated as the current statistics by the optimizer for all sessions.
    • C、 The statistics are treated as the current statistics by the optimizer for the current sessions only.
    • D、 The statistics are temporary and used by the optimizer for all sessions until this session terminates.

    正确答案:A

  • 第11题:

    单选题
    You want to capture column group usage and gather extended statistics for better cardinality estimates for the CUSTOMERS table in the SH schema. Examine the following steps: 1. Issue the SELECT DBMS_STATS.CREATE_EXTENDED_STATS (‘SH’, ‘CUSTOMERS’) FROM dual statement. 2. Execute the DBMS_STATS.SEED_COL_USAGE (null, ‘SH’, 500) procedure. 3. Execute the required queries on the CUSTOMERS table. 4. Issue the SELECT DBMS_STATS.REPORT_COL_USAGE (‘SH’, ‘CUSTOMERS’) FROM dual statement. Identify the correct sequence of steps.()
    A

    3,2,1,4

    B

    2,3,4,1

    C

    4,1,3,2

    D

    3,2,4,1


    正确答案: B
    解析: 暂无解析

  • 第12题:

    单选题
    python中如想导入模块,则使用()。
    A

    input

    B

    import

    C

    #import

    D

    include


    正确答案: C
    解析: 暂无解析

  • 第13题:

    Examine this command:SQL > exec DBMS_STATS.SET_TABLE_PREFS (‘SH’, ‘CUSTOMERS’, ‘PUBLISH’, ‘false’);Which three statements are true about the effect of this command?()

    A. Statistics collection is not done for the CUSTOMERS table when schema stats are gathered.

    B. Statistics collection is not done for the CUSTOMERS table when database stats are gathered.

    C. Any existing statistics for the CUSTOMERS table are still available to the optimizer at parse time.

    D. Statistics gathered on the CUSTOMERS table when schema stats are gathered are stored as pending statistics.

    E. Statistics gathered on the CUSTOMERS table when database stats are gathered are stored as pending statistics.


    参考答案:A, C, D

  • 第14题:

    Considerthefollowingstatement:SQL>EXECUTEDBMS_STATS.GATHER_SHEMA_STATS(-2>ownname=>‘OE’,-3>estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE,-4>methodopt=>‘forallcolumnssizeAUTO’);Whatistheeffectof‘forallcolumnssizeAUTO’oftheMETHOD_OPToption?()

    A.TheOracleservercreatesanewhistogrambasedonexistinghistogramdefinitionsforalltable,column,andindexstatisticsfortheOEschema.

    B.TheOracleservercreatesahistogrambasedondatadistributionregardlessofhowtheapplicationusesthecolumn/sforalltable,column,andindexstatisticsfortheOEschema.

    C.TheOracleservercreatesahistogrambasedondataandapplicationusageofthecolumn/sforalltable,column,andindexstatisticsfortheOEschema.

    D.TheOracleservercreatesahistogrambasedonapplicationusage,regardlessofdatadistribution,foralltable,column,andindexstatisticsfortheOEschema.


    参考答案:C

  • 第15题:

    以下哪些行为可以使得程序同时兼容Python2和Python3?()

    • A、使用2to3工具进行转换
    • B、使用six库
    • C、使用sys.version判断版本进行区分
    • D、import时捕获ImportError异常尝试使用另一个版本的路径引入

    正确答案:B,C,D

  • 第16题:

    Python代码中,图像识别模块“手动”选项的代码是()

    • A、mcookie库
    • B、spirit库
    • C、ai库
    • D、arduino库

    正确答案:C

  • 第17题:

    概率论方法:离散型分布(泊松分布,二项式分布)()


    正确答案:连续型分布(负指数分布,移位的负指数分布)

  • 第18题:

    以下哪个方法可以计算均值()

    • A、np.mean
    • B、np.median
    • C、np.percentile
    • D、stats.mode

    正确答案:A

  • 第19题:

    python中,导入模块使用的关键字是()。

    • A、import
    • B、goto
    • C、else
    • D、if

    正确答案:A

  • 第20题:

    如想导入数学模块,我们可以使用()。

    • A、importmath
    • B、frommathimport*
    • C、import*
    • D、from*

    正确答案:A,B

  • 第21题:

    SQL Server数据库提供的错误信息如何查看?()

    • A、查看系统视图sys.database_files
    • B、查看系统视图sys.messages
    • C、查看系统视图sys.error
    • D、查看系统视图sys.stats

    正确答案:B

  • 第22题:

    判断题
    如果只需要math模块中的sin( )函数,建议使用from math import sin来导入,而不要使用import math导入整个模块。
    A

    B


    正确答案:
    解析: 暂无解析

  • 第23题:

    多选题
    Examine this command: SQL > exec DBMS_STATS.SET_TABLE_PREFS (‘SH’, ‘CUSTOMERS’, ‘PUBLISH’, ‘false’); Which three statements are true about the effect of this command?()
    A

    Statistics collection is not done for the CUSTOMERS table when schema stats are gathered.

    B

    Statistics collection is not done for the CUSTOMERS table when database stats are gathered.

    C

    Any existing statistics for the CUSTOMERS table are still available to the optimizer at parse time.

    D

    Statistics gathered on the CUSTOMERS table when schema stats are gathered are stored as pending statistics.

    E

    Statistics gathered on the CUSTOMERS table when database stats are gathered are stored as pending statistics.


    正确答案: E,B
    解析: 暂无解析

  • 第24题:

    单选题
    python中,导入模块使用的关键字是()。
    A

    import

    B

    goto

    C

    else

    D

    if


    正确答案: C
    解析: 暂无解析