File tree Expand file tree Collapse file tree 2 files changed +3
-80
lines changed Expand file tree Collapse file tree 2 files changed +3
-80
lines changed Original file line number Diff line number Diff line change 1- from mlaide import MLAideClient , ConnectionOptions
2- from mlaide .model import ArtifactRef
1+ from mlaide import MLAideClient , ConnectionOptions , ArtifactRef
32import pandas as pd
43from sklearn import metrics
54from sklearn .linear_model import Lasso , LinearRegression
1110# create connection
1211options = ConnectionOptions (
1312 server_url = 'http://localhost:9000/api/v1' ,
14- api_key = 'YXV0aDB8NWY1M2FiNjc0MmUzNDUwMDZkYjJiOGQyOjB3wrdNeuKAoVfigLnigrbigrDigqDigKE= '
13+ api_key = ''
1514)
1615mlaide_client = MLAideClient (project_key = 'usa-housing' , options = options )
1716
1817# start tracking
1918run_data_preparation = mlaide_client .start_new_run (experiment_key = 'linear-regression' , run_name = 'data preparation' )
2019
2120# read data
22- housing_data = pd .read_csv ('data/housing.csv' )
21+ housing_data = pd .read_csv ('boston-house-pricing/ data/housing.csv' )
2322
2423# add dataset as artifact
2524artifact = run_data_preparation .create_artifact (name = "USA housing dataset" , artifact_type = "dataset" , metadata = {})
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments