Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(16)  |  Call(8)  |  Derive(0)  |  Import(8)

src/a/s/astroML-0.2/book_figures/chapter1/fig_LINEAR_sample.py   astroML(Download)
import numpy as np
from matplotlib import pyplot as plt
from astroML.datasets import fetch_LINEAR_sample, fetch_LINEAR_geneva
 
#----------------------------------------------------------------------
# Get data for the plot
data = fetch_LINEAR_sample()
geneva = fetch_LINEAR_geneva()  # contains well-measured periods
 
# Compute the phased light curve for a single object.

src/a/s/astroML-HEAD/book_figures/chapter1/fig_LINEAR_sample.py   astroML(Download)
import numpy as np
from matplotlib import pyplot as plt
from astroML.datasets import fetch_LINEAR_sample, fetch_LINEAR_geneva
 
#----------------------------------------------------------------------
# Get data for the plot
data = fetch_LINEAR_sample()
geneva = fetch_LINEAR_geneva()  # contains well-measured periods
 
# Compute the phased light curve for a single object.

src/a/s/astroML-0.2/book_figures/chapter10/fig_LINEAR_SVM.py   astroML(Download)
from sklearn.cross_validation import train_test_split
from astroML.decorators import pickle_results
from astroML.datasets import fetch_LINEAR_geneva
 
#----------------------------------------------------------------------
setup_text_plots(fontsize=8, usetex=True)
 
data = fetch_LINEAR_geneva()
 
attributes = [('gi', 'logP'),

src/a/s/astroML-0.2/book_figures/chapter10/fig_LINEAR_GMMBayes.py   astroML(Download)
from sklearn.cross_validation import train_test_split
from astroML.decorators import pickle_results
from astroML.datasets import fetch_LINEAR_geneva
 
#----------------------------------------------------------------------
setup_text_plots(fontsize=8, usetex=True)
 
data = fetch_LINEAR_geneva()
 
attributes = [('gi', 'logP'),

src/a/s/astroML-0.2/book_figures/chapter10/fig_LINEAR_clustering.py   astroML(Download)
 
from astroML.decorators import pickle_results
from astroML.datasets import fetch_LINEAR_geneva
 
#----------------------------------------------------------------------
#------------------------------------------------------------
# Get the Geneva periods data
data = fetch_LINEAR_geneva()
 
#----------------------------------------------------------------------

src/a/s/astroML-HEAD/book_figures/chapter10/fig_LINEAR_SVM.py   astroML(Download)
from sklearn.cross_validation import train_test_split
from astroML.decorators import pickle_results
from astroML.datasets import fetch_LINEAR_geneva
 
#----------------------------------------------------------------------
setup_text_plots(fontsize=8, usetex=True)
 
data = fetch_LINEAR_geneva()
 
attributes = [('gi', 'logP'),

src/a/s/astroML-HEAD/book_figures/chapter10/fig_LINEAR_GMMBayes.py   astroML(Download)
from sklearn.cross_validation import train_test_split
from astroML.decorators import pickle_results
from astroML.datasets import fetch_LINEAR_geneva
 
#----------------------------------------------------------------------
setup_text_plots(fontsize=8, usetex=True)
 
data = fetch_LINEAR_geneva()
 
attributes = [('gi', 'logP'),

src/a/s/astroML-HEAD/book_figures/chapter10/fig_LINEAR_clustering.py   astroML(Download)
 
from astroML.decorators import pickle_results
from astroML.datasets import fetch_LINEAR_geneva
 
#----------------------------------------------------------------------
#------------------------------------------------------------
# Get the Geneva periods data
data = fetch_LINEAR_geneva()
 
#----------------------------------------------------------------------