want to read the file through machine learning, could you please help me
Page 1 / 1
Can you please elaborate little more, what format of the file? are you planning to use it from Machine learning workbench using pycelonis?
Thanks
Muthappan
Hi Sankarganesh,
You can open file in machine learning workbench using python using the below code (nb: assuming your file is a text file).
#directory: /home/imtiaz/code.py
text_file = open('file.txt','r')
#Another method using full location
text_file2 = open('/home/imtiaz/file.txt','r')
print('First Method')
print(text_file)
print('Second Method')
print(text_file2)
Thanks,
Akshay
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.