-
-
Save mdfarragher/4c8fbc9689081ffa540c8f40b240baf4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// filename for data set | |
var dataPath = Path.Combine(Environment.CurrentDirectory, "california_housing.csv"); | |
// create the machine learning context | |
var context = new MLContext(); | |
// load the dataset | |
var data = context.Data.LoadFromTextFile<HouseBlockData>( | |
path: dataPath, | |
hasHeader:true, | |
separatorChar: ','); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment