Complex Value Neural Network use .csv Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Moderator Election Q&A - Questionnaire 2019 Community Moderator Election ResultsComplex Chunking with NLTKOpen source Anomaly Detection in PythonImprove 2D data handling to classify according to sign of slopeHow to use flow_from_directory in keras for csvAre there neural networks packages that use complex numbers?Is machine learning a viable tool to map accent from speech onto text/syllables?Genarate one hour time interval array using pandas in python (import from csv) to predict next valueHow to create a simple K-Means Cluster Algorithm in Python?Determine input array that approximates a target output array from complex numerical simulation?Organizing complex analysis project
Wu formula for manifolds with boundary
How to find all the available tools in mac terminal?
How to convince students of the implication truth values?
Is grep documentation wrong?
Why didn't Eitri join the fight?
Generate an RGB colour grid
Using et al. for a last / senior author rather than for a first author
Closed form of recurrent arithmetic series summation
How do pianists reach extremely loud dynamics?
How to tell that you are a giant?
What causes the direction of lightning flashes?
Would "destroying" Wurmcoil Engine prevent its tokens from being created?
8 Prisoners wearing hats
Did MS DOS itself ever use blinking text?
Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?
How do I make this wiring inside cabinet safer? (Pic)
Delete nth line from bottom
What is homebrew?
How could we fake a moon landing now?
Is there a kind of relay only consumes power when switching?
Around usage results
Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?
Should I use a zero-interest credit card for a large one-time purchase?
Can a party unilaterally change candidates in preparation for a General election?
Complex Value Neural Network use .csv
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Moderator Election Q&A - Questionnaire
2019 Community Moderator Election ResultsComplex Chunking with NLTKOpen source Anomaly Detection in PythonImprove 2D data handling to classify according to sign of slopeHow to use flow_from_directory in keras for csvAre there neural networks packages that use complex numbers?Is machine learning a viable tool to map accent from speech onto text/syllables?Genarate one hour time interval array using pandas in python (import from csv) to predict next valueHow to create a simple K-Means Cluster Algorithm in Python?Determine input array that approximates a target output array from complex numerical simulation?Organizing complex analysis project
$begingroup$
This is the part of my program in python :
--> Path of input data and output data for learning
training_data = 'training_data.csv'
training_data_name = 'training_data'
--> csv Skip the first line, which is the load header, and skip it
training_data = np.genfromtxt(training_data, delimiter=",", skip_header=1, dtype='float32')
training_input_data = training_data[:, :n_Input]
training_output_data = training_data[:, n_Input:]
real_col = [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22]
imag_col = [1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23]
real_col_out = [0]
imag_col_out = [1]
training_real_input = training_input_data[:, real_col]
training_imag_input = training_input_data[:, imag_col]
training_real_output = training_output_data[:, real_col_out]
training_imag_output = training_output_data[:, imag_col_out]
-->From up prog, I want to relation complex value .csv in python.
This down program if I use just array or constant value is success,
but if I want relation from .csv can not run.
real_input = tf.constant(real_col)
imag_input = tf.constant(imag_col)
tf.complex(real_input, imag_input)
real_output = tf.constant(real_col_out)
imag_output = tf.constant(imag_col_out)
tf.complex(real_output, imag_output)
--> How to relation .csv and tensorflow in complex value?
I hope all of you can help me...
Thank you
python
New contributor
$endgroup$
add a comment |
$begingroup$
This is the part of my program in python :
--> Path of input data and output data for learning
training_data = 'training_data.csv'
training_data_name = 'training_data'
--> csv Skip the first line, which is the load header, and skip it
training_data = np.genfromtxt(training_data, delimiter=",", skip_header=1, dtype='float32')
training_input_data = training_data[:, :n_Input]
training_output_data = training_data[:, n_Input:]
real_col = [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22]
imag_col = [1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23]
real_col_out = [0]
imag_col_out = [1]
training_real_input = training_input_data[:, real_col]
training_imag_input = training_input_data[:, imag_col]
training_real_output = training_output_data[:, real_col_out]
training_imag_output = training_output_data[:, imag_col_out]
-->From up prog, I want to relation complex value .csv in python.
This down program if I use just array or constant value is success,
but if I want relation from .csv can not run.
real_input = tf.constant(real_col)
imag_input = tf.constant(imag_col)
tf.complex(real_input, imag_input)
real_output = tf.constant(real_col_out)
imag_output = tf.constant(imag_col_out)
tf.complex(real_output, imag_output)
--> How to relation .csv and tensorflow in complex value?
I hope all of you can help me...
Thank you
python
New contributor
$endgroup$
add a comment |
$begingroup$
This is the part of my program in python :
--> Path of input data and output data for learning
training_data = 'training_data.csv'
training_data_name = 'training_data'
--> csv Skip the first line, which is the load header, and skip it
training_data = np.genfromtxt(training_data, delimiter=",", skip_header=1, dtype='float32')
training_input_data = training_data[:, :n_Input]
training_output_data = training_data[:, n_Input:]
real_col = [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22]
imag_col = [1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23]
real_col_out = [0]
imag_col_out = [1]
training_real_input = training_input_data[:, real_col]
training_imag_input = training_input_data[:, imag_col]
training_real_output = training_output_data[:, real_col_out]
training_imag_output = training_output_data[:, imag_col_out]
-->From up prog, I want to relation complex value .csv in python.
This down program if I use just array or constant value is success,
but if I want relation from .csv can not run.
real_input = tf.constant(real_col)
imag_input = tf.constant(imag_col)
tf.complex(real_input, imag_input)
real_output = tf.constant(real_col_out)
imag_output = tf.constant(imag_col_out)
tf.complex(real_output, imag_output)
--> How to relation .csv and tensorflow in complex value?
I hope all of you can help me...
Thank you
python
New contributor
$endgroup$
This is the part of my program in python :
--> Path of input data and output data for learning
training_data = 'training_data.csv'
training_data_name = 'training_data'
--> csv Skip the first line, which is the load header, and skip it
training_data = np.genfromtxt(training_data, delimiter=",", skip_header=1, dtype='float32')
training_input_data = training_data[:, :n_Input]
training_output_data = training_data[:, n_Input:]
real_col = [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22]
imag_col = [1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23]
real_col_out = [0]
imag_col_out = [1]
training_real_input = training_input_data[:, real_col]
training_imag_input = training_input_data[:, imag_col]
training_real_output = training_output_data[:, real_col_out]
training_imag_output = training_output_data[:, imag_col_out]
-->From up prog, I want to relation complex value .csv in python.
This down program if I use just array or constant value is success,
but if I want relation from .csv can not run.
real_input = tf.constant(real_col)
imag_input = tf.constant(imag_col)
tf.complex(real_input, imag_input)
real_output = tf.constant(real_col_out)
imag_output = tf.constant(imag_col_out)
tf.complex(real_output, imag_output)
--> How to relation .csv and tensorflow in complex value?
I hope all of you can help me...
Thank you
python
python
New contributor
New contributor
edited 14 mins ago
Anggraini Puspitasari
New contributor
asked 20 mins ago
Anggraini PuspitasariAnggraini Puspitasari
11
11
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "557"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Anggraini Puspitasari is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f49512%2fcomplex-value-neural-network-use-csv%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Anggraini Puspitasari is a new contributor. Be nice, and check out our Code of Conduct.
Anggraini Puspitasari is a new contributor. Be nice, and check out our Code of Conduct.
Anggraini Puspitasari is a new contributor. Be nice, and check out our Code of Conduct.
Anggraini Puspitasari is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Data Science Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f49512%2fcomplex-value-neural-network-use-csv%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown