Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hello! How Can I Use "Report_Scatter2D" In Order To Report Timestamp In The X-Axis?

Hello!
How can I use "report_scatter2d" in order to report Timestamp in the x-axis?

  
  
Posted 3 years ago
Votes Newest

Answers 32


The bug was fixed 🙂

  
  
Posted 3 years ago

client

  
  
Posted 3 years ago

but I cannot compare between them :A, what do you think about that? AgitatedDove14

  
  
Posted 3 years ago

Should work in all cases, plotly/matplotlib/scalar_rerport

  
  
Posted 3 years ago

ohh cool even with report_scatter2d?

  
  
Posted 3 years ago

AgitatedDove14 doesnt work with clear ml version as well. The X axis is shown as int numbers intead of timestamp

  
  
Posted 3 years ago

SweetGiraffe8
That might be it, could you test with the Demo server ?

  
  
Posted 3 years ago

I'm working with cloned task, can it be related to that?

  
  
Posted 3 years ago

AgitatedDove14 that is what i Have in the notebook

  
  
Posted 3 years ago

Hi SweetGiraffe8
could you try with the latest RC
pip install 0.17.5rc2

  
  
Posted 3 years ago

server or client?

  
  
Posted 3 years ago

so can you send me some code examples?

  
  
Posted 3 years ago

1 seconds

  
  
Posted 3 years ago

When I have:
n = 20 duration = 1000 now = time.mktime(time.localtime()) timestamps = np.linspace(now, now + duration, n) dates = [dt.datetime.fromtimestamp(ts) for ts in timestamps] values = np.sin((timestamps - now) / duration * 2 * np.pi) fig = go.Figure(data=go.Scatter(x=dates, y=values, mode='markers')) task.get_logger().report_plotly( title="plotly", series="b", iteration=0, figure=fig)Everything looks okay

  
  
Posted 3 years ago

` fig = go.Figure(data=go.Scatter(x=x, y=y, mode='markers'))

logger = cloned_task.get_logger()
logger.report_plotly(title="pnl", series="expected", iteration=0, figure=fig)
fig.show() `
  
  
Posted 3 years ago

where x is timestamp

  
  
Posted 3 years ago

can you send me a screen shot from the ui?

  
  
Posted 3 years ago

AgitatedDove14

  
  
Posted 3 years ago

weird..

  
  
Posted 3 years ago

maybe its because im still using trains server?

  
  
Posted 3 years ago

SweetGiraffe8

  
  
Posted 3 years ago

I can see the plots correctly 🙂 thanks

  
  
Posted 3 years ago

can i see the relevant git commit?

  
  
Posted 3 years ago

and thats from the ui:

  
  
Posted 3 years ago

AgitatedDove14 instead of using the clear ml

  
  
Posted 3 years ago

SweetGiraffe8 Works when I'm using plotly...
Can you please copy paste the code with the plotly, it's probably something I'm missing

  
  
Posted 3 years ago

but I cannot compare between them

I think we noticed it, and this will be fixed in the next server update (again, some plotly.js issue there)

  
  
Posted 3 years ago

Feel free to open an issue on GitHub making sure this is not forgotten

  
  
Posted 3 years ago

It worked! what was the difference?

  
  
Posted 3 years ago
773 Views
32 Answers
3 years ago
20 days ago
Tags