Complete the code to import the library used for concept drift detection.
from river import [1]
The drift module in River library provides tools for concept drift detection.
Complete the code to create a drift detector object for detecting changes in data streams.
detector = drift.[1]()ADWIN is a popular adaptive windowing method used for concept drift detection.
Fix the error in the code to correctly update the drift detector with new data points.
for value in data_stream: detector.[1](value)
The update method is used to feed new data points to the drift detector.
Fill both blanks to check if the detector has detected a change and print a message.
if detector.[1](): print('Concept drift [2]!')
The method change_detected() returns True if drift is detected. The message is 'Concept drift detected!'.
Fill all three blanks to create a dictionary that maps feature names to their current values only if drift is detected.
if detector.change_detected(): drift_info = [1]: [2] for [3] in features
The dictionary comprehension syntax requires braces and key-value pairs. Here, keys are feature names and values are their current values.