Resource Optimization in Active-STAR-RIS-Aided THz ISAC Systems With DDA Modulation: A Machine-Learning Approach | Synapse