@sayedafatima I think the problem is that in your construct there is no iris dataset and no path where to find it. I set up an example that you could adapt:
In the subfolderf /script/ you also find a Jupyter Notebook where you would be able to test the code