Alternative Python interface (sciki-learn form).