Deep Learning for Physical Scientists. Edward O. Pyzer-Knapp. Читать онлайн. Newlib. NEWLIB.NET

Автор: Edward O. Pyzer-Knapp
Издательство: John Wiley & Sons Limited
Серия:
Жанр произведения: Химия
Год издания: 0
isbn: 9781119408352
Скачать книгу

      2.4.3 Adding Markdown to Notebooks

      Markdown helps to add structure to documents and improve readability. As with typical markdown, you can easily specify headings and subheadings, as demonstrated in the following example:

      # Heading 1 ## Heading 2 ### Heading 3

      You can also embolden or italicise your text:

      **Here is an example of emboldening** and *italicization*.

      Bullet points or numbered lists can also easily be used:

      * Here are * some bullet points 1. Here is 2. a list 1. and sublist

       `code = example`

      As well as being able to incorporate illustrative code, the markdown also makes it very easy to incorporate mathematical symbols and equations, as it supports LaTeX:

       $y = \sum:{i=0}^{10}{x^i}$ Snapshot shows the usage of mathematical symbols and equations.

      2.4.4 A Simple Plotting Example

      Plotting in Jupyter notebooks is an easy and powerful way to visualise data and interact with the visualisations. Below we show a simple plotting example:

      Note the “%matplotlib inline” line in the above code. This will produce an in‐line plot within the notebook, as follows:

Snapshot shows a graph plotting the x and y values. Snapshot shows creating interactive plots.

      This interactive plot allows the user to easily pan, zoom, and download the plot.

      2.4.5 Summary

      In this section, we have seen how Jupyter notebooks can be used to create dynamic documents with embedded code. These notebooks facilitate intuitive knowledge transfer, helping you to convey complex scientific and mathematical concepts with the aid of executable code and interactive visualisations. For more information, and to see further examples of what can be achieved with Jupyter notebooks, please visit the Jupyter website at: jupyter.org

      Конец ознакомительного фрагмента.

      Текст предоставлен ООО «ЛитРес».

      Прочитайте эту книгу целиком, купив полную легальную версию на ЛитРес.

      Безопасно оплатить книгу можно банковской картой Visa, MasterCard, Maestro, со счета мобильного телефона, с платежного терминала, в салоне МТС или Связной, через PayPal, WebMoney, Яндекс.Деньги, QIWI Кошелек, бонусными картами или другим удобным Вам способом.

/9j/4AAQSkZJRgABAQEBLAEsAAD/7SCmUGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAAccAgAAAgAA ADhCSU0EJQAAAAAAEOjxXPMvwRihontnrcVk1bo4QklNBDoAAAAAAPcAAAAQAAAAAQAAAAAAC3By aW50T3V0cHV0AAAABQAAAABQc3RTYm9vbAEAAAAASW50ZWVudW0AAAAASW50ZQAAAABDbHJtAAAA D3ByaW50U2l4dGVlbkJpdGJvb2wAAAAAC3ByaW50ZXJOYW1lVEVYVAAAAAoAQQBkAG8AYgBlACAA UABEAEYAAAAAAA9wcmludFByb29mU2V0dXBPYmpjAAAADABQAHIAbwBvAGYAIABTAGUAdAB1AHAA AAAAAApwcm9vZlNldHVwAAAAAQAAAABCbHRuZW51bQAAAAxidWlsdGluUHJvb2YAAAAJcHJvb2ZD TVlLADhCSU0EOwAAAAACLQAAABAAAAABAAAAAAAScHJpbnRPdXRwdXRPcHRpb25zAAAAFwAAAABD cHRuYm9vbAAAAAAAQ2xicmJvb2wAAAAAAFJnc01ib29sAAAAAABDcm5DYm9vbAAAAAAAQ250Q2Jv b2wAAAAAAExibHNib29sAAAAAABOZ3R2Ym9vbAAAAAAARW1sRGJvb2wAAAAAAEludHJib29sAAAA AABCY2tnT2JqYwAAAAEAAAAAAABSR0JDAAAAA