Skip to content

Citrine v2.8.0 is released!

Compare
Choose a tag to compare
@jspeerless jspeerless released this 16 Mar 19:19
5c73dd2

With this release of Citrine Python, we are ecstatic to release two major pieces of functionality that have been on the wishlist of many of our users for quite some time. Users with valid Predictors can now submit single prediction tasks and return predictions on just one material. We also now support constraining the ratio of ingredients and labels, allowing users to tackle more complex formulation problems with our optimizer. Not to be outdone, we've also added the capability to use conditional "if" statements within Expression predictors. And if that wasn't enough, we continue to add improvements and simplifications to our python client to keep our users running smoothly.

What's New

  • You can now make single prediction calls to a valid Predictor by providing it with a SinglePredictRequest, containing candidate information in the form akin to a DesignMaterial. The returned object will contain all the values one is able to predict with the Predictor as well as uncertainty. See an example in our Predictor Documentation. #828, #833
  • We now support constraints on the ratio of ingredients in FormulationDesignSpaces. By creating an IngredientRatioConstraint, you can constrain the ratio of any combination of ingredients and/or labels to any combination of ingredients and/or labels to be between a minimum and maximum value. We also allow multipliers for each ingredient and label in the numerator or denominator to encode statements such as "constrain 1 part Additive for every 100 parts Solvent". #827

Improvements

  • Updated documentation to include the usage of "if" statements inside Expression Predictors. #832
  • FileLinks in citrine python have been augmented to include much more additional metadata. Whereas the dataset.files endpoint once returned only the filename and url, we now also return created by, created on, and version number fields, among others. #831

Deprecated

  • The FileLink.process method has been deprecated in favor of UI-driven async ingest methods. #829
  • It is no longer needed to designate a formulation_descriptor on a GemTableDataSource - the descriptor is automatically designated to aid future development. #830

Full Changelog: v2.2.1...v2.8.0