1
$\begingroup$

I would like to ask, how can I add my own .csv data file to run a quantum support vector machine using qiskit ? I don't want to use already existing datasets in sklearn, scikit-learn library.

$\endgroup$
8
  • $\begingroup$ What data do you have in this .csv file? Would it be possible to just use python to open and parse/read the file, and then use the data within qiskit once it has been read from the file? $\endgroup$ Feb 24, 2020 at 15:32
  • $\begingroup$ Yes, only python is enough to read my .csv data file. Would you please share your email, so that I can send it $\endgroup$
    – vis555
    Feb 24, 2020 at 15:35
  • $\begingroup$ If it is the file-reading part that you need help with then I think the Python docs for their csv reader/writer library should help: docs.python.org/2/library/csv.html $\endgroup$ Feb 24, 2020 at 15:38
  • $\begingroup$ I am still not getting, I want to run quantum svm code, mentioned in my question, where a python programe is mentioned, I just want to ask, how should I use or where I should put my .csv data file, if you can share your email, i can show my data file, thanks..!! $\endgroup$
    – vis555
    Feb 24, 2020 at 15:43
  • $\begingroup$ Please can you close one of your questions so that all the discussion can be kept in one place :) It may be useful to other people in future $\endgroup$
    – met927
    Feb 24, 2020 at 15:47

0