Autoplot Vw



Source: R/etc_utils_autoplot.R, R/g_autoplot.R

Arguments object. PCA-like instance. Joined to fitting result if provided. Scaling parameter, disabled by 0. Principal component number used in x axis. Autoplot PCA-likes. Applyfacets: Apply facets to to 'ggplot2::ggplot' applygrid: Apply grid to to 'ggplot2::ggplot' astibble.basis: Convert a spline basis to a tibble autoplot.aareg: Autoplot 'survival::aareg' autoplot.acf: Autoplot 'stats::acf'.Note to pass 'plot = FALSE' to.

The autoplot function plots performance evaluation measures by using ggplot2 instead of the general R plot.

Arguments

object

An S3 object generated by evalmod. The autoplot function accepts the following codeS3 objects for two different modes, 'rocprc' and 'basic'.

  1. ROC and Precision-Recall curves (mode = 'rocprc')

    S3 object# of models# of test datasets
    sscurvessinglesingle
    mscurvesmultiplesingle
    smcurvessinglemultiple
    mmcurvesmultiplemultiple
  2. Basic evaluation measures (mode = 'basic')

    S3 object# of models# of test datasets
    sspointssinglesingle
    mspointsmultiplesingle
    smpointssinglemultiple
    mmpointsmultiplemultiple

See the Value section of evalmod for more details.

curvetype

A character vector with the following curve types.

  1. ROC and Precision-Recall curves (mode = 'rocprc')

    curvetypedescription
    ROCROC curve
    PRCPrecision-Recall curve

    Multiple curvetype can be combined, such as c('ROC', 'PRC').

  2. Basic evaluation measures (mode = 'basic')

    curvetypedescription
    errorNormalized ranks vs. error rate
    accuracyNormalized ranks vs. accuracy
    specificityNormalized ranks vs. specificity
    sensitivityNormalized ranks vs. sensitivity
    precisionNormalized ranks vs. precision
    mccNormalized ranks vs. Matthews correlation coefficient
    fscoreNormalized ranks vs. F-score

    Multiple curvetype can be combined, such as c('precision', 'sensitivity').

...

Following additional arguments can be specified.

type

A character to specify the line type as follows.

'l'

lines

'p'

points

'b'

both lines and points

show_cb

A Boolean value to specify whether point-wise confidence bounds are drawn. It is effective only when calc_avg of the evalmod function is set to TRUE .

raw_curves

A Boolean value to specify whether raw curves are shown instead of the average curve. It is effective only when raw_curves of the evalmod function is set to TRUE.

show_legend

A Boolean value to specify whether the legend is shown.

ret_grob

A logical value to indicate whether autoplot returns a grob object. The grob object is internally generated by arrangeGrob. The grid.draw function takes a grob object and shows a plot. It is effective only when a multiple-panel plot is generated, for example, when curvetype is c('ROC', 'PRC').

reduce_points

A Boolean value to decide whether the points should be reduced when mode = 'rocprc'. The points are reduced according to x_bins of the evalmod function. The default values is TRUE.

Value

The autoplot function returns a ggplot object for a single-panel plot and a frame-grob object for a multiple-panel plot.

See also

evalmod for generating an S3 object. fortify for converting a curves and points object to a data frame. plot for plotting the equivalent curves with the general R plot.

Examples

Latest version

Released:

Interface to Autoplot Java library

Project description

Autoplot is a Java application which can read data from many sources, such as ASCII tables, NASA CDF files, and HDF5 files. It can also read data from data servers, such as the server at NASA/Goddard/CDAWeb, Das2Servers used by the Radio andPlasma Wave Group at the University of Iowa, and servers supporting the HAPI API.

Autoplot identifies data using “URIs”, which are one-line strings containing a data source ID and configuration to read the data.These URIs can be created using the Autoplot application, available at http://autoplot.org/.Data are read into a standard data model, QDataSet, which is easily adapted to Python using “JPype”.Helper procedures from the autoplot package convert QDataSets into ndarrays.

Autoplot/Python Interface Tools

Autoplot

Install using pip install autoplot

Autoplot

Project details


Release historyRelease notifications | RSS feed

0.3.9

0.3.8

0.3.7

Autoplot Visual Field Test

0.3.6

0.3.4

0.2.3

0.2.2

0.2.1

0.2.0

0.1.4

0.1.3

0.1.2

0.1.0

Autoplot Vectorworks

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for autoplot, version 0.3.9
Filename, sizeFile typePython versionUpload dateHashes
Filename, size autoplot-0.3.9.tar.gz (7.4 kB) File type Source Python version None Upload dateHashes
Close

Autoplot Vw

Hashes for autoplot-0.3.9.tar.gz

Hashes for autoplot-0.3.9.tar.gz
AlgorithmHash digest
SHA256edd0a1ef14192ed3323bf5120227287ee402e899ebbe9a606a5a3df2e300dfce
MD51039af738174a9f8e2ab9210e47c0099
BLAKE2-2565d354d6e6229c0e88d2ed2bb0d68ccde461134e2f2c09a1302ed60a90b945527




Comments are closed.