Abstract
An important aspect of chemoinformatics and material-informatics is the usage of machine learning algorithms to build Quantitative Structure Activity Relationship (QSAR) models. The RANdom SAmple Consensus (RANSAC) algorithm is a predictive modeling tool widely used in the image processing field for cleaning datasets from noise. RANSAC could be used as a “one stop shop” algorithm for developing and validating QSAR models, performing outlier removal, descriptors selection, model development and predictions for test set samples using applicability domain. For “future” predictions (i.e., for samples not included in the original test set) RANSAC provides a statistical estimate for the probability of obtaining reliable predictions, i.e., predictions within a pre-defined number of standard deviations from the true values. In this work we describe the first application of RNASAC in material informatics, focusing on the analysis of solar cells. We demonstrate that for three datasets representing different metal oxide (MO) based solar cell libraries RANSAC-derived models select descriptors previously shown to correlate with key photovoltaic properties and lead to good predictive statistics for these properties. These models were subsequently used to predict the properties of virtual solar cells libraries highlighting interesting dependencies of PV properties on MO compositions.
Keywords: RANSAC, Material-informatics, QSAR, Photovoltaics, Solar Cells
Background
Material informatics is a rapidly developing field engaged with the application of informatics principles to materials science in order to assist in the discovery and development of new materials [1–5]. Developments in material informatics take advantage of the vast empirical and computational information on structures and properties of materials available in multiple databases such as MatWeb (http://www.matweb.com/) which includes properties for over 115,000 materials and MatDat (https://www.matdat.com/) which includes over 1000 datasets of materials, to name but a few. [6–10] Turning this large volume of information into knowledge could be performed in multiple ways using multiple data mining procedures. As an example, AFLOW [6] (http://aflowlib.org/) is a database of density functional theory (DFT) calculations performed on more than 1.5 million materials with known crystal structures. Isayev et al. [5]. used this database to introduce the term “material cartography” for representing a library of materials as a network. The resulting network was subsequently mined using various machine learning methods in search for materials with interesting properties.
A pre-requisite to any data mining procedure is a data curation stage [11]. Data curation is important for two main reasons: (1) Publically available data sets may contain multiple errors; (2) even a small number of errors may compromise the quality of QSAR models [11]. For example, Olah et al. [12, 13] have shown an error rate as high as 8% in the WOMBAT database and Young et al. [14] have recorded error rates between 0.1 and 3.4% in a variety of databases. More recently, Isayev et al. [5] have demonstrated several errors in the AFLOW database including duplicate compounds and incorrect extraction of literature data. In general, data curation involves steps like the removal of duplicates, compounds with wrong Lewis structures, compounds for which descriptors could not be calculated, and in case of experimentally measured data the removal of compounds which suffer from errors caused by the measurement process.
Due to the sheer size of material databases, data curation cannot be performed manually but rather requires a computational workflow. Indeed several such workflows have been reported in the literature [11, 15, 16]. However, even a stringent curation workflow cannot clean a database from noise that often accompanies experimental data. The presence of noise might mask the information that the data hold, thereby compromising data interpretation, model generation and decisions making.
In general, noise could be classified as either internal or external. Internal noise is inherent to the measurement process of the data, affects all data points, and is assumed to be distributed normally. In contrast, external noise results from sources exterior to the system due to an error in the measurement itself or from extreme behavior that does not match the overall behavior of the majority of samples. While all samples experience internal noise, some may also experience (greater) external noise and could therefore be regarded as outlier samples. Thus, an outlier is an observation on the dataset, which appears to be inconsistent with the rest of the data [17].
Important aspects of data mining in material informatics are database searching, similarity searches, and the usage of machine learning algorithms for pattern recognition and derivation of predictive models [18, 19]. Multiple terms have been used to describe such models including Quantitative Structure Activity/Property Relationship (QSAR/QSPR) models [20, 21], Quantitative Materials Structure–Property Relationships (QMSPR) models [5], and Quantitative Nanostructure Activity Relationship (QNAR) models [22]. All models attempt to correlate specific activities (or properties) for a set of materials with (calculated or measured) molecular descriptors by means of a mathematical model. Such models should both provide scientific insight into the problem in hand as well as allow for the prediction of the results of future experiments. An important characteristic of QSAR models is therefore their predictive power. However the presence of outliers (i.e., noise) may bias the dataset to the point of compromising the ability of machine learning algorithms to build predictive models. Consequently, a common practice of QSAR modeling is the prior removal of outlying samples prior to model generation [23]. Accordingly, several methods for the removal of outliers were reported in the literature [24–29].
Two more aspects of machine learning algorithms which critically affect performances are the selection of specific descriptors that best correlate with the activity under study from the initial pool of descriptors and the definition (and application) of the model’s applicability domain, namely, the region in material space in which the model is expected to give accurate predictions. Multiple descriptors selection (i.e. feature selection) methods have been developed including filter methods, wrapper methods and embedded methods [30]. Similarly several algorithms for the definition of applicability domains have been reported [31].
Most QSAR studies treat the removal of outliers, the selection of descriptors and the definition of applicability domain as separate stages within a QSAR workflow, often using different tools for each task [11, 20, 32, 33]. Thus, there is an interest in presenting a “one stop shop” algorithm for the performance of all tasks. The advantages of such an algorithm are the potential prevention of errors resulting from interfaces between different components as well as easier accessibility, in particular by non-experts. In contrast a “one stop shop” algorithm is by its nature non-modular, offering minimal flexibility in the modeling process.
With this in mind we present in this work the adaptation, implementation, and the first application of the RANdom SAmple Consensus (RANSAC) method [34] to the field of material-informatics by deriving predictive models for key photovoltaic properties of solar cells. RANSAC is a modeling tool widely used in the Image Processing field [34–36] primarily for image noise filtration. The algorithm produces and validates a linear QSAR model based on the Minimum Least Square (LMS) method by (1) filtering noisy samples (i.e., outliers), (2) selecting the best features (i.e., descriptors), (3) deriving a QSAR model from training set samples and (4) predicting the activity of test set samples while invoking the concept of applicability domain, all in a single process without the need of complementary processes. For prediction of samples not in the original test set (i.e., samples for which no activity data are available), RANSAC provides a statistical estimate for the probability of obtaining reliable predictions, i.e., predictions within a pre-defined number of standard deviations from the true values. These characteristics make RANSAC an appealing addition to the arsenal of tools available for the derivation of predictive QSAR models.
As a first application, we chose to test the performances of RANSAC in the important field of solar cells which emerge as one of the main resources for clean energy. Briefly, a typical solar cell (photovoltaic device) operates by: (1) Generation of charge carriers (electrons and holes) following the absorption of photons; (2) Separation of the photo-generated charge carriers via charge selective contact(s); (3) Collection of the photo-generated charge carriers at an external circuit resulting in electricity.
In particular we focus our attention on solar cells entirely composed of metal oxides (MOs). Such cells possess many favorable properties including natural abundance of the constituting materials, ease of fabrication and long time stability. However, such cells do not demonstrate sufficient efficiency in converting sunlight to electricity thereby requiring the development of new cells potentially composed of new MOs or MO combinations [37]. Such developments could be facilitated by the development of QSAR models to predict key solar cells properties such as current, voltage, and quantum efficiency. Yet despite their importance only few QSAR studies were reported on solar cells [38–40] and even fewer on MO-based solar cells [41].
MO-based solar cells are often produced using combinatorial techniques resulting in solar cell libraries [37, 42]. Following fabrication, the libraries are subjected to medium throughput measurements to characterize their composition/structure as well as their photovoltaic (PV) properties. Due to the technical challenges involved in both fabrication and characterization, the resulting libraries often contain noisy data [42] making them ideal candidates for the RANSAC algorithm. The main objective of the present study is therefore to establish the usefulness of the RANSAC algorithm in cleaning and analyzing datasets of solar cells libraries and predicting their PV properties. For this purpose, we used three recently published datasets experimentally-derived from two different solar cells libraries. The first library is a library reported by Pavan et al. [43]. The library consists of two datasets, one with Ag back contacts and the other with Ag|Cu back contacts. The second library is a library reported by Majhi et al. [15]. The two libraries comprised of based solar cells were previously modeled using k nearest neighbors (kNN) and genetic algorithm allowing for a facile comparison between the performances of the different algorithms. The third library ( was previously analyzed using visualization methods [36]. We demonstrate that the RANSAC algorithm filters the sample space from noisy data (i.e., outliers), automatically selects descriptors previous shown to correlate with key PV properties and generates models with good predictive statistics for these properties.
Methods
RANSAC overview
RANdom SAmple Consensus (RANSAC) [34] is a method for deriving a model based on linear regression, performed on input data that may include noisy samples (both internal and external noise). The basic assumption of the algorithm is that the measured activity ( depends on a set of noise-free variables (e.g., descriptors; ) and on noise added to them; Eq. (1).
1 |
where is the expected activity in a noise-free environment and is a random internal noise. RANSAC assumes that the internal noise obeys the homoscedastic assumption, namely, that it has a constant distribution across all activity values. Using this assumption, boundaries could be set to form a “strip” that classifies the samples as either affected by internal noise only (model-compatible samples residing within the “strip”) or such that are affected both by internal and by external noise (model-incompatible samples residing outside the “strip”). Importantly, these boundaries should be a priori provided to the algorithm, based on the system’s characteristics and are expressed as the distance, in number of standard deviations (n), from the model (see below and Fig. 1).
Mathematically, the following definition applies [Eq. (2)]:
2 |
where is the calculated activity (see below), σ is the standard deviation of the sample and n is the width of the “strip” (in units of σ). Operationally, RANSAC incorporates the following stages (Fig. 2): (1) Model construction: randomly select a subsample from the dataset and fit to it a linear curve using linear regressions Least Mean Squares (LMS). (2) Model scoring: classify all samples as either model-compatible or model incompatible (based on the a priori provided “strip” width). (3) Iterative phase: repeat steps (1) and (2) to build multiple models each based on other randomly selected subsamples. For each model count the number of model-compatible and model-incompatible samples (4) Model selection: select the model with the largest number of model-compatible samples, calculate LMS, discard model-incompatible samples (i.e., outliers) and calculate LMS again. This model will be used for subsequent predictions.
Model construction
For RANSAC to build a model, it must first draw a subsample from all the samples used for model training (i.e., training set) and use it to construct a regression line. For a single observation the model takes the form of Eq. (3):
3 |
Where y is the dependent variable, is the vector of the independent variables (i.e., descriptors), i denotes sample i, p is the power of the best fit curve, d is the dimensionality of the model (i.e., number of descriptors) and is a vector holding the weights calculated using the linear regression. Note that may have zero values for one or more input descriptors meaning, that these descriptors were not selected by the model. For multiple samples, the matrix form is used [Eq. (4)]:
4 |
where
5 |
The size of the subsample drawn by RANSAC should match the power (p) of the desired equation [Eq. (3)]. For example, for an equation with p = 3, a subsample of size 4 should be drawn.
Model scoring
The basic assumption underlying the RANSAC algorithm is that the set of samples (expressed as data points) could be approximated by a model of a certain dimensionality (d), where each dimension is represented by a descriptor raised up to a maximum power (p) allowed for the model. If this assumption holds true, then one would expect to have most dataset points residing within a “strip” of a given width around the best fit curve calculated for a subsample (i.e., model compatible samples). The “strip” could be used for several purposes: (1) Scoring models by counting the number of dataset points residing within their boundaries (the larger the number, the better the model). Models are scored based on the entire training set and not only on the drawn sub-sample used for their construction. (2) Identifying outliers by observing training set samples residing outside the “strip’s” boundaries. (3) Defining the “strip” as the model’s applicability domain for test set predictions. RANSAC scores a model based on the number of model-compatible samples from within the training set.
Iterative phase and select highest scoring model
RANSAC is an iterative algorithm that requires many repetitions of the model construction and scoring phases (i.e., iterations) in order to obtain the best model. Furthermore, the number of the required iterations depends on the size of the dataset with larger datasets requiring more iterations. At each iteration, the algorithm counts the number of model-compatible samples and outputs the weights vector () that corresponds to the highest ranked model (i.e., model with the highest score). For this model the LMS error is calculated both before and after the removal of outliers (i.e., model-incompatible samples). It is important to note that the size of the “strip” (which ultimately determines the number of model compatible samples) may vary between libraries and should be specifically chosen for each library.
Predictions
The best model emerging from the iterative phase is used for predictions. For test set samples, their known activities allow to classify them as either within or outside the model’s applicability domain (i.e., either within or outside the “strip”). The percentage of within-“strip” samples provides an estimate for the percentage of “correct” (i.e., within the predefined number of standard deviations (n) from the true value) predictions for “future” samples, that is samples with unknown activities. RANSAC does not feature an inherent applicability domain for individual samples although a descriptors based applicability domain approach could of course be used [31].
For all RANSAC’s applications described in this work the following parameters were used: The number of iterations was set to 105 to derive a polynomial equation of the 5th power. The size of the “strip” (i.e. the models’ boundaries) was set to be ±1 standard deviation around derived from the training set. The algorithm was coded in MATLAB version R2014a.
Datasets
Metal-oxide solar cells library
The basic assembly of MO solar cell library includes (see Fig. 3): (1) a transparent conducting oxide (TCO) coated on a glass, typically in the form of fluorine doped tin oxide (FTO); (2) a window layer, which is a wide band-gap n-type semiconductor (typically TiO2); (3) a light absorbing layer (absorber); (4) Metal back contact; (5) Metal frame (front contact) soldered directly onto the FTO.
library (Fig. 3a)
An experimental library of solar cells was obtained from Pavan et al. [43]. This library was generated on precut glass coated with fluorine doped tin oxide (FTO) substrates onto which a TiO2 window layer with a linear gradient was deposited, followed by an absorber layer of Cu2O. Inserting two different grids of 13 × 13 = 169 back-contacts, namely, silver only (Ag) and silver and copper (Ag|Cu) deposited one after the other, lead to two sub-libraries (datasets) each consisting of 169 cells. In this work we omitted the non-photovoltaic cells leaving a total of 162 and 166 cells for the Ag and Ag|Cu back contact data base respectively.
library (Fig. 3b)
This library was constructed in a manner roughly similar to the libraries, with the same window layer (TiO2) but different target metal oxide for the absorber layer (Co3O4) and also included a third recombination layer (MoO3). On top of the MoO3 layer a 13 × 13 grid of Au back contacts was placed, thus forming a library of 169 cells. The library was characterized by the varying thicknesses of the TiO2, Co3O4, MoO3 layers. For this library 19 cells were removed due to lack of photovoltaic activities (thus 150 cells remained).
Library characterization
Each solar cell was characterized by its material descriptors (independent variables) and experimentally measured photovoltaic activities (dependent variables). Material descriptors included the thickness of the window layer (), the thickness of the absorber layers (), the thickness of the recombination layer (), the thickness ratio between the absorber layer and the sum of the absorber and window layers (ratio), the thickness ratio between the absorber layer and the sum of the absorber and the recombination layers (ratio_AR), and the band gap of absorber layer (BGP). The band gap is the energy difference (in electron volts) between the top of the valence band and the bottom of the conduction band. Overall, for the libraries four descriptors were consider namely: and BGP, and for the library five descriptors were consider namely: and . Tables 1 and 2 present the range values for each of the descriptors.
Table 1.
(both libraries) | |
---|---|
(nm) | 70.0–311.5 |
(nm) | 249.0–596.0 |
Ratio | 0.51–0.89 |
BGP (eV) | 0.21–2.50 |
Table 2.
(nm) | 259.0–355.0 |
(nm) | 30.7–245.0 |
(nm) | 38.9–61.8 |
Ratio | 0.08–0.43 |
Ratio_AR | 0.38–0.86 |
In this work we focused on three experimentally measured PV activities (dependent variables, end points): (1) the short circuit photocurrent density (J SC) which is the current density through the solar cell when the voltage across the cell is zero. (2) The open circuit voltage (Voc) which is the maximum voltage available from a solar cell. This voltage occurs at an open circuit. (3) The internal quantum efficiency (IQE) which reflects the charge separation and collection efficiencies of a device and is calculated by Eq. (6) where is the maximum theoretical calculated photocurrent. The distributions of the three PV activities are represented by boxplots in Fig. 4 and their ranges are given in Table 3.
6 |
Table 3.
(Ag) | (Ag|Cu) | ||
---|---|---|---|
J SC | 13.9–387.8 | 17.21–405.86 | 10.35–25.7 |
V OC | 0.06–0.35 | 0.01–0.35 | 0.03–0.62 |
IQE (%) | 0.11–2.56 | 0.13–2.68 | 0.05–0.31 |
Model fitting and statistical parameters
The datasets were divided into training and validation (test) sets using a recently published representativeness algorithm [44]. Subsets selected by this algorithm were previously employed as external validation sets in QSAR modeling [24, 25, 41, 44]. Each dataset was divided into a training set composed of 80% of the original dataset (130, 134 and 120 cells for the with Ag back contacts, with Ag|Cu back contacts and datasets, respectively) and a test set containing the remaining cells (32 samples for the with Ag and Ag|Cu back contact and 30 samples for the dataset). The libraries with Ag and Ag|Cu Back Contacts were previously modeled by Yosipof et al. [41]. For the purpose of comparison, the training and test sets described above, were made identical to those described by Yosipof et al. [41].
To evaluate the RANSAC model performances on the training set we used as expressed by Eq. (7). The RANSAC algorithm excludes samples from the training set-based error calculation if residing outside the model’s boundaries (e.g., “strip”). Thus the model’s error is derived without these samples. This is analogous to outlier removal. Below we therefore report two estimates, the first based on all samples and the second based on samples surviving RANSAC’s inherent outlier removal.
The performances of the RANSAC algorithm on the test set () were calculated in a similar manner [Eq. (8)]. Similarly to outlier removal, the “strip” calculated by the RANSAC algorithm was used to evaluate the applicability domain (AD) of the resulting model. Accordingly, two estimates of were calculated one pertaining to the entire test set and one, for that portion of the test set which resided within the model’s applicability domain.
7 |
8 |
where is the experimental result, is the predicted value and is the mean of the experimental results over training set samples.
In addition, we used the R2 (squared correlation coefficient) between the predicted () and the experimental () data for both training and test set.
Finally, to assess model significance and to rule-out chance correlation, Y-randomization procedure was applied to all models.
Result and discussion
Performances of RANSAC-derived models
The RANSC algorithm was applied to the three datasets described above. For each dataset, three models were derived to describe their photovoltaic (PV) properties (J SC , V OC and IQE). Table 4 presents the number of training set and test set samples found to reside within the model’s “strip” (i.e., model-compatible samples). Model-incompatible samples in the training and test sets are referred to as outliers and outside of the model’s AD, respectively. As can clearly be seen, the vast majority (≥85%) of the samples are included within the “strip” for both the training and test sets. This suggests that (1) predictive models could likely be derived for this dataset and (2) the model described by the “strip” forming curve approximates most of the training set and test set samples to within one standard deviation (the pre-defined “strip” width; see Methods section) from their experimental values. One could therefore propose that the majority of future samples will be similarly predicted. However, in two cases the number of model compatible cells was below the 85% threshold (the V OC models for the library with 84 and 80% of model compatible cells for the training and test sets, respectively), indicating higher variance for this property in this dataset in comparison with the other properties/datasets. In accord with this observation, the performances of the V OC model from the library were exceptionally poor (Table 5). This model was therefore excluded from the analysis reported below.
Table 4.
JSC | VOC | IQE | |
---|---|---|---|
(Ag) | |||
# Model—compatible training samples | 125/130 (96%) | 120/130 (92%) | 125/130 (96%) |
# Model—compatible test samples | 28/32 (88%) | 32/32 (100%) | 28/32 (88%) |
(Ag|Cu) | |||
# Model—compatible training samples | 131/134 (98%) | 127/134 (95%) | 129/134 (96%) |
# Model—compatible test samples | 30/32 (94%) | 30/32 (94%) | 31/32 (97%) |
# Model—compatible training samples | 118/120 (98%) | 101/120 (84%) | 120/120 (100%) |
# Model—compatible test samples | 30/30 (100%) | 24/30 (80%) | 30/30 (100%) |
Table 5.
library | Activity | (no outliers) | (AD) | ||
---|---|---|---|---|---|
(Ag) | J SC | 0.75 (0.77) | 0.82 (0.84) | 0.69 (0.75) | 0.87 (0.89) |
V OC | 0.62 (0.63) | 0.65 (0.66) | 0.80 (0.80) | 0.80 (0.80) | |
IQE | 0.71 (0.72) | 0.79 (0.82) | 0.69 (0.76) | 0.83 (0.87) | |
(Ag|Cu) | J SC | 0.74 (0.78) | 0.78 (0.82) | 0.76 (0.81) | 0.84 (0.88) |
V OC | 0.57 (0.62) | 0.73 (0.78) | 0.62 (0.68) | 0.73 (0.78) | |
IQE | 0.72 (0.74) | 0.78 (0.81) | 0.78 (0.82) | 0.82 (0.86) | |
J SC | 0.77 (0.78) | 0.78 (0.79) | 0.82 (0.83) | 0.82 (0.83) | |
V OC | −0.06 (0.03) | 0.25 (0.36) | 0.00 (0.10) | 0.33 (0.31) | |
IQE | 0.85 (0.86) | 0.85 (0.86) | 0.79 (0.81) | 0.79 (0.81) |
Overall, the RANSAC algorithm led to models with good statistical parameters (Table 5) for training set samples for J SC ( between 0.74 and 0.77), Voc ( between 0.57 and 0.62 excluding the library; see above) and IQE ( between 0.71 and 0.85). Upon the removal of outliers, the statistical parameters for all models improved with the largest improvement being obtained for V OC ( between 0.78–0.82, 0.65–0.73 (excluding the ) and 0.78–0.85 for J SC, V OC and IQE, respectively).
The performances of the RANSAC models on the test set samples followed a trend similar to that observed for the training set. Thus, for all test sets, was found to be between 0.69–0.82, 0.62–0.80, and 0.69–0.79 for J SC, V OC (excluding the ) and IQE, respectively. Similar results were obtained for R2 values between the predicted and the actual activities (Table 5). As expected for datasets devoid of significant activity cliffs, when considering only samples within the models’ applicability domains, these numbers improved to 0.82–0.87 and 0.79–0.83 for J SC, and IQE, respectively. For V OC of the (Ag) library, no test set samples were filtered by the applicability domain leading to no change in model performances ( = 0.80). However for this property a significant increase in the (Ag|Cu) library upon the removal of only two samples was observed ( = 0.62 and 0.73 without and with the model’s AD, respectively).
Figures 5 and 6 present predicted versus experimentally measured values for all three PV properties considered in this work across the three datasets following outlier removal for training set samples and considering only samples within the models applicability domains for the test set.
Finally, Y-randomization procedure was applied to all models and no statistically significant models were derived.
Two of the above described datasets [ (Ag) and (Ag|Cu)] were previously modeled by Yosipof et al. [41] using kNN and a Genetic Programming (GP) approach, thereby allowing for a direct comparison between the performances of the resulting models (the results of kNN and GP models from Yosipof et al. [41] are presented in Table 7). GP produced models with values between 0.74–0.76, 0.50–0.78 and 0.72 for J SC, V OC and IQE respectively. The corresponding numbers obtained by RANSAC are = 0.69–0.76, 0.62–0.80, and 0.69–0.78 for J SC, V OC and IQE, respectively, with no AD and = 0.84–0.87, 0.73–0.80 and 0.82–0.83 for J SC, V OC and IQE, respectively, with AD. These results suggest that the performances of the RANSAC models are similar to those of the GP with no consideration of the AD and provide significant improvement upon the application of AD. Of note, there is no inherent definition of AD in the GP method. For kNN, was reported to be 0.89–0.92, 0.56–0.89, and 0.87–0.91 for J SC, V OC and IQE, respectively, with no AD and 0.88–0.92, 0.55–0.89 and 0.87–0.89 for J SC, V OC and IQE, respectively, with AD. Thus, kNN provides models with higher prediction statistics than RANSAC in particular when the AD is not considered. However, the performances of RANSAC approach those of kNN upon the introduction of the AD. Moreover, the test set coverage provided by RANSAC is generally higher than that provided by kNN (Table 6). Finally, in contrast with kNN, RANSAC provides a model in the form of a QSAR equation which enhances model interpretability.
Table 7.
Library | Activity | (AD) | ||||
---|---|---|---|---|---|---|
kNN | GP | kNN | kNN | GP | ||
(Ag) | J SC | 0.92 | 0.74 | 0.92 (0.92) | 0.92 (0.92) | 0.76 (0.76) |
V OC | 0.78 | 0.65 | 0.89 (0.89) | 0.89 (0.89) | 0.78 (0.77) | |
IQE | 0.91 | 0.70 | 0.87 (0.87) | 0.87 (0.87) | 0.72 (0.73) | |
(Ag|Cu) | J SC | 0.92 | 0.76 | 0.89 (0.89) | 0.88 (0.89) | 0.74 (0.76) |
V OC | 0.74 | 0.61 | 0.56 (0.55) | 0.55 (0.54) | 0.50 (0.50) | |
IQE | 0.9 | 0.72 | 0.91 (0.91) | 0.89 (0.89) | 0.72 (0.73) |
Table 6.
Library | Activity | RANSAC coverage (%) | kNN coverage* (%) |
---|---|---|---|
(Ag) | J SC | 88 | 91 |
V OC | 100 | 84 | |
IQE | 88 | 91 | |
(Ag|Cu) | J SC | 94 | 79 |
V OC | 94 | 79 | |
IQE | 97 | 73 |
*The data for kNN were taken from Table 5 in Ref. [41]
RANSAC as a feature selection tool
Table 8 presents the model equations produced by RANSAC for the different PV properties of the three datasets.
Table 8.
PV Property | Model |
---|---|
(Ag) | |
(Ag|Cu) | |
For both datasets it is evident that while four descriptors were evaluated by RANSAC, only two were picked by the algorithm as predictors of photovoltaic activities. Importantly, these two descriptors give rise to six terms in the resulting QSAR equations due to their power form. Thus, RANSAC “expands” the small number of final descriptors by using them in multiple forms. A potential drawback of the resulting models is therefore reduced interpretability of terms including “high power” descriptors. The dataset was characterized by five descriptors and only three were selected by RANSAC leading to models with six terms (Table 8).
The features selected by the RANSAC algorithm could be compared with those selected by the kNN and GP models reported by Yosipof et al. [41]. As can be deduced from Table 9, all methods selected the same descriptors for the (Ag) library while kNN replaced by the ratio descriptor for the (Ag|Cu) library. While GP sometimes selected a smaller number of “base descriptors”, it compensated for this smaller number by incorporating these descriptors in more complex mathematical equations. In contrast, the RANSAC algorithm is limited to simple polynomial equation (to the 5th power in this study).
Table 9.
Library | Activity | RANSAC | GP | kNN |
---|---|---|---|---|
(Ag) | J SC | |||
V OC | ||||
IQE | ||||
(Ag|Cu) | J SC | , Ratio | ||
V OC | , Ratio | |||
IQE | , Ratio |
RANSAC derived virtual cells
RANSAC derived models could be used to predict PV properties of virtual solar cell libraries. These predictions could serve two purposes: (1) identify trends related to the dependence of PV properties on descriptors values, which are not easily discernible from the resulting equations. (2) Provide a theoretical basis for and guide future experiments.
(Ag) and (Ag|Cu) virtual libraries
The original (Ag) and (Ag|Cu) libraries were of identical compositions with between 70 and 311.5 nm and between 249 and 596 nm. The virtual cell should cover these ranges and expand upon them to allow RANSAC-based extrapolations. With this in mind, thickness values for the different layers were selected to be between 200 and 700 nm and between 40 and 400 nm for the Cu2O and TiO2 layers, respectively, where each range was divided into 100 bins (a total of 10,000 cells per virtual library). These specific ranges were selected following several iterations designed to find the model’s limits, beyond which the results would not be physically meaningful (i.e., have negative PV values). Next, the PV properties (J SC, V OC, IQE) of each cell were predicted using the RANSAC models presented in Table 8. The results of these predictions are presented in Fig. 7 and demonstrate a few trends: (1) all PV activities primarily depend on the thickness of the Cu2O layer rather than on the thickness of the TiO2 layer. This trend was noted by Pavan et al. [43]. but only for J SC. (2) J SC presents a marked increase for Cu2O thicknesses above 500 nm (where J SC equals ) as seen in Fig. 7a, d. Similar trends (yet with less sharp transitions) are also seen for IQE and V OC (Fig. 7b, e and c, f, respectively). Interestingly, Cu2O thicknesses above 500 nm where hardly explored by the original library. (3) The nature of the back contact (Ag vs. Ag|Cu) has the largest effect on the dependence of J SC on the thickness of the Cu2O layer (compare Fig. 7a, d) which is followed by V OC (compare Fig. 7b, e). In contrast, the dependence of IQE on the thickness of the Cu2O layer is the least affected by the back contact (compare Fig. 7c, f). (4) Certain combinations of and are predicted to have both high J SC and V OC values. These trends are largely in accord with previous conclusions on these systems deduced from experiments and other data mining approaches [41].
virtual library
In a similar manner, another virtual library was constructed for the MOs composition. In the original library, the thicknesses of the different layers ranged from 259 to 355, nm, from 30.7 to 245 nm and from 38.9 to 61.8 for TiO2, Co3O4 and MoO3, respectively. In the virtual library, these ranges were increased to 30–500 and 40–100 nm for the Co3O4 layer and MoO3 layer, respectively (50 bins for each range) while the TiO2 layer was kept at a constant value of 340 nm. This led to a virtual library consisting of 2500 cells.
For this particular library, Koushik et al. [15] showed that IQE is mainly affected by the thickness of both the and layers. This conclusion was further supported by a computational analysis [36]. Figure 8 shows that RANSAC’s prediction is in line with this proposition (i.e., to achieve relatively high IQE values, the thickness of the layer must be low, smaller than 150 nm and this property is also influenced by the thickness of the layer). In addition, RANSAC’s models point to an inherent problem in producing solar cells with both high J SC and IQE values for this MOs combination since the former seems to yield maximum value at layer thickness at the 500 nm region while the latter, yields its global maxima at the 30 nm region. Finally, Fig. 8 suggests possible combinations for additional experiments that may lead to high IQE values, for example small thicknesses of both and layers.
Conclusions
To the best of our knowledge, this is the first application of the RANSAC algorithm in materials-informatics and certainly for the analysis of solar cells libraries. Overall, RANSAC demonstrated a promising ability to develop predictive models for key PV properties across multiple libraries. The statistical parameters of the resulting models favorably compare with results obtained from genetic programing and kNN-derived models. Furthermore, the trends observed either from the models in their equation form or from the virtual cells are in agreement with previous findings [43, 45].
The performances of RANSAC together with the ability to use it as a “one stop shop” for model derivation and validation makes the algorithm an appealing additional to the arsenal of modeling tools in chemo- and material-informatics. This opens new opportunities for understanding the factors controlling the properties of materials and for the design of new materials with improved properties. Clearly, the applications of RANSAC (as well as of all other data mining tools) should be conducted in close collaboration with experimentalists to provide physics/chemistry based explanation to the observed trends and to capitalize on the results. We expect that the RANSAC algorithm will find multiple usages in chemoinformatics and materials-informatics researches.
Authors’ contributions
All authors conceived, designed, wrote, read and approved the final manuscript.
Acknowledgements
The authors acknowledge financial support from the Israeli National Nanotechnology Initiative (INNI, FTA project).
Competing interests
The authors declare that they have no competing interests.
Availability of data and materials
The libraries used in this article as well as any supporting tools will be provided upon request from the authors.
Funding
This work was supported by the Israeli National Nanotechnology Initiative (INNI, FTA project).
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Contributor Information
Omer Kaspi, Email: omerkaspi@gmail.com.
Abraham Yosipof, Email: avi.yosipof@gmail.com.
Hanoch Senderowitz, Email: hsenderowitz@gmail.com.
References
- 1.Jain A, Ong SP, Hautier G, Chen W, Richards WD, Dacek S, Cholia S, Gunter D, Skinner D, Ceder G, Persson KA. Commentary: The materials project: a materials genome approach to accelerating materials innovation. APL Mater. 2013;1:011002. doi: 10.1063/1.4812323. [DOI] [Google Scholar]
- 2.Takahashi K, Tanaka Y. Materials informatics: a journey towards material design and synthesis. Dalton Trans. 2016;45:10497–10499. doi: 10.1039/C6DT01501H. [DOI] [PubMed] [Google Scholar]
- 3.Seko A, Togo A, Hayashi H, Tsuda K, Chaput L, Tanaka I. Prediction of low-thermal-conductivity compounds with first-principles anharmonic lattice-dynamics calculations and bayesian optimization. Phys Rev Lett. 2015;115:205901. doi: 10.1103/PhysRevLett.115.205901. [DOI] [PubMed] [Google Scholar]
- 4.Rajan K. Materials informatics. Mater Today. 2005;8:38–45. doi: 10.1016/S1369-7021(05)71123-8. [DOI] [Google Scholar]
- 5.Isayev O, Fourches D, Muratov EN, Oses C, Rasch K, Tropsha A, Curtarolo S. Materials cartography: representing and mining materials space using structural and electronic fingerprints. Chem Mater. 2015;27:735–743. doi: 10.1021/cm503507h. [DOI] [Google Scholar]
- 6.Curtarolo S, Setyawan W, Wang S, Xue J, Yang K, Taylor RH, Nelson LJ, Hart GLW, Sanvito S, Buongiorno-Nardelli M, Mingo N, Levy O. AFLOWLIB.ORG: a distributed materials properties repository from high-throughput ab initio calculations. Comput Mater Sci. 2012;58:227–235. doi: 10.1016/j.commatsci.2012.02.002. [DOI] [Google Scholar]
- 7.Kosugi T, Kaneko S. Novel spray-pyrolysis deposition of cuprous oxide thin films. J Am Ceram Soc. 1998;81:3117–3124. doi: 10.1111/j.1151-2916.1998.tb02746.x. [DOI] [Google Scholar]
- 8.Villars P. Pearson’s crystal data®: crystal structure database for inorganic compounds. Materials Park: ASM International; 2007. [Google Scholar]
- 9.https://www.matbase.com/. Accessed 19 April 2017
- 10.https://www.matdat.com/. Accessed 19 April 2017
- 11.Fourches D, Muratov E, Tropsha A. Trust, but verify: on the importance of chemical structure curation in cheminformatics and QSAR modeling research. J Chem Inf Model. 2010;50:1189–1204. doi: 10.1021/ci100176x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Olah M, Rad R, Ostopovici L, Bora A, Hadaruga N, Hadaruga D, Moldovan R, Fulias A, Mractc M, Oprea TI. WOMBAT and WOMBAT-PK: bioactivity databases for lead and drug discovery. In: Schreiber SL, Kapoor TM, Wess G, editors. Chemical biology. New York: Wiley-VCH Verlag GmbH; 2008. pp. 760–786. [Google Scholar]
- 13.Olah M, Mracec M, Ostopovici L, Rad R, Bora A, Hadaruga N, Olah I, Banda M, Simon Z, Mracec M, Oprea TI. WOMBAT: world of molecular bioactivity. In: Oprea TI, editor. Chemoinformatics in drug discovery. New York: Wiley-VCH; 2004. pp. 223–239. [Google Scholar]
- 14.Young D, Martin T, Venkatapathy R, Harten P. Are the chemical structures in your QSAR correct? QSAR Comb Sci. 2008;27:1337–1345. doi: 10.1002/qsar.200810084. [DOI] [Google Scholar]
- 15.Hill J, Mulholland G, Persson K, Seshadri R, Wolverton C, Meredig B. Materials science with large-scale data and informatics: unlocking new opportunities. MRS Bull. 2016;41:399–409. doi: 10.1557/mrs.2016.93. [DOI] [Google Scholar]
- 16.Gilad Y, Nadassy K, Senderowitz H. A reliable computational workflow for the selection of optimal screening libraries. J Cheminform. 2015;7:61. doi: 10.1186/s13321-015-0108-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Johnson RA. Applied multivariate statistical analysis. Upper Saddle River: Prentice Hall International, Incorporated; 1992. [Google Scholar]
- 18.Takahashi K, Tanaka Y. Unveiling descriptors for predicting the bulk modulus of amorphous carbon. Phys Rev B. 2017;95:054110. doi: 10.1103/PhysRevB.95.054110. [DOI] [Google Scholar]
- 19.Takahashi K, Tanaka Y. Role of descriptors in predicting the dissolution energy of embedded oxides and the bulk modulus of oxide-embedded iron. Phys Rev B. 2017;95:014101. doi: 10.1103/PhysRevB.95.014101. [DOI] [Google Scholar]
- 20.Tropsha A. Best practices for QSAR model development, validation, and exploitation. Mol Inform. 2010;29:476–488. doi: 10.1002/minf.201000061. [DOI] [PubMed] [Google Scholar]
- 21.Cherkasov A, Muratov EN, Fourches D, Varnek A, Baskin II, Cronin M, Dearden J, Gramatica P, Martin YC, Todeschini R, Consonni V, Kuz’min VE, Cramer R, Benigni R, Yang C, Rathman J, Terfloth L, Gasteiger J, Richard A, Tropsha A. QSAR modeling: where have you been? Where are you going to? J Med Chem. 2014;57:4977–5010. doi: 10.1021/jm4004285. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Fourches D, Pu D, Tassa C, Weissleder R, Shaw SY, Mumper RJ, Tropsha A. Quantitative nanostructure–activity relationship modeling. ACS Nano. 2010;4:5703–5712. doi: 10.1021/nn1013484. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Furusjö E, Svenson A, Rahmberg M, Andersson M. The importance of outlier detection and training set selection for reliable environmental QSAR predictions. Chemosphere. 2006;63:99–108. doi: 10.1016/j.chemosphere.2005.07.002. [DOI] [PubMed] [Google Scholar]
- 24.Yosipof A, Senderowitz H. k-Nearest neighbors optimization-based outlier removal. J Comput Chem. 2015;36:493–506. doi: 10.1002/jcc.23803. [DOI] [PubMed] [Google Scholar]
- 25.Nahum OE, Yosipof A, Senderowitz H. A multi-objective genetic algorithm for outlier removal. J Chem Inf Model. 2015;55:2507–2518. doi: 10.1021/acs.jcim.5b00515. [DOI] [PubMed] [Google Scholar]
- 26.Hautamaki V, Karkkainen I, Franti P (2004) Outlier detection using k-nearest neighbour graph. In: Proceedings of the pattern recognition, 17th international conference (ICPR’04) IEEE Computer Society Washington, DC
- 27.Ramaswamy S, Rastogi R, Shim K. Efficient algorithms for mining outliers from large data sets. SIGMOD Rec. 2000;29:427–438. doi: 10.1145/335191.335437. [DOI] [Google Scholar]
- 28.Knorr E, Ng R (1998) Algorithms for mining distance-based outliers in large datasets. In: Proceedings of the 24th international conference on very large data bases, VLDB. Morgan Kaufmann Publishers Inc., New York
- 29.Tarko L. Monte Carlo method for identification of outlier molecules in QSAR studies. J Math Chem. 2010;47:174–190. doi: 10.1007/s10910-009-9585-6. [DOI] [Google Scholar]
- 30.Saeys Y, Inza I, Larrañaga P. A review of feature selection techniques in bioinformatics. Bioinformatics. 2007;23:2507–2517. doi: 10.1093/bioinformatics/btm344. [DOI] [PubMed] [Google Scholar]
- 31.Sahigara F, Mansouri K, Ballabio D, Mauri A, Consonni V, Todeschini R. Comparison of different approaches to define the applicability domain of QSAR models. Molecules. 2012;17:4791. doi: 10.3390/molecules17054791. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Tropsha A, Gramatica P, Gombar VK. The importance of being earnest: validation is the absolute essential for successful application and interpretation of QSPR models. QSAR Comb Sci. 2003;22:69–77. doi: 10.1002/qsar.200390007. [DOI] [Google Scholar]
- 33.Eriksson L, Jaworska J, Worth AP, Cronin MTD, McDowell RM, Gramatica P. Methods for reliability and uncertainty assessment and for applicability evaluations of classification- and regression-based QSARs. Environ Health Perspect. 2003;111:1361–1375. doi: 10.1289/ehp.5758. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Fischler MA, Bolles RC. Random sample consensus: a paradigm for model fitting with applications to image analysis and automated cartography. Commun ACM. 1981;24:381–395. doi: 10.1145/358669.358692. [DOI] [Google Scholar]
- 35.Torr PHS, Davidson C. IMPSAC: synthesis of importance sampling and random sample consensus. In: Vernon D, editor. Computer vision—ECCV 2000: 6th European conference on computer vision, Dublin, Ireland, June 26–July 1, 2000 proceedings, Part II. Berlin: Springer; 2000. pp. 819–833. [Google Scholar]
- 36.Yosipof A, Kaspi O, Majhi K, Senderowitz H. Visualization based data mining for comparison between two solar cell libraries. Mol Inform. 2016;35:622–628. doi: 10.1002/minf.201600050. [DOI] [PubMed] [Google Scholar]
- 37.Rühle S, Anderson AY, Barad H-N, Kupfer B, Bouhadana Y, Rosh-Hodesh E, Zaban A. All-oxide photovoltaics. J Phys Chem Lett. 2012;3:3755–3764. doi: 10.1021/jz3017039. [DOI] [PubMed] [Google Scholar]
- 38.Yosipof A, Shimanovich K, Senderowitz H. Materials informatics: statistical modeling in material science. Mol Inform. 2016;35:568–579. doi: 10.1002/minf.201600047. [DOI] [PubMed] [Google Scholar]
- 39.Olivares-Amaya R, Amador-Bedolla C, Hachmann J, Atahan-Evrenk S, Sanchez-Carrera RS, Vogt L, Aspuru-Guzik A. Accelerated computational discovery of high-performance materials for organic photovoltaics by means of cheminformatics. Energy Environ Sci. 2011;4:4849–4861. doi: 10.1039/c1ee02056k. [DOI] [Google Scholar]
- 40.Tortorella S, Marotta G, Cruciani G, De Angelis F. Quantitative structure-property relationship modeling of ruthenium sensitizers for solar cells applications: novel tools for designing promising candidates. RSC Adv. 2015;5:23865–23873. doi: 10.1039/C5RA01906K. [DOI] [Google Scholar]
- 41.Yosipof A, Nahum OE, Anderson AY, Barad H-N, Zaban A, Senderowitz H. Data mining and machine learning tools for combinatorial material science of all-oxide photovoltaic cells. Mol Inform. 2015;34:367–379. doi: 10.1002/minf.201400174. [DOI] [PubMed] [Google Scholar]
- 42.Anderson AY, Bouhadana Y, Barad H-N, Kupfer B, Rosh-Hodesh E, Aviv H, Tischler YR, Rühle S, Zaban A. Quantum Efficiency and bandgap analysis for combinatorial photovoltaics: sorting activity of Cu–O compounds in all-oxide device libraries. ACS Comb Sci. 2014;16:53–65. doi: 10.1021/co3001583. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43.Pavan M, Rühle S, Ginsburg A, Keller DA, Barad H-N, Sberna PM, Nunes D, Martins R, Anderson AY, Zaban A, Fortunato E. TiO2/Cu2O all-oxide heterojunction solar cells produced by spray pyrolysis. Sol Energy Mater Sol Cells. 2015;132:549–556. doi: 10.1016/j.solmat.2014.10.005. [DOI] [Google Scholar]
- 44.Yosipof A, Senderowitz H. Optimization of molecular representativeness. J Chem Inf Model. 2014;54:1567–1577. doi: 10.1021/ci400715n. [DOI] [PubMed] [Google Scholar]
- 45.Majhi K, Bertoluzzi L, Rietwyk KJ, Ginsburg A, Keller DA, Lopez-Varo P, Anderson AY, Bisquert J, Zaban A (2016) Thin-film photovoltaics: combinatorial investigation and modelling of MoO3 hole-selective contact in TiO2|Co3O4|MoO3 all-oxide solar cells. Adv Mater Interfaces 3. doi:10.1002/admi.201670005
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
The libraries used in this article as well as any supporting tools will be provided upon request from the authors.