Convert to ExampleSet

sectyn
sectyn New Altair Community Member
edited November 2024 in Community Q&A
I am reading a txt file using Open File operator. How can I store the result as an ExampleSet? The Store operator stores it as a memory buffered file.
Tagged:

Best Answer

Answers

  • kypexin
    kypexin New Altair Community Member
    Hi @sectyn

    There's no precise answer to this question, because there are multiple different ways to do it. Generally, it depends. 

    For better understanding, you should specify at least the following: 
    • what is the exact format of the input file?
    • what rules do you have in mind for converting text to dataset? for example, do you want to somehow parse the input, to store separate lines as examples, etc etc. 
  • frederic_gomer_
    frederic_gomer_ New Altair Community Member
    Answer ✓
    Hi,

    @sectyn, This is an example of reading file : 


    Attach File :  Convert_to_ExampleSet.rmp