IoTPy.modules.ML.examples.linear_regression.
source
Returns a list of two random values
state : int
The step
list
List of two random values
IoTPy.modules.ML.examples.meetup.
plot
Plots Meetup RSVPs and centroids
x : numpy.ndarray
The location data to plot
y : numpy.ndarray
No data
model : object
Kmeans model
state : object
The plot state
Geomap.Geomap
The current map
Returns the next Meetup RSVP
This function gets the next Meetup RSVP from the Meetup stream and returns the location data.
The Meetup stream
A list containing the location data and the state