data_science/

directory
v0.0.0-...-361c87b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2017 License: Apache-2.0

Directories

Path Synopsis
caching
example1
All material is licensed under the Apache License Version 2.0, January 2004 http://www.apache.org/licenses/LICENSE-2.0 go build ./example1 Sample program to show how to cache data from an API.
All material is licensed under the Apache License Version 2.0, January 2004 http://www.apache.org/licenses/LICENSE-2.0 go build ./example1 Sample program to show how to cache data from an API.
example2
Sample program to save data from an API in an embedded k/v store.
Sample program to save data from an API in an embedded k/v store.
exercises/exercise1
Sample program to show how to cache data from an API, and then use that data in analyzing a dataset.
Sample program to show how to cache data from an API, and then use that data in analyzing a dataset.
exercises/template1
Sample program to show how to cache data from an API, and then use that data in analyzing a dataset.
Sample program to show how to cache data from an API, and then use that data in analyzing a dataset.
classification_kNN
example1
Sample program to profile our data set.
Sample program to profile our data set.
example2
Sample program to train and validate a kNN model with cross validation.
Sample program to train and validate a kNN model with cross validation.
exercises/exercise1
Program for finding an optimal k value for a k nearest neighbors model.
Program for finding an optimal k value for a k nearest neighbors model.
exercises/template1
Template programe for finding an optimal k value for a k nearest neighbors model.
Template programe for finding an optimal k value for a k nearest neighbors model.
classification_trees
example1
Sample program to train and validate a decision tree model with cross validation.
Sample program to train and validate a decision tree model with cross validation.
example2
Sample program to determine an optimal value of the decision tree pruning parameter.
Sample program to determine an optimal value of the decision tree pruning parameter.
exercises/exercise1
Sample program to visualize the accuracy of models with various decision tree pruning parameters.
Sample program to visualize the accuracy of models with various decision tree pruning parameters.
exercises/template1
Sample program to visualize the accuracy of models with various decision tree pruning parameters.
Sample program to visualize the accuracy of models with various decision tree pruning parameters.
csv_cleaning
example1
Sample program to read in records from an example CSV file to a dataframe.
Sample program to read in records from an example CSV file to a dataframe.
example2
Sample program to create a dataframe and subsequently filter and subset the dataframe.
Sample program to create a dataframe and subsequently filter and subset the dataframe.
example3
Sample program to register of CSV file as an in-memory SQL database and execute SQL queries on the CSV.
Sample program to register of CSV file as an in-memory SQL database and execute SQL queries on the CSV.
example4
Sample program to register of CSV file as an in-memory SQL database and execute SQL queries on the CSV.
Sample program to register of CSV file as an in-memory SQL database and execute SQL queries on the CSV.
exercises/exercise1
Sample program to read in a CSV, create three filtered datasets, and save those datasets to three separate files.
Sample program to read in a CSV, create three filtered datasets, and save those datasets to three separate files.
exercises/exercise2
Sample program to register of CSV file as an in-memory SQL database, sum float columns, and output a process CSV.
Sample program to register of CSV file as an in-memory SQL database, sum float columns, and output a process CSV.
exercises/template1
Sample program to read in a CSV, create three filtered datasets, and save those datasets to three separate files.
Sample program to read in a CSV, create three filtered datasets, and save those datasets to three separate files.
exercises/template2
Sample program to register of CSV file as an in-memory SQL database, sum float columns, and output a process CSV.
Sample program to register of CSV file as an in-memory SQL database, sum float columns, and output a process CSV.
csv_io
example1
Sample program to read in records from an example CSV file.
Sample program to read in records from an example CSV file.
example2
Sample program to read in records from an example CSV file, and catch an unexpected extra field in the data.
Sample program to read in records from an example CSV file, and catch an unexpected extra field in the data.
example3
Sample program to read in records from an example CSV file, and catch an unexpected types in a single column.
Sample program to read in records from an example CSV file, and catch an unexpected types in a single column.
example4
Sample program to save records to a CSV file.
Sample program to save records to a CSV file.
exercises/exercise1
Sample program to read in records from an example CSV file, and catch an unexpected types in any of the columns.
Sample program to read in records from an example CSV file, and catch an unexpected types in any of the columns.
exercises/exercise2
Sample program to read in records from an example CSV file, catch an unexpected types in any of the columns, and output processed data to a different CSV file.
Sample program to read in records from an example CSV file, catch an unexpected types in any of the columns, and output processed data to a different CSV file.
exercises/template1
Sample program to read in records from an example CSV file, and catch an unexpected types in any of the columns.
Sample program to read in records from an example CSV file, and catch an unexpected types in any of the columns.
exercises/template2
Sample program to read in records from an example CSV file, catch an unexpected types in any of the columns, and output processed data to a different CSV file.
Sample program to read in records from an example CSV file, catch an unexpected types in any of the columns, and output processed data to a different CSV file.
dimensionality_reduction
example1
Sample program to illustrate the calculation of principal components.
Sample program to illustrate the calculation of principal components.
example2
Sample program to visualize the impact of dimensionality reduction.
Sample program to visualize the impact of dimensionality reduction.
example3
Sample program to project iris data on to principal components.
Sample program to project iris data on to principal components.
exercises/exercise1
Sample program to project iris data on to 3 principal components.
Sample program to project iris data on to 3 principal components.
exercises/template1
Sample program to project iris data on to 3 principal components.
Sample program to project iris data on to 3 principal components.
evaluation
example1
Sample program to calculate an R^2 value.
Sample program to calculate an R^2 value.
example2
Sample program to calculate a mean absolute error.
Sample program to calculate a mean absolute error.
example3
Sample program to calculate a accuracy.
Sample program to calculate a accuracy.
example4
Sample program to calculate precision.
Sample program to calculate precision.
example5
Sample program to calculate recall.
Sample program to calculate recall.
exercises/exercise1
Sample program to calculate specificity.
Sample program to calculate specificity.
exercises/exercise2
Sample program to calculate a mean squared error.
Sample program to calculate a mean squared error.
exercises/template1
Sample program to calculate specificity.
Sample program to calculate specificity.
exercises/template2
Sample program to calculate a mean squared error.
Sample program to calculate a mean squared error.
hypothesis_testing
example1
Sample program to calculate expected values.
Sample program to calculate expected values.
example2
Sample program to calculate a chi-squared value.
Sample program to calculate a chi-squared value.
example3
Sample program to output the result of the test, based on a critical value.
Sample program to output the result of the test, based on a critical value.
integrity
example2
Sample program to compare parsing a clean CSV with Go to parsing a clean CSV with python.
Sample program to compare parsing a clean CSV with Go to parsing a clean CSV with python.
example4
Sample program to illustrate maintaining integrity with Go in the presence of messy data.
Sample program to illustrate maintaining integrity with Go in the presence of messy data.
exercises/exercise1
Sample program to illustrate maintaining integrity with Go in the presence of messy data.
Sample program to illustrate maintaining integrity with Go in the presence of messy data.
exercises/template1
Sample program to illustrate maintaining integrity with Go in the presence of messy data.
Sample program to illustrate maintaining integrity with Go in the presence of messy data.
json
example1
All material is licensed under the Apache License Version 2.0, January 2004 http://www.apache.org/licenses/LICENSE-2.0 go build ./example1 Sample program to show how to unmarshal JSON data from an API.
All material is licensed under the Apache License Version 2.0, January 2004 http://www.apache.org/licenses/LICENSE-2.0 go build ./example1 Sample program to show how to unmarshal JSON data from an API.
example2
All material is licensed under the Apache License Version 2.0, January 2004 http://www.apache.org/licenses/LICENSE-2.0 go build ./example1 Sample program to show how to save JSON data to a file.
All material is licensed under the Apache License Version 2.0, January 2004 http://www.apache.org/licenses/LICENSE-2.0 go build ./example1 Sample program to show how to save JSON data to a file.
exercises/exercise1
All material is licensed under the Apache License Version 2.0, January 2004 http://www.apache.org/licenses/LICENSE-2.0 go build ./exercise1 Sample program to show how to unmarshal JSON data from an API.
All material is licensed under the Apache License Version 2.0, January 2004 http://www.apache.org/licenses/LICENSE-2.0 go build ./exercise1 Sample program to show how to unmarshal JSON data from an API.
exercises/template1
All material is licensed under the Apache License Version 2.0, January 2004 http://www.apache.org/licenses/LICENSE-2.0 go build ./template1 Sample program to show how to unmarshal JSON data from an API.
All material is licensed under the Apache License Version 2.0, January 2004 http://www.apache.org/licenses/LICENSE-2.0 go build ./template1 Sample program to show how to unmarshal JSON data from an API.
matrices
example1
Sample program to read in records from an example CSV file and form a matrix with gonum.
Sample program to read in records from an example CSV file and form a matrix with gonum.
example2
Sample program to show modifications to matrices.
Sample program to show modifications to matrices.
example3
Sample program to access values within a matrix.
Sample program to access values within a matrix.
example4
Sample program to illustrate various ways to format matrix output.
Sample program to illustrate various ways to format matrix output.
exercises/exercise1
Sample program to read in records from a CSV file and form a matrix with gonum.
Sample program to read in records from a CSV file and form a matrix with gonum.
exercises/template1
Sample program to read in records from a CSV file and form a matrix with gonum.
Sample program to read in records from a CSV file and form a matrix with gonum.
matrix_operations
example1
Sample program to show basic matrix operations.
Sample program to show basic matrix operations.
example2
Sample program to compute the transpose, determinant, and inverse of a matrix.
Sample program to compute the transpose, determinant, and inverse of a matrix.
example3
Sample program to solve an eigenvalue/vector problem.
Sample program to solve an eigenvalue/vector problem.
example4
Sample program to compute vector and matrix norms.
Sample program to compute vector and matrix norms.
exercises/exercise1
Sample program to divide a matrix by its norm.
Sample program to divide a matrix by its norm.
exercises/template1
Sample program to divide a matrix by its norm.
Sample program to divide a matrix by its norm.
regression
example1
Sample program to profile our data set.
Sample program to profile our data set.
example2
Sample program to investigate correlations between our target and our features.
Sample program to investigate correlations between our target and our features.
example3
Sample program to create training, test, and holdout data sets.
Sample program to create training, test, and holdout data sets.
example4
Sample program to train and test a regression model.
Sample program to train and test a regression model.
example5
Sample program to validate a trained regression model on a holdout data set.
Sample program to validate a trained regression model on a holdout data set.
exercises/exercise1b
Sample program to train and test a multiple regression model.
Sample program to train and test a multiple regression model.
exercises/exercise1c
Sample program to validate a trained multiple regression model on a holdout data set.
Sample program to validate a trained multiple regression model on a holdout data set.
exercises/template1b
Sample program to train and test a multiple regression model.
Sample program to train and test a multiple regression model.
exercises/template1c
Sample program to validate a trained multiple regression model on a holdout data set.
Sample program to validate a trained multiple regression model on a holdout data set.
sql
example1
Sample program to connect to and ping a database connection.
Sample program to connect to and ping a database connection.
example2
Sample program to load the iris dataset into a database.
Sample program to load the iris dataset into a database.
example3
Sample program to retrieve results from a database.
Sample program to retrieve results from a database.
example4
Sample program to modify data in a database.
Sample program to modify data in a database.
exercises/exercise1
Sample program to retrieve results from a database.
Sample program to retrieve results from a database.
exercises/exercise2
Sample program to delete rows in a database table.
Sample program to delete rows in a database table.
exercises/template1
Sample program to retrieve results from a database.
Sample program to retrieve results from a database.
exercises/template2
Sample program to delete rows in a database table.
Sample program to delete rows in a database table.
stats_measures
example1
Sample program to calculate means, modes, and medians.
Sample program to calculate means, modes, and medians.
example2
Sample program to calculate means, modes, and medians.
Sample program to calculate means, modes, and medians.
example3
Sample program to calculate standard deviation and variance.
Sample program to calculate standard deviation and variance.
example4
Sample program to calculate quantiles
Sample program to calculate quantiles
exercises/exercise1
Sample program to calculate both central tendency and statistical dispersion measures for the iris dataset.
Sample program to calculate both central tendency and statistical dispersion measures for the iris dataset.
exercises/template1
Sample program to calculate both central tendency and statistical dispersion measures for the iris dataset.
Sample program to calculate both central tendency and statistical dispersion measures for the iris dataset.
stats_vizualization
example1
Sample program to generate a histogram of a normal distribution.
Sample program to generate a histogram of a normal distribution.
example2
Sample program to generate a histogram of the iris data variables.
Sample program to generate a histogram of the iris data variables.
example3
Sample program to generate a box plot of example distributions.
Sample program to generate a box plot of example distributions.
example4
Sample program to generate box plots of the iris data variables.
Sample program to generate box plots of the iris data variables.
exercises/exercise1
Sample program to generate a box plot of diabetes bmi values.
Sample program to generate a box plot of diabetes bmi values.
exercises/exercise2
Sample program to generate a histogram of diabetes bmi values.
Sample program to generate a histogram of diabetes bmi values.
exercises/template1
Sample program to generate a box plot of diabetes bmi values.
Sample program to generate a box plot of diabetes bmi values.
exercises/template2
Sample program to generate a histogram of diabetes bmi values.
Sample program to generate a histogram of diabetes bmi values.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL