Série: Music
python
14 linhas
· Atualizado 2026-02-03
ex01.py
Music/ex01.py
from sklearn.preprocessing import StandardScaler
import numpy as np
X = np.array([
[1, 2],
[3, 4],
[5, 6]])
scaler = StandardScaler()
X_scaled = scaler.fit_transform(X)
print("Means:", scaler.mean_)
print("Standard deviations:", np.sqrt(scaler.var_))
print("Scaled data:\n", X_scaled)
Artigos relacionados
Music
python
Atualizado 2026-02-03
essentia.py
essentia.py — python source code from the Music learning materials (Music/essentia.py).
Ler artigo →
Music
python
Atualizado 2026-02-03
extract_midi_notes.py
extract_midi_notes.py — python source code from the Music learning materials (Music/extract_midi_notes.py).
Ler artigo →
Music
python
Atualizado 2026-02-03
getMidiNotes.py
getMidiNotes.py — python source code from the Music learning materials (Music/getMidiNotes.py).
Ler artigo →
Music
python
Atualizado 2026-02-03
markovchain_v2.py
markovchain_v2.py — python source code from the Music learning materials (Music/markovchain_v2.py).
Ler artigo →
Music
python
Atualizado 2026-02-03
musc5211.py
musc5211.py — python source code from the Music learning materials (Music/musc5211.py).
Ler artigo →
Music
python
Atualizado 2026-02-03
music_ai_util.py
music_ai_util.py — python source code from the Music learning materials (Music/music_ai_util.py).
Ler artigo →