2cf9e49a1f849100e1b55e3e474e086ddfa6fff2,src/skmultiflow/demos/_test_sam_knn.py,,,#,45

Before Change


    // X=pd.read_csv("../datasets/neweather_data.csv", sep=",", header=None).values
    // y=pd.read_csv("../datasets/neweather_class.csv", sep=",", header=None, dtype=np.int8).values.ravel()
    X = np.loadtxt("../data/datasets/movingSquares.data")
    y = np.loadtxt("../data/datasets/movingSquares.labels", dtype=np.uint8)
    logging.info("%d samples" % X.shape[0])
    logging.info("%d dimensions" % X.shape[1])
    run(X[:], y[:], hyperParams)

After Change


    stream = FileStream("../data/datasets/moving_squares.csv")
    stream.prepare_for_use()

    X, y = stream.next_sample(stream.n_samples)

    logging.info("%d samples" % X.shape[0])
    logging.info("%d dimensions" % X.shape[1])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 2cf9e49a1f849100e1b55e3e474e086ddfa6fff2
Time: 2018-09-12
Author: jacob.montiel@gmail.com
File Name: src/skmultiflow/demos/_test_sam_knn.py
Class Name:
Method Name:


Project Name: SPFlow/SPFlow
Commit Name: 1facee330afb8fbd3f1eda762d0954b32863d2c3
Time: 2018-06-19
Author: molina@cs.tu-darmstadt.de
File Name: src/spn/tests/old/test_tf.py
Class Name:
Method Name:


Project Name: SPFlow/SPFlow
Commit Name: 17850af896582ee071cccda2c4362d06fca17aac
Time: 2018-03-30
Author: molina@cs.tu-darmstadt.de
File Name: src/spn/tests/learnspn.py
Class Name:
Method Name: