Based in academic research, Predictive Transformation refers to a set of design and interface principles that serve as the foundation for how
|D s item|
|D s webapp|
- Features & Visualizations - innovative methods to display and select data of interest to the user
- Suggestions - based on user selection, suggested transforms are presented to the user for selection and configuration
- Previews - for the selected suggestion, previews of the anticipated change are available for review prior to inclusion in the transformations on the dataset
|Visualize||visualizations||A critical component of Predictive Transformation is the visual representation of the data, including items of interest for selection. In larger data sets, the visual cues around items of interest and the tools for interacting with them provide information on the meaning of each type of interaction and are critical for a productive and pleasant user experience.|
|Interact||selections||Users interact directly with the visualizations to select values, columns, or other items of interest.|
|Predict||predictive model & suggestions||Automatically, user selections trigger queries into the predictive model. Data, metadata, and the selection of it effectively define queries of the predictive model. The model returns a set of suggested transforms. The suggestions guide the user toward recommended actions on items that the user has decided, through selection, are interesting. The user can then decide which suggestion to undertake, including modification of the specific parameters around the suggestion. Or, the user can define a completely different step to take.|
|Present||previews||Whenever the step to take is selected or subsequently modified, the anticipated results of that step are displayed as a preview overlay on top of the data. This method allows for easy development, rapid undoing, and a clearer understanding of the impacts of each step.|
In Predictive Transformation, visualizations must be carefully designed to surface selectable data or metadata of interest to the user. In
|D s product|
Transformer Page contains a rich overlay of information and selection cues
Specific visualization cues:
- Data rendered into familiar grid format, regardless of underlying structure
- selectable values and columns
- Color-coded data quality bars:
- green: valid
- black: missing
- red: invalid (checked against data type)
- Select a color to select all corresponding values
- Histograms for individual columns:
- Select one or more values in the histogram highlights corresponding values in other column histograms for easy visual comparisons
- Metadata on entire dataset and type and statistical information for individual columns. See Column Details Panel.
In this manner, this visualization lifts the user's interaction from the domains of data and code into a more visual representation.
Users must still specify via selection; the syntax of the specification is lifted into the visual domain, and the details of crafting the technical query are managed by the application.
Exploration: By design, this interaction model supports both detailed specificity and ambiguity. The user selects, previews the results, and then determines if the preview meets expectations. Additionally, all steps can be undone and removed from the recipe, so that users can explore different steps and entire approaches for transforming data. Solutions that demand more technical interactions from the user often suffer from an intolerance of ambiguity, which limits a user's ability to express intent without significant experience and/or training. See Transformer Page.
As the user reviews the visualization, a change in the cursor indicates the items that are available for selection.
Selection cursor changes on hover of selectable items
The following types of selections trigger the subsequent phases:
- cell values and values and values within a cell
- values in a data histogram
- categories of values (valid, invalid, missing) within a data quality bar
All values can be multi-selected.
The user is still obligated to make selections in the data, thereby bringing domain-specific expertise to the problem of transforming it. This selection in turn triggers a more complex query through the application to the prediction service.
Predictive ModelPredictive Model
Based on the set of selections, an inference algorithm attempts to interpret the data transformation intent of the selection and generates a ranked set of suggestions and patterns for the selections to match. For example, if you select the first three characters in a cell, the algorithm may produce two transform suggestions for data removal: one to remove the rows containing the specific text and one to keep all rows containing that pattern of text in the column.
As part of the returned results of the predictive model, matching values for the selection(s) are highlighted in the table.
The predictive model interprets selection to identify intent. Possible intentions are surfaced as one or more suggested transforms in a visual manner that minimizes exposure to the transformation language.
Suggestions and Their Variants
The set of probable next steps is computed by the predictive model from the user interaction, selected data, historical information, and other sources and rendered as a set of suggestions. Since these steps are essentially predictions of user intent, they are surfaced as browsable cards, through which the user can explore to disambiguate the uncertainty of intention around their data selections.
Suggestion cards - selection guides suggestion
Transform Suggestion cards are specific enough for immediate execution. The user can choose to modify the transform and its parameters, if additional specification and guidance is needed.
At the bottom of each transform suggestion card, you can see one or more dots. Each dot represents a variant of the selected transformation.
The first variant is the most specific one applicable to the current selection in the data grid. Mouse over the variants to see different versions of the transform. As you mouse over variants further to the right in the transform suggestion card, the variants typically become more specific in their changes to the dataset or rarer in their usage.
When you mouse over a different transform variant in the transform suggestion card, the card is automatically updated to reflect the variation. When you select the variant, the Preview is updated. You can always modify the transform to review the detailed differences.
When a transform suggestion card is selected, the results of the selected transform are previewed in the data grid, so that the user can see in advance the changes to the dataset.
Previewed effects of transform
When the transform is added to the recipe, the transform is rendered into the data transformation language and applied in real-time to the dataset, so that the user can immediately begin working on the next step of the process.
When a transform is selected, the selected transform and any additional guidance from the user is translated into a specific, programmatic step in the transformation language. This step, in turn, is rendered into a complex and potentially distributed query that is applied across the dataset. In this manner, additional technical details and the knowledge required to master them are removed from from the user's requirements.
AdditionalAdditional Steps - Modification
Modification via Transform Builder
As needed, any selection can be modified, such that the user may tweak parameters to further refine intention to reach a specific outcome. In the
Modifying a transform in the Transform Builder
Modification via Transform Editor
The user may reach a level of complexity in their interactions that the interface cannot directly support without adding unnecessary complexity to the majority workflows. In these cases, the user can be guided into the underlying language, where queries can be modified to address the requirements of more complex interactions. For finer-grain control, you can switch to the Transform Editor, which enables access to the exact text of the transform step:
Transform Editor and Recipe Panel
As needed, users can interact directly with the set of transforms for the dataset. Here again, in the Recipe panel on the right side of the screen, users can interact and manipulate individual steps. Users can select any step in the Recipe panel and re-order it, remove it, or resume editing in the Transform Editor. See Recipe Panel.
The actual steps of transformation are authored in
|D s lang|
|D s lang|
- Single-source transformations, with results rendered without modification to the original source data
- General cleaning and transformation operations on numerical and textual data of varying and custom data types
- Structural transformations for managing nested data like JSON
- Multi-dataset transformations such as lookups, joins, and unions
- Transformation of data to metadata, such as pivot and unpivot operations
- text Text selection patterns, including regular expressions, as a macro-type set of references. See Text Matching.
For a list of available transforms and functions, see Language Index.
For more information, see Wrangle Language.