Skip to content

Instantly share code, notes, and snippets.

@abhishek-Kumar009
Created February 10, 2019 15:36
Show Gist options
  • Save abhishek-Kumar009/a40e0be6af5ce96a664b6eb00a84d3ea to your computer and use it in GitHub Desktop.
Save abhishek-Kumar009/a40e0be6af5ce96a664b6eb00a84d3ea to your computer and use it in GitHub Desktop.
newDataset = sio.loadmat('anomalyDataTest.mat')
Xtest = newDataset['X']
Xvaltest = newDataset['Xval']
yvaltest = newDataset['yval']
@mani1250
Copy link

How can we get the yval array.

Do I have to manually look into the validation data and discover the indices which has outlier, or is there any other way?

Also how to make this yval if we have multidimensional array, i.e. more than 1 feature

@abhishek-Kumar009
Copy link
Author

I think I have mentioned how to extract the outliers at the last. Please find it there in the blog :)
I did not understand the rest of your question about yval.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment