Various systems and methods provide an intuitive user interface that enables automatic specification of queries and constraints for analysis by ML component. Various implementations provide methodologies for automatically formulating machine learning (“ML”) and optimization queries. The automatic generation of ML and/or optimization queries can be configured to use examples to facilitate formulation of ML and optimization queries. One example method includes accepting input data specifying variables and data values associated with the variables. Within the input data any unspecified data records are identified, and a relationship between the variables specified in the input data and a variable associated with the at least one unspecified data record is automatically determined. The relationship can be automatically determined based on training data contained within the input data. Once a relationship is established a ML problem can be automatically generated.
Please help me write a proper abstract based on the patent claims. CLAIM: 1-46. (canceled) 47. A method, comprising: accessing, by a computer system, input data comprising: training data comprising a first plurality of data records, each of the first plurality of data records having numeric data values at least for first and second variables in a plurality of variables; and a second plurality of data records comprising at least a first not fully specified data record that does not include a first numeric data value for the first variable in the plurality of variables; generating, by the computer system and using the training data, a representation of a relationship between the first variable and at least the second variable in the plurality of variables; and obtaining, by the computer system and using the generated representation, at least the first numeric data value for the first variable in the first not fully specified data record. 48. The method of claim 47, wherein generating the representation comprises using a machine learning technique to generate a mathematical model representing the relationship between the first variable and at least the second variable. 49. The method of claim 47, wherein generating the mathematical model representing the relationship between the first variable and at least the second variable is performed by using symbolic regression. 50. The method of claim 47, wherein accessing the input data is performed using a spreadsheet user interface, and wherein generating the representation of the relationship comprises: generating one or more candidate query patterns that relate a blank cell in the spreadsheet user interface to its surrounding non-blank cells in the spreadsheet user interface; for each pattern in the one or more candidate query patterns: collecting data from the spreadsheet user interface that matches the pattern, generating, using a machine learning technique and the collected data, a respective candidate mathematical model representing a relationship between a variable associated with the blank cell and one or more variables associated with the surrounding non-blank cells; determining a confidence associated with the generated candidate mathematical model; and selecting the generated candidate mathematical model having a highest confidence level as the representation of the relationship. 51. The method of claim 47, further comprising: identifying, by the computer system, the first not fully specified data record in the second plurality of data records. 52. The method of claim 47, wherein accessing the input data comprises: receiving, within a spreadsheet user interface, a selection of the first plurality of data records and the second plurality of data records. 53. The method of claim 52, wherein the generating and obtaining occur in response to receiving the selection. 54. The method of claim 47, further comprising: determining a confidence value for the first numeric data value; and displaying the first numeric data value with an intensity that depends on the confidence value. 55. The method of claim 47, wherein the first not fully specified data record does include a second numeric data value for the second variable in the plurality of variables and does not include a third numeric data value for a third variable in the plurality of variables, and wherein the obtaining comprises obtaining, using the generated representation and an optimization technique, the first numeric data value and the third numeric data value based on the second numeric data value. 56. The method of claim 55, wherein the optimization technique comprises a gradient search technique. 57. A system, comprising: using at least one hardware processor to perform: accessing input data comprising: training data comprising a first plurality of data records, each of the first plurality of data records having numeric data values at least for first and second variables in a plurality of variables; and a second plurality of data records comprising at least a first not fully specified data record that does not include a first numeric data value for the first variable in the plurality of variables; generating, using the training data, a representation of a relationship between the first variable and at least the second variable in the plurality of variables; and obtaining, by the computer system and using the generated representation, at least the first numeric data value for the first variable in the first not fully specified data record. 58. The system of claim 57, wherein generating the representation comprises using a machine learning technique to generate a mathematical model representing the relationship between the first variable and at least the second variable. 59. The system of claim 57, wherein generating the mathematical model representing the relationship between the first variable and at least the second variable is performed by using symbolic regression. 60. The system of claim 57, wherein accessing the input data is performed using a spreadsheet user interface, and wherein generating the representation of the relationship comprises: generating one or more candidate query patterns that relate a blank cell in the spreadsheet user interface to its surrounding non-blank cells in the spreadsheet user interface; for each pattern in the one or more candidate query patterns: collecting data from the spreadsheet user interface that matches the pattern, generating, using a machine learning technique and the collected data, a respective candidate mathematical model representing a relationship between a variable associated with the blank cell and one or more variables associated with the surrounding non-blank cells; determining a confidence associated with the generated candidate mathematical model; and selecting the generated candidate mathematical model having a highest confidence level as the representation of the relationship. 61. The system of claim 57, further comprising: identifying, by the computer system, the first not fully specified data record in the second plurality of data records. 62. The system of claim 57, wherein accessing the input data comprises: receiving, within a spreadsheet user interface, a selection of the first plurality of data records and the second plurality of data records. 63. The system of claim 62, wherein the generating and obtaining occur in response to receiving the selection. 64. The system of claim 57, further comprising: determining a confidence value for the first numeric data value; and displaying the first numeric data value with an intensity that depends on the confidence value. 65. The system of claim 57, wherein the first not fully specified data record does include a second numeric data value for the second variable in the plurality of variables and does not include a third numeric data value for a third variable in the plurality of variables, and wherein the obtaining comprises obtaining, using the generated representation and an optimization technique, the first numeric data value and the third numeric data value based on the second numeric data value. 66. The system of claim 65, wherein the optimization technique comprises a gradient search technique.