Added
- Documentation updated to reflect CivisML 2.1 features (209)
- ``civis.io.dataframe_to_civis``, ``civis.io.csv_to_civis``, and ``civis.io.civis_file_to_table`` functions now support the `diststyle` parameter.
- New notebook-related CLI commands: "new", "up", "down", and "open".
- Additional documentation for using the Civis joblib backend (199)
- Documented additional soft dependencies for CivisML (203)
Changed
- Changed `ModelPipeline.train` default for `n_jobs` from 4 to `None`,
so that `n_jobs` will be dynamically calculated by default (203)
- Use "feather"-formatted files to send data from users to CivisML, if possible.
Require this when using ``pd.Categorical`` types, since CSVs require us to
re-infer column types, and this can fail. Using feather should also give a
speed improvement; it reads and writes faster than CSVs and produces smaller files (200).
- ``ModelFuture`` objects will emit any warnings which occurred during their
corresponding CivisML job (204)
- Removed line setting "n_jobs" from an example of CivisML prediction.
Recommended use is to let CivisML determine the number of jobs itself (211).
- Update maximum CivisML version to v2.1; adjust fallback logic such that users get
the most recent available release (212).
Fixed
- Restored the pre-v1.7.0 default behavior of the ``joblib`` backend by setting the ``remote_backend``
parameter default to 'sequential' as opposed to 'civis'. The default of 'civis' would launch additional
containers in nested calls to ``joblib.Parallel``. (205)
- If validation metadata are missing, ``ModelFuture`` objects will return ``None``
for metrics or validation metadata, rather than issuing an exception (208)
- Allowed callers to pass `index` and `encoding` arguments to the `to_csv` method through `dataframe_to_civis`.
Performance Enhancements
- ``civis.io.file_to_civis`` now uses additional file handles for multipart upload instead of writing to disk to reduce disk usage
- ``civis.io.dataframe_to_civis`` writes dataframes to disk instead of using an in memory buffer