Skip to content

v2.1.0

Compare
Choose a tag to compare
@dbolotov dbolotov released this 13 Sep 18:32
· 229 commits to master since this release

pmml 2.1.0

Major Changes

  • Package now exports PMML with schema version 4.4.

  • pmml.ARIMA() function added - exports ARIMA time series models from the forecast package with conditional least squares forecasting.

Breaking Changes

  • pmml.svm() now has a detect_anomaly argument, allowing the user to specify whether the PMML detects anomalies or inliers. The exported PMML now has two OutputField elements: anomalyScore and one of anomaly or inlier.

  • The following arguments are deprecated. They can still be used, but will produce a warning message and will be removed in a future release.

    • pmml.iForest: anomalyThreshold -> anomaly_threshold
    • pmml.kmeans: algorithm.name -> algorithm_name
    • rename_wrap_var: wrap_data -> wrap_object
    • xform_norm_discrete: inputVar -> input_var

Other Changes

  • Application version in PMML Header corresponds to pmml package version.

  • pmml.iForest now uses attribute sampleDataSize instead of element ParameterList to store the model$phi value.

  • pmml.gbm now adds modelName attribute to the final segment for multinomial gbm models.

  • testthat file names correspond to the functions being tested.

  • Edited make_output_nodes doc for clarity.

  • Updated formatting in vignettes.

  • Fixed spelling and added word list via spelling package.