essi

Essi Parent in the fediverse: @essi@write.as, @essi@blahaj.zone, @essicolo@pixel.social

There are many tutorials online on how to perform a PCA in Python, but few on how to generate a biplot with conventional scalings. So I did one myself on a Nextjournal notebook. Enjoy!

https://nextjournal.com/essicolo/principle-component-analysis-and-biplots-in-python

#en

Image source : cosmicskull.org

English version

Version originale du texte dans le journal Entrée libre

Sortez votre t-shirt tie-dye, votre patchouli et votre encens, pesez sur play puis accueillez la révélation du crâne cosmique sous la forme d’un grand dôme de verre confinant un arc-en-ciel en Technicolor.

Lire la suite...

Image source: cosmicskull.org

Version française

Get out your tie-dye t-shirt, your patchouli perfume and your incense, then press play to welcome the revelation of the cosmic skull in the form of a large glass dome confining a rainbow in Technicolor.

Lire la suite...

Version française

The computing platform Noteable recently created a plugin that allows interaction with ChatGPT. I opened a notebook, then dropped a dataset. I asked ChatGPT to generate the code in #Rstats to create an AI model on this data set. 30 seconds later, I had an optimized code. It's sick. It completely (and positively) upsets the way of teaching numerical computations. Rather than focusing on writing code, teaching should now focus more on the importance

  1. to ask the right questions and
  2. to understand the meaning of the answers

In a survey of 791 articles in 5 scientific journals, about half of the articles misinterpreted the notion of p-value, yet a gold standard in science (for the wrong reasons). We will be able to really focus on training critical thinking and put aside the ability to type code!

#en #datascience

English version

La plate-forme de calcul Noteable a récemment créé un plugin qui permet d'interagir avec ChatGPT. J'ai ouvert une feuille de calcul, puis j'y ai déposé un jeu de données. J'ai demandé à ChatGPT de générer le code en langage de programmation R pour créer un modèle d'IA sur ces données. Trente secondes plus tard, j'avais un code optimisé. C'est malade. Ça chamboule complètement (et positivement) la manière d'enseigner le calcul numérique. Plutôt que de se concentrer à écrire du code, l'enseignement devra dorénavant porter davantage sur l'importance

  1. de poser les bonnes questions et
  2. de comprendre le sens de la réponse

Dans une enquête effectuée sur 791 articles dans 5 journaux scientifiques, environ la moitié des articles mésinterprètaient la notion de p-value, pourtant un gold standard en science (pour de mauvaises raisons). On va pouvoir vraiment se concentrer à former de l’esprit critique et mettre un peu de côté la capacité à taper du code!

#fr #datascience #rstats

Music is not solely inspirational. Composers use frameworks. Some use western music theory, and any of their respective numerous genre and forms, which comes with their own rich history, culture, rules and patterns. This notebook shows how musical rules and patterns can be extracted from particular mathematical objects called cellular automata. This concept is not new. Genius composer Iannis Xenakis might have been the first to popularize (or even to use) them in music with his orchestral work Horos in 1986 (Solomos, 2013). This article applies a rather simple method to compose nusic with cellular automata, and can be summarized in three steps.

Full article on Deepnote

#en #music

Code is poetry, of course, but it is also music. The music21 Python package for computer musicology not only allows investigating musical scores with data science, but also to write your own scores with mathematical operations. Georges Dimitrov, composer and professor at Concordia University (Montreal, Canada), created the arvo package, which includes well-known minimalistic mathematical operations on notes to create no less rich musical scores. In this notebook, I explain how to compose the piece just below with arvo and music21 with minimalistic procedural composition techniques. You will need to have intermediate understanding of the Python programming language and basic understanding of western music theory.

Full article on Deepnote

#en #music

#agriculture #environnement #fr

Il y a deux ans, je publiais dans The Conversation un article faisant état de la grande distance entre les vertus attribuées à l'agriculture biologique et les faits avérés. Cet article a fait réagir bien des gens, positivement et négativement – le site de The Conversation montre un peu plus de 95 000 vues à ce jour.

From The Conversation: L’agriculture locale et bio est-elle vraiment meilleure pour l’environnement ? | La viabilité de l’agriculture reste intimement liée à son industrialisation. Un retour à une forme d’agriculture paysanne serait nocif pour l’environnement, la société et l’économie.

Depuis, la réflexion publique à ce sujet a cheminé. Georges Monbiot, probablement le journaliste en environnement le plus connu sur Terre, a vu les lobbies de l'agroalimentation récupérer le romantisme agricole dans leur opposition aux nouvelles technologies.

From the Guardian: The most damaging farm products? Organic, pasture-fed beef and lamb | Analysis: You may be amazed by that answer, but the area of land used for grazing is vast compared with the meat and milk produced

Lire la suite...

Version française

Almost two years ago, I began to write an article (in French but translatable) on the ecological impacts of organic agriculture compared to non-organic agriculture (called conventional). International data strongly supported the article, but I wished I had data from the Québec province (Canada) other than an institutional 2011 report, which itself admitted having very little data from Québec. Since then, I haven't read any really reliable Québec study... until my colleague from UQAC, Maxime Paré, wrote to me.

Hello Serge-Étienne, I hope you are well. I think our recent paper should interest you 😛. https://authors.elsevier.com/c/1eo0W3QCo9f8Lc (my translation from French)

The paper (Viana et al., 2022), of which Maxime Paré is co-author, compares the production of organic and conventional oats with a life cycle assessment.

Lire la suite...