Hello Ana,
Yes! You can set your TEMPDIR as shown here. The new location you use for temp depends on your system setup and which disks have space.
The feature-classifier also uses a lot of RAM, so it might be worth checking on your memory usage while running this script, if you haven't already.