Timely and accurate crop mapping is crucial for providing essential data support for agricultural production management. Reliable ground truth samples form the foundation for crop mapping using remote sensing imagery, a task that presents significant challenges in regions with limited sample availability. To address this issue, this study evaluates instance-based transfer learning methods, using the Hexi Corridor as a case study to explore crop mapping strategies in areas with scarce samples. High-confidence pixels from the United States Cropland Data Layer (CDL), along with high-density time series data derived from Sentinel-1, Sentinel-2, and Landsat-8 satellite imagery, as well as key vegetation indices, were selected as training samples for the source domain. Various algorithms, including Random Forest (RF), Extreme Gradient Boosting (XGBoost), and TrAdaBoost, were employed to transfer knowledge from the source domain to the target domain for crop type mapping. The results demonstrated that during the transfer learning process using only source domain data—without utilizing any target domain data—the overall classification accuracy reached 73.88%, with optimal accuracies for maize and alfalfa at 88.97% and 85.23%, respectively. As target domain data were gradually incorporated, the total accuracy for all models ranged from 0.77 to 0.92, with F1-scores ranging from 0.76 to 0.92, showing a consistent improvement in model performance. This study highlights the feasibility of employing transfer learning for crop mapping in the Hexi Corridor, demonstrating its potential to reduce labeling costs for target domain samples and providing a valuable reference for crop mapping in regions with limited sample availability.
The multidimensional urban built environment (BE) in high-density cities has been shown to be closely related to the urban vitality (UV) of residents’ travelling. However, existing research lacks consideration of the differences in this relationship over a week, so this paper proposes an ensemble machine learning approach that simultaneously considers different time periods of the week. This study reveals the impacts of four dimensions of BE variables on UV at different time periods at the scale of the community life circle. The four well-performing base models are integrated to reveal the mechanism of differential effects of BE variables on UV under different time periods in the old city of Nanjing through Shapley addition explanation. The findings reveal that (1) the seven most important built environment variables existed in different time periods of the week: floor area ratio, service POI density, remote sensing ecological index, POI mixability, average building height, fractional vegetation cover, and maximum building area; (2) The nonlinear and threshold effects of the built environment factors differed across time periods of the week; (3) There is a dominant interaction between built environment variables at different time periods of the week. This study can provide guidance for the refined management of complex urban systems.