Deep Learning Frameworks for Anomaly Detection in Time Series and Graphs with Limited Labels