hello


hello, a keras code which loads keras, says "Hello, world!", and exits.

Why write such an idiotic code? Because at the moment, I am getting an error when I try to run a keras program, and the error is apparently triggered as soon as I say "import keras", that is, almost immediately. In order to convince the tech support staff that the error is that fundamental, I want a code that doesn't contain anything else.

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

hello is available in a bash version and a C version and a C++ version and a Fortran77 version and a Fortran90 version and a FreeFem++ version and a java version and a julia version and a keras version and a MATLAB version and an Octave version and a Python version and an R version

Related Programs:

boston, a keras code which sets up a neural network to apply regression to predict housing prices, based on the Boston housing dataset, as read from internal data functions.

boston_housing, a keras code which sets up a neural network to apply regression to predict housing prices, based on the Boston housing dataset.

boston_housing_external, a keras code which reads the Boston housing dataset from an external file, rather than referencing the built-in keras dataset, and applies regression to predict housing prices

dogs_vs_cats_data, a keras code which sets up test, train, and valid directories with data for the dogs versus cats example.

dogs_vs_cats1, a keras code which sets up a convolutional neural network to classify jpeg images as being of dogs or of cats.

hourly_wages, a keras code which uses a neural network to create a multivariable regression model from a set of hourly wage data.

imdb, a keras code which sets up a neural network to classify movie reviews as positive or negative. This is similar to the "movie_review" code, but is designed to be run on a remote computing node which does not have internet access at run time.

imdb_dataset_load, a keras code which can download a copy of the IMDB dataset and place it in the default location if that has not already been done.

mnist, a keras code which sets up a neural network to classify the MNIST digit image data.

mnist_convnet, a keras code which sets up a convolutional neural network to classify the MNIST digit image data.

montana, a keras code which seeks a regression formula y = b + w * x, using data supplied in an internal function.

movie_review, a keras code which sets up a neural network to classify movie reviews from the IMDB database.

newswire, a keras code which sets up a neural network for the classification of Reuters newswire texts into one of 46 categories.

paraheat_gaussian_parameter, a keras code which reads data for the heat equation with a parameterized gaussian diffusivity, and uses a neural network to estimate a single parameter from solution values at sensor locations.

paraheat_gaussian_parameters, a keras code which reads data for the heat equation with a parameterized gaussian diffusivity, and uses a neural network to estimate four parameters from solution values at sensor locations.

regression_1d, a keras code which reads training and test files of data pairs (x,y), and seeks a regression formula y = b + w * x.

Author:

John Burkardt.

Source Code:


Last revised on 22 July 2020.