b25babd44bbf1dafb7f0fe7bd633c3814770aa62,examples/plot_transformer.py,,,#,12
Before Change
X_transformed = estimator.fit_transform(X)
plt.plot(X.flatten()/X.max(), label="Original Data")
plt.plot(X_transformed.flatten()/X_transformed.max(), label="Transformed Data")
plt.title("Scaled plots of original and transformed data")
plt.legend(loc="best")
After Change
plt.legend(loc="best")
plt.grid(True)
plt.xlabel("Index")
plt.ylabel("Value of Data")
plt.show()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: dmbee/seglearn
Commit Name: b25babd44bbf1dafb7f0fe7bd633c3814770aa62
Time: 2016-05-10
Author: vighneshbirodkar@nyu.edu
File Name: examples/plot_transformer.py
Class Name:
Method Name: