Improved cross-validation for classifiers that make algorithmic choices to minimise runtime without compromising output correctness

11/28/2019
by   Dorian Florescu, et al.
0

Our topic is the use of machine learning to improve software by making choices which do not compromise the correctness of the output, but do affect the time taken to produce such output. We are particularly concerned with computer algebra systems (CASs), and in particular, our experiments are for selecting the variable ordering to use when performing a cylindrical algebraic decomposition of n-dimensional real space with respect to the signs of a set of polynomials. In our prior work we explored the different ML models that could be used, and how to identify suitable features of the input polynomials. In the present paper we both repeat our prior experiments on problems which have more variables (and thus exponentially more possible orderings), and examine the metric which our ML classifiers targets. The natural metric is computational runtime, with classifiers trained to pick the ordering which minimises this. However, this leads to the situation were models do not distinguish between any of the non-optimal orderings, whose runtimes may still vary dramatically. In this paper we investigate a modification to the cross-validation algorithms of the classifiers so that they do distinguish these cases, leading to improved results.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/03/2019

Algorithmically generating new algebraic features of polynomial systems for machine learning

There are a variety of choices to be made in both computer algebra syste...
research
05/22/2020

A machine learning based software pipeline to pick the variable ordering for algorithms with polynomial inputs

We are interested in the application of Machine Learning (ML) technology...
research
04/24/2019

Comparing machine learning models to choose the variable ordering for cylindrical algebraic decomposition

There has been recent interest in the use of machine learning (ML) appro...
research
04/24/2023

Explainable AI Insights for Symbolic Computation: A case study on selecting the variable ordering for cylindrical algebraic decomposition

In recent years there has been increased use of machine learning (ML) te...
research
11/21/2019

On the Use of C-index for Stratified and Cross-Validated Cox Model

We develop a baseline-adjusted C-index to evaluate fitted Cox proportion...
research
02/21/2019

Stacking with Neural network for Cryptocurrency investment

Predicting the direction of assets have been an active area of study and...

Please sign up or login with your details

Forgot password? Click here to reset