Main

Rdf Photoz

Main.RdfPhotoz History

Show minor edits - Show changes to markup

Added line 9:
Added line 14:
Added line 19:
Added line 21:
Added line 23:
Added line 25:
Added line 27:
Changed line 15 from:

Next load the data to b passed through the RDF:

to:

I then load the data using my own routines, but basically you need to load odd numbered rows of the file, skip the first 2 rows

Added lines 18-20:

</code> Next load the data to b passed through the RDF: <code>

Added lines 1-20:

In a recent paper we show how

We make the machine learning redshift code, and the best architecture available here. We also make the training/test/xval data available.

You can read in the file by:

<code> import pickle impor numpy as np

clf = pickle.load(open("best_rdf.p',"rb")) </code>

Next load the data to b passed through the RDF: <code> testin = # load odd numbered rows of the file, skip the first 2 rows RDF_redshift = np.array(clf.predict(testin))

</code>

Options: