Open Access
Issue
A&A
Volume 672, April 2023
Article Number A65
Number of page(s) 9
Section Catalogs and data
DOI https://doi.org/10.1051/0004-6361/202245720
Published online 30 March 2023

© The Authors 2023

Licence Creative CommonsOpen Access article, published by EDP Sciences, under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

This article is published in open access under the Subscribe to Open model. Subscribe to A&A to support open access publication.

1 Introduction

This paper is a follow-up of (Jiménez-Arranz et al. 2023, hereafter J23). In that paper, the authors analyzed the kinematics of the Large Magellanic Cloud (LMC) using the Gaia DR3 data; the analysis required a reliable separation of LMC and foreground (Milky Way) stars in the dataset; for this purpose, a classification method based on a neural network (NN) was developed, tested, and applied. The result was a series of datasets providing a reliable selection of LMC objects, published through the Centre de Données de Strasbourg for public use.

In this work, we extended the application of this methodology to the Small Magellanic Cloud (SMC) in order to obtain similarly reliable datasets for the study of this object. We made them public for general use.

The paper is organized as follows. In Sect. 2, we describe the Gaia base sample and the training sample. In Sect. 3, we explain how we trained the classifier and applied it to the Gaia base sample. We also compared the different datasets obtained. In Sect. 4, we validate the datasets with external data such as Cepheids (Ripepi et al. 2017), RRLyrae (Muraveva et al. 2018), and StarHorse (Anders et al. 2022). Finally, we give our conclusions in Sect. 5.

2 Data selection

In this section, we introduce the samples used in this paper. First, we characterize the Gaia DR3 base sample (Gaia Collaboration 2021a) with stars selected around the SMC center. The contamination of foreground MW stars in this sample is nonnegligible. One may consider distinguishing the SMC and MW through their distances; however, due to the large uncertainties in the parallax-based distances at the SMC (Lindegren et al. 2021) it is not possible and would only be effective when subtracting bright MW stars. Second, we characterize the Gaia training sample we used to train the machine learning classifier (NN) to distinguish SMC stars from MW foreground stars. This training sample intends to mimic the full dataset available in the Gaia catalog.

2.1 Gaia base sample

The Gaia base sample was obtained using a selection from the gaia_source table in Gaia DR3 with a 10° radius around the SMC center defined as (α, δ) = (12.80°, −73.15°) (Cioni et al. 2000a) and a limiting G-magnitude of 20.5. We only kept the stars with parallax and integrated photometry information, since they are used in the SMC/MW classification. This selection can be reproduced using the following ADQL query in the Gaia archive:

SELECT * FROM gaiadr3.gaia_source as g
WHERE 1=CONTAINS(POINT(’ICRS’,g.ra, g.dec),
CIRCLE(‘ICRS’,12.80,−73.15, 10))
AND g.parallax IS NOT NULL
AND g.phot_g_mean_mag IS NOT NULL
AND g.phot_bp_mean_mag IS NOT NULL
AND g.phot_rp_mean_mag IS NOT NULL
AND g.phot_g_mean_mag < 20.5

The resulting base sample contains a total of 4 047 225 objects.

thumbnail Fig. 1

Characteristics of GOG simulated samples in orange and blue: SMC and the MW training samples, respectively. Top left and middle: distribution of proper motions in right ascension and declination, respectively. Top right: parallax distribution. Bottom left: magnitude G distribution of the simulated samples. Bottom middle and right: color-magnitude diagram of the SMC and MW, respectively. Colors represent relative stellar density, with darker colors meaning higher densities.

2.2 Gaia training sample

As in J23, we used GOG (Luri et al. 2014) to produce a training dataset with similar characteristics to the base sample. We selected particles within 10° of the SMC center. We made it compatible with recent estimations of the mean distance and systemic motion obtained from EDR3 data: a distance of 62.8 kpc (Cioni et al. 2000b) and a systemic motion of , μδ = 0.385 mas yr−1 as inferred in the linear fit (Table 4) to the proper motions in Gaia Collaboration (2021b, hereafter MC21).

The Gaia training sample is split into two labelled subsets, one containing SMC stars and the other MW stars. The SMC simulation includes 54 109 sources, a smaller number of stars in comparison to what was expected for the data. That is because the GOG simulator is based on a pre-defined catalog of OGLE stars to provide real positions for the SMC stars (see details in Luri et al. 2014). On the otherhand, the MW simulation is based on a realistic Galactic model that generates a number of stars that matches the observations. Similarly to the strategy used in J23, we compensated this unbalanced and unrealistic ratio between SMC and MW stars by retaining a random 20% fraction of the MW simulation, obtaining 285 258 sources. In Fig. 1, both SMC and MW training subsets are characterised.

Our training sample is the result of combining these two simulations, which we contrast with the Gaia base sample in Fig. 2. These plots demonstrate that the Gaia training sample roughly matches the major characteristics of the Gaia base sample, but they also highlight some of its limitations. For example, the color–magnitude diagram (CMD) for the SMC simulation is not fully representative at the faintest magnitudes – with a lack of stars and an artificial cut line- and the distribution of the SMC stars in the sky forms a kind of square due to its origin based on an extraction from the OGLE catalog. We tested their effectiveness using a number of validation samples to ensure that they are appropriate.

2.3 Proper motions-based classification

To establish a baseline comparison with previous methods, we used the same selection based on the proper motions as in MC21. In short, the MW foreground contamination is minimized by computing the median proper motions of the SMC from a sample constrained to its very center and cutting the magnitude and parallax. We only kept stars whose proper motions obey the constraint of χ2 < 9.21, that is, an estimated 99% confidence region (see details in Sect. 2.2 of MC21). The resulting sample (hereafter PM selection) contains 1 720 856 objects1.

thumbnail Fig. 2

Gaia base and training samples comparison. Top from left to right: density distribution in equatorial coordinates of the Gaia base and Gaia training samples in logarithmic scale, parallax, and G-magnitude distributions. Bottom from left to right: proper motion distributions in right ascension and declination and color-magnitude diagrams for the Gaia base and training samples. In the histograms, we show the Gaia base sample, while in dotted purple we show the Gaia training sample. In the color-magnitude diagrams, colors represent relative stellar density with darker colors meaning higher densities.

3 SMC/MW classification

In this section, we define an improved, more efficient, and adjustable selection strategy to distinguish the SMC stars from the MW foreground. Based on this classifier, we selected three samples of candidate SMC stars with different degrees of completeness and purity.

3.1 Training the classifier

The sklearn Python package (Pedregosa et al. 2011) was used to create a classifier. Using the Gaia data, this module includes a number of classifiers that can be used to differentiate the MW foreground objects from the SMC objects in our base sample using the training sample mentioned in the preceding section. We used the position (α, δ), parallax, and its uncertainty (ϖ, σϖ), along with the proper motions and their uncertainties (, μδ, , ), and Gaia photometry (G, GBP, GRP).

As in J23, we select as classifier the NN. The NN has 11 input neurons, corresponding to the 11 Gaia parameters listed above; three-hidden-layers with six, three, and two nodes, respectively; and a single output that gives the probability P of being a SMC star for each object (or, conversely, the probability of not being a MW star). The object is very likely to belong to the SMC (MW) if the P value is close to 1 (0). The activation function that we employed was the rectified linear unit (ReLU). With a constant learning rate, stochastic gradient descent is used in our model to optimize the log-loss function. The strength of the L2 regularization term is 1e-52.

To train the algorithm, we used 60% of the training sample, and the remaining 40% was used for testing purposes. By creating the receiver operating characteristic (ROC) curve and computing the area under the curve (AUC), we assessed the classifier performance. One of the most crucial evaluation criteria for determining the effectiveness of any classification model is the ROC curve. Using various probability thresholds, it summarizes the trade-off between the true positive rate and false positive rate. Another useful tool for classifier evaluation is the AUC of the ROC curve. The larger the AUC, the better the classifier works. An excellent model has an AUC that is close to 1, indicating that it has a high level of separability. Having an AUC equal to 0.5 indicates that the model is incapable of classifying the data.

We provide the ROC curve of our NN classifier in the left panel of Fig. 3. We achieve an AUC of 0.998, indicating that our classifier accurately distinguishes between SMC and MW stars in the test sample. We show the precision-recall curve in the right panel of Fig. 3. When the classes are severely unbalanced, it is another helpful indicator to assess the output quality of the classifier. Both evaluation criteria display a nearly flawless classifier when applied to the training (simulated) data; however, the same warnings regarding the classifier described in J23 apply here.

3.2 Applying the classifier to the Gaia base data

After the NN has been trained, we use it to extract probabilities for each object in the Gaia base sample. Figure 4 displays the resulting probability distribution. Two distinct peaks can be seen, one with probability near 0 and the other with probability near 1. These peaks match stars that the classifier can definitely identify as being MW and SMC sources, respectively. There is a flat tail with intermediate probability in between, which represents sources for which the NN has more difficulties classifying. Only 537 137 stars have a probability P between 0.01 and 0.9, corresponding to 13% of the SMC base sample.

We must establish a probability threshold Pcut in order to acquire a classification using the probabilities that the classifier generated for each star. The star is thought to belong to the SMC if P > Pcut and the MW if P < Pcut (alternatively, we could deem stars with intermediate probabilities as unclassified). Fixing a low probability threshold allows us to ensure that no SMC objects are missed, but at the cost of having more “mistaken” MW stars in the SMC-classified sample. Conversely, by setting a high probability threshold, we can reduce contamination in the resultant SMC-classified sample, but at the cost of omitting some SMC stars and producing a less complete sample.

As seen in J23, a choice regarding the purity-completeness trade-off will determine the characteristics of the final sample and may, therefore, have an impact on the results. To examine the impact of this trade-off, we defined two different samples in this work:

  1. Complete sample (Pcut = 0.01). In this case, a cut at low probability prioritizes completeness at the cost of larger MW contamination. We determined the cut value by looking at the classification’s probability histogram (Fig. 4) and selecting the upper limit of the peak of small probability values.

  2. Optimal sample (Pcut = 0.31). The probability cut in this instance was determined to be the best possible in terms of classification; the value corresponds to the “elbow” of the ROC curve (Fig. 3), which is in principle the ideal compromise between completeness and purity.

Additionally, and because MW stars exponentially rise at fainter magnitudes whereas SMC stars rapidly decrease beyond G ≃ 19.5 (see discussion in the next section), we introduced the third case after carefully studying the results for the optimal sample. We refer to it as the truncated-optimal sample (Pcut = 0.31) with G < 19.5 mag. As mentioned above, this cut avoids a region in the faint end, where the SMC training sample is not representative; by removing these stars, the MW contamination can be reduced and the stars with larger uncertainties are also discarded. Given the purity of the SMC diagrams in Fig. 5, we decided against making a second selection by excluding areas of the CMD diagram where contamination is more likely.

Finally, we take into account two datasets for each of the four samples: firstly, the full sample, where we assume that there is no information on the line-of-sight velocities for any of the stars; secondly, a subset of the first sample that only contains stars with Gaia DR3 line-of-sight velocities is kept. These samples are referred to as the corresponding Vlos samples. In Table 1, the second and third columns show the number of stars for each data set together with the mean astrometric information.

thumbnail Fig. 3

Evaluation metrics for NN classifier performance. Left: ROC curve. Black dot is in the “elbow” of the ROC curve and shows the best balance between completeness and purity. The purple star shows the completeness threshold. Right: precision-recall curve. In both cases, we compare our model (orange solid curve) with a classifier that has no class separation capacity (blue dashed curve).

thumbnail Fig. 4

Gaia base sample’s probability distribution for the NN classifier. A high likelihood of being an SMC (MW) star is indicated by a probability value close to 1 (0).

3.3 Comparison of classifications

Figure 6 displays the sky density distributions for the classified SMC/MW members in our various samples. We provide the SMC selection for each sample in the left column, and the sources designated as MW are displayed in the right column. Proper-motion selection is the first row, followed by the three NN-based selection strategies, and each row corresponds to one selection technique. As may be expected, the outcomes of the proper-motion-based selection closely resemble those of MC21.

Since an anomalous classification in the SMC outskirts is not seen in these figures, we notice that the restricted spatial distribution of the SMC training sample (square region in top left panel of Fig. 2) does not pose an issue for extrapolating the membership outside this region. Additionally, we observe that sources identified as MW by all four samples exhibit an overdensity in the SMC central part, the most populated region, indicating that SMC stars were misidentified. Two globular clusters, Tuc 47 and NGC362, were successfully removed from the SMC samples (see the concentration of stars around (α, δ) ≃ (5°, −72°) and (16°, −71°), respectively). Moreover, we observe that, in accordance with the concept of the probability cut, fewer stars are categorized as belonging to the MW the more complete the SMC sample is. In this regard, a cross-match between the complete sample and the proper motion selection sample reveals that the latter almost entirely contains the former: of the 1 720 856 stars in the proper motion sample, 1 697 614 of them are included in the complete sample, and the complete sample also contains nearly 400 000 additional stars. Regarding the MW samples, we can estimate their SMC contamination by comparing its density with the one of a uniform sky field observed nearby, but away from the SMC center; the observed overdensity gives an estimation of the “excess” of SMC stars. From this comparison, the percentage of SMC stars in the MW sample is estimated to be around 5–10%, the MW optimal sample being the less contaminated one.

We also notice that the astrometric parameter dispersion decreases from the NN complete to the NN truncated-optimal samples. This is to be expected given that the samples’ distance and velocities are more similar due to the stricter sequence of selection criteria.

In Fig. 5, we compare the astrometry and photometry distribution of the different SMC samples. In the proper motion selection sample, the distribution of proper motion is observed to be narrow around the bulk motion of the SMC due to the severe cut in proper motion enforced; however, in the MW classification, two minor peaks are evident after the SMC. The NN samples do not reveal this misclassification. We observe a secondary peak in the right ascension proper motion around 5.2 mas yr−1, which corresponds to the systemic motion of Tuc 47 (Gaia Collaboration 2018). The truncated-optimal sample has the narrowest parallax distribution among the four LMC samples, which are all quite similar to one another. The G-magnitude distributions in the four SMC selections vary significantly from one another. Both the PM and the NN samples have a G-magnitude peak at G ~ 19 mag, which is related to the SMC stars, and a secondary peak at the limiting magnitude G = 20.5 mag, which corresponds to the MW contamination. Due to this, we define the truncated-optimal sample by subtracting the secondary peak from the optimal sample, as mentioned above. This secondary peak is caused by the exponential distribution in G of the MW stars, arising from the logarithmic relation between the stellar flux and the apparent magnitude combined with the magnitude cut and the spatial distribution of the stars in the disk. The SMC stars, on the other hand, exhibit a significant peak at G ≃ 19 mag, slightly differing between samples depending on the amount of MW misclassified sources.

All SMC samples have a fairly similar CMD. Only minor variations are visible in the MW selection of the optimal and truncated-optimal samples, which comprise, as expected, sources of the red giant branch of the SMC that the NN classifier misidentifies as MW.

thumbnail Fig. 5

Astrometric and photometric characteristics of the SMC and MW samples. From left to right: PM sample, NN complete, NN optimal, and NN truncated-optimal samples. In the first four rows, we show distributions of proper motion in right ascension and declination, parallax, and G-magnitude, respectively, of the SMC (orange) and MW (blue) samples. In the last two rows, we show the color–magnitude diagram of the samples classified as SMC and MW, respectively. Color represents the relative stellar density, with darker colors meaning higher densities.

Table 1

Comparison of the SMC samples’ number of sources and mean astrometry between the proper motion selection (MC21) and the NNs.

thumbnail Fig. 6

Sky density distribution in equatorial coordinates of both the SMC (left) and MW (right) sample obtained from the different classifiers. First row: proper motion selection classification. Second row: complete NN classification. Third row: optimal NN classification. Fourth row: truncated-optimal NN classification. We note that in the fourth row, we display a cut in magnitude G > 19.5 for both the SMC and MW samples and, therefore, the total number of stars is reduced.

4 External validation of the classification

In order to validate the results of our selection criteria we compare each of the generated samples with external independent classifications. To do so, we cross-matched our samples with dedicated catalogues of the SMC chosen to have a high degree of purity in the visible band. For this reason, we exclude from this exercise the VMC survey (Cioni et al. 2011) for being in the near-infrared and the SMASH survey (Nidever et al. 2017) for not performing any contamination study, and we use the following:

  • SMC Cepheids (Ripepi et al. 2017): we used the 4793 Cepheids from the paper’s sample as a set of highly reliable SMC objects. Using a 0.3″ search radius to find high confidence matches and keeping 4788 stars, we cross-matched the positions supplied in the study with the Gaia DR3 catalogue to obtain the Gaia DR3 data. To make a final selection of 4765 SMC Cepheids, we introduced a cut with a 10° radius around the SMC center (replicating our base sample).

  • SMC RR-Lyrae (Muraveva et al. 2018): we employed the 2997 RR-Lyrae sample from the paper as high-reliability SMC objects in a manner similar to the foregoing. After the sample is cross-matched with the Gaia DR3 catalog, it is downsized to 2982 stars, and then we cut a final sample of 2922 SMC RR-Lyrae in a 10° radius around the SMC center.

  • StarHorse (Anders et al. 2022): using a cut of 10° around the SMC center, we cross-matched this catalog with the Gaia DR3 data and obtained a sample of 1 000 066 stars. We distinguished MW and SMC stars using the StarHorse distances, but with a cutoff of d = 55 kpc, using criteria similar to those put forward in Schmidt et al. (2020, 2022) for the LMC. This choice is supported by the StarHorse sample’s distance distribution, which is depicted in Fig. 7. A very stringent categorization is produced by a cut in d = 55 kpc, reducing the pollution of MW stars (see discussion below). As a result, we are left with a StarHorse SMC sample of 193 402 stars and a StarHorse MW sample of 806 660 stars. We note that this sample only has stars up to G = 18.5.

The Cepheids and RR-Lyrae datasets contain objects that are highly reliably identified as SMC stars; therefore, they are used to assess how complete our classification of SMC objects is (i.e., how many we lose). On the other hand, because the StarHorse classification is imperfect, this sample can be used to estimate the contamination brought on by incorrectly identified MW stars. Furthermore, the estimated amount of MW contamination in the classification will be a “worst case” scenario because of the extremely strict criteria utilized in StarHorse for the separation (cut in d = 55 kpc).

Table 2 compares the outcomes of our four classification criteria as they were applied to the stars in the three validation samples. The results using the Cepheids, RR-Lyrae, and StarHorse SMC validation samples reveal that the completeness of the resulting SMC classifications is excellent, typically exceeding 95%. The truncated-optimal sample is the exception, where the cut in faint stars reduces the RR-Lyrae’s completeness.

On the other hand, the relative contamination by MW stars is more challenging to evaluate in the samples. We rely on an external comparison, the StarHorse distance-based classification, with the caveat that this classification also includes its own classification errors. In order to do this, we recalculate the precision-recall curve using the StarHorse classification as a reference this time; the outcome is depicted in Fig. 8. We can observe that the precision essentially stays flat across the plot’s entire range, or across the entire range of probability threshold values. This suggests that the complete and optimal samples both have identical relative contamination since the more restrictive we are, the more MW stars we remove, but we also lose more SMC stars. According to the precision values in Fig. 8, using the classification based on StarHorse distances as a reference, the relative contamination of our samples could be around 40%; this is a worst-case scenario, because we used a very restrictive distance cut. These statistics need to be interpreted carefully because the MW-SMC separation based on StarHorse distances is not a perfect classification criterion and actually uses less data than our criterion. Although many stars still have intermediate distances that fall between the Magellanic Clouds and the MW as a result of the multimodal posterior distance distributions, these populations are plainly evident as overdensities in the maps as mentioned in the StarHorse publication (Anders et al. 2022).

These findings indicate that there may be a few tens of percent of MW stars in our samples, but we can further investigate using the line-of-sight velocities in Gaia DR3, which are only available for a (small) subset of the full sample. These line-of-sight velocities have distinct mean values for the MW and SMC, are not used by any of our classification criteria, and, therefore, provide an independent check. The contamination of the SMC sample is evident from the histograms of line-of-sight velocities plotted separately for MW and SMC stars in Fig. 9. This contamination is most likely far lower than the values mentioned above. For instance, we estimate the MW contamination to be around 10% if we take into account the SMC NN complete sample and (roughly) separate the MW stars with a cut at Vlos < 75 km s−1. Also, this check is not entirely representative since only stars at the bright end of the sample (G ≲ 16) are included in the subset of Gaia DR3 stars with observed line-of-sight velocities.

Finally, we made a new query to the Gaia archive similar to the one described in Sect. 2.1. This time, we select all the sources within a 10° radius in a nearby area with uniform sky density from the Gaia DR3 database. By doing so, we may estimate the number of MW stars that should be present in locations that our Gaia base sample covers. We found 932 332 stars from this new query, so we may anticipate a comparable number of MW stars in the area we chose to surround the SMC. Given that the Gaia base sample contains 4 047 225 objects and the number of objects classified as SMC (Table 1) is around 1–2 million, the number of stars classified as MW is around 3–2 million; therefore, we can conclude that our NN SMC samples prioritise purity over completeness since there are too many stars classified as MW (an excess of 1–2 million). This is also clear from the right panels of Fig. 6, where the pattern of SMC contamination is displayed in the distribution of stars classified as MW.

Table 2

Matches of the classified SMC members in our four considered samples against the validation samples.

thumbnail Fig. 7

StarHorse validation sample distance distribution. In blue (orange), the StarHorse stars classified as MW (SMC) according to the d = 55 kpc criteria.

thumbnail Fig. 8

Evaluation metrics for NN classifier performance using the StarHorse sample. Left: ROC curve. Black dot is in the “elbow” of the ROC curve and it shows the best balance between completeness and purity. Right: precision-recall curve. In both cases, we compare our model (orange solid curve) with a classifier that has no class separation capacity (blue dashed curve).

thumbnail Fig. 9

Line-of-sight velocity distribution for stars classified as SMC (top) and MW (bottom). We show the three Vlos subsamples of the PM selection (left), NN complete (middle), and NN optimal (right) samples.

5 Conclusions

In this work, we present a new SMC/MW classification method that is compared with previous selection strategies based on the proper motion. It is based on NNs and trained using a MW+SMC simulation created by GOG. We created two SMC samples using various probability cuts, Pcut, the NN complete, with Pcut = 0.01, and the NN optimal sample, with Pcut = 0.31, which corresponds to the best value according to the ROC curve. In order to remove any remaining contamination from incorrectly categorised faint stars, we added an additional cut to this final sample at the apparent G-magnitude of G < 19.5 mag, creating the NN truncated-optimal sample. Moreover, we created sub-samples that contain both proper motions and line-of-sight velocities by using the recently released spectroscopic line-of-sight velocities provided in Gaia DR3. Finally, we successfully validated our classifier using external and independent classifications: SMC Cepheids, SMC RR Lyrae, and SMC/MW StarHorse stars. In general, the estimated contamination of MW stars in each of the SMC samples is about 10–40%, the “best case” being for the bright stars (G < 16), which belong to the Vlos subsamples, and the “worst case” being for the full SMC sample determined by the very stringent criteria used for the separation in the StarHorse validation sample. A further check based on the comparison with a nearby area with uniform sky density indicates that the global contamination in our samples is probably close to the low end of the range, around 10%.

Acknowledgements

This work has made use of data from the European Space Agency (ESA) mission Gaia (https://www.cosmos.esa.int/gaia), processed by the Gaia Data Processing and Analysis Consortium (DPAC, https://www.cosmos.esa.int/web/gaia/dpac/consortium). Funding for the DPAC has been provided by national institutions, in particular the institutions participating in the Gaia Multilateral Agreement. OJA acknowledges funding by l’Agència de Gestio d’Ajuts Universitaris i de Recerca (AGAUR) official doctoral program for the development of a R+D+i project under the FI-SDUR grant (2020 FISDU 00011). OJA, MRG, XL and EM acknowledge funding by the Spanish MICIN/AEI/10.13039/501100011033 and by “ERDF A way of making Europe” by the “European Union” through grant RTI2018-095076-B-C21, and the Institute of Cosmos Sciences University of Barcelona (ICCUB, Unidad de Excelencia ‘María de Maeztu’) through grant CEX2019-000918-M.

References

  1. Anders, F., Khalatyan, A., Queiroz, A. B. A., et al. 2022, A&A, 658, A91 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  2. Cioni, M. R. L., Habing, H. J., & Israel, F. P. 2000a, A&A, 358, A9 [NASA ADS] [Google Scholar]
  3. Cioni, M. R. L., van der Marel, R.P., Loup, C., & Habing, H.J. 2000b, A&A, 359, 601 [NASA ADS] [Google Scholar]
  4. Cioni, M. R. L., Clementini, G., Girardi, L., et al. 2011, A&A, 527, A116 [CrossRef] [EDP Sciences] [Google Scholar]
  5. Gaia Collaboration (Helmi, A., et al.) 2018, A&A, 616, A12 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  6. Gaia Collaboration (Brown, A.G.A., et al.) 2021a, A&A, 649, A1 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  7. Gaia Collaboration (Luri, X., et al.) 2021b, A&A, 649, A7 [EDP Sciences] [Google Scholar]
  8. Jiménez-Arranz, Ó., Romero-Gómez, M., Luri, X., et al. 2023, A&A, 669, A91 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  9. Lindegren, L., Klioner, S. A., Hernández, J., et al. 2021, A&A, 649, A2 [EDP Sciences] [Google Scholar]
  10. Luri, X., Palmer, M., Arenou, F., et al. 2014, A&A, 566, A119 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  11. Muraveva, T., Subramanian, S., Clementini, G., et al. 2018, MNRAS, 473, 3131 [Google Scholar]
  12. Nidever, D. L., Olsen, K., Walker, A. R., et al. 2017, AJ, 154, 199 [Google Scholar]
  13. Pedregosa, F., Varoquaux, G., Gramfort, A., et al. 2011, J. Mach. Learn. Res., 12, 2825 [Google Scholar]
  14. Ripepi, V., Cioni, M.-R.L., Moretti, M.I., et al. 2017, MNRAS, 472, 808 [NASA ADS] [CrossRef] [Google Scholar]
  15. Schmidt, T., Cioni, M.-R.L., Niederhofer, F., et al. 2020, A&A, 641, A134 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  16. Schmidt, T., Cioni, M.-R.L., Niederhofer, F., et al. 2022, A&A, 663, A107 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]

1

We note that the difference in the number of sources with the ones in MC21 comes from the different cut in radius, now being of 10° instead of 11°.

2

The corresponding author can be contacted if readers are interested in using the NN developed in the paper.

All Tables

Table 1

Comparison of the SMC samples’ number of sources and mean astrometry between the proper motion selection (MC21) and the NNs.

Table 2

Matches of the classified SMC members in our four considered samples against the validation samples.

All Figures

thumbnail Fig. 1

Characteristics of GOG simulated samples in orange and blue: SMC and the MW training samples, respectively. Top left and middle: distribution of proper motions in right ascension and declination, respectively. Top right: parallax distribution. Bottom left: magnitude G distribution of the simulated samples. Bottom middle and right: color-magnitude diagram of the SMC and MW, respectively. Colors represent relative stellar density, with darker colors meaning higher densities.

In the text
thumbnail Fig. 2

Gaia base and training samples comparison. Top from left to right: density distribution in equatorial coordinates of the Gaia base and Gaia training samples in logarithmic scale, parallax, and G-magnitude distributions. Bottom from left to right: proper motion distributions in right ascension and declination and color-magnitude diagrams for the Gaia base and training samples. In the histograms, we show the Gaia base sample, while in dotted purple we show the Gaia training sample. In the color-magnitude diagrams, colors represent relative stellar density with darker colors meaning higher densities.

In the text
thumbnail Fig. 3

Evaluation metrics for NN classifier performance. Left: ROC curve. Black dot is in the “elbow” of the ROC curve and shows the best balance between completeness and purity. The purple star shows the completeness threshold. Right: precision-recall curve. In both cases, we compare our model (orange solid curve) with a classifier that has no class separation capacity (blue dashed curve).

In the text
thumbnail Fig. 4

Gaia base sample’s probability distribution for the NN classifier. A high likelihood of being an SMC (MW) star is indicated by a probability value close to 1 (0).

In the text
thumbnail Fig. 5

Astrometric and photometric characteristics of the SMC and MW samples. From left to right: PM sample, NN complete, NN optimal, and NN truncated-optimal samples. In the first four rows, we show distributions of proper motion in right ascension and declination, parallax, and G-magnitude, respectively, of the SMC (orange) and MW (blue) samples. In the last two rows, we show the color–magnitude diagram of the samples classified as SMC and MW, respectively. Color represents the relative stellar density, with darker colors meaning higher densities.

In the text
thumbnail Fig. 6

Sky density distribution in equatorial coordinates of both the SMC (left) and MW (right) sample obtained from the different classifiers. First row: proper motion selection classification. Second row: complete NN classification. Third row: optimal NN classification. Fourth row: truncated-optimal NN classification. We note that in the fourth row, we display a cut in magnitude G > 19.5 for both the SMC and MW samples and, therefore, the total number of stars is reduced.

In the text
thumbnail Fig. 7

StarHorse validation sample distance distribution. In blue (orange), the StarHorse stars classified as MW (SMC) according to the d = 55 kpc criteria.

In the text
thumbnail Fig. 8

Evaluation metrics for NN classifier performance using the StarHorse sample. Left: ROC curve. Black dot is in the “elbow” of the ROC curve and it shows the best balance between completeness and purity. Right: precision-recall curve. In both cases, we compare our model (orange solid curve) with a classifier that has no class separation capacity (blue dashed curve).

In the text
thumbnail Fig. 9

Line-of-sight velocity distribution for stars classified as SMC (top) and MW (bottom). We show the three Vlos subsamples of the PM selection (left), NN complete (middle), and NN optimal (right) samples.

In the text

Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.

Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.

Initial download of the metrics may take a while.