Skip to content

Instantly share code, notes, and snippets.

@orionpax00
Last active March 28, 2019 16:31
Show Gist options
  • Select an option

  • Save orionpax00/ac71bf452e15107792c54122ab2b1dab to your computer and use it in GitHub Desktop.

Select an option

Save orionpax00/ac71bf452e15107792c54122ab2b1dab to your computer and use it in GitHub Desktop.
from awake.visualise import Plotting
plot1 = Plotting()
plot1.plot(data={x:[],y:[]},type="line",interactivity="low",...)
from awake.visualise import Plotting
plot = Plotting()
plot.plot(data, type, style_info, interactivity, summary, summary_out, ...)
from awake.ml import Regression
reg = Regression()
reg.fit(data={X:[],Y:[]}, split_ratio=0.2,learning_rate=0.01,epochs=25,batch_size=80,type_of_normalization="mean",...)
reg.plots()
reg.accuracy()
reg.confusion_matrix()
reg.training_time()
from awake.core import Info
info = Info()
info.info(data)
info.plot()
from awake.server import search
search('http://localhost:8000',search_query={different conbination of serach pattern})
from awake.server import get_dataset
get_dataset('http://localhost:8000/get_dataset',type="dataset",location="AwakeEventData/AWAKEInjPhaseShifter/PhaseReadback/phaseACurrentValue",return_type="numpy_array")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment