scikit-learn-demo

Simple example of an algorithm that uses a hosted scikit-learn model

(no tags)

    Algorithmia Platform License

    Run an Example

    [
      34.607000000000006,
      25.830000000000002,
      42.303000000000026,
      47.816,
      48.403999999999996,
      20.79500000000001,
      20.269000000000002,
      16.474999999999994,
      19.929000000000002,
      14.965000000000002,
      18.435,
      15.36600000000001,
      18.543000000000003,
      22.740000000000006,
      15.449999999999998,
      22.251000000000005,
      20.358000000000008,
      24.025999999999986,
      20.189999999999994,
      20.329999999999988,
      31.48000000000001,
      15.573,
      30.399000000000015,
      24.712,
      47.32000000000001,
      47.330999999999996,
      48.013000000000005,
      32.027000000000015,
      44.463,
      27.298,
      19.685000000000006,
      35.83800000000001,
      47.96000000000001,
      47.20200000000001,
      25.253999999999994,
      19.603000000000005,
      24.161000000000005,
      33.771000000000015,
      24.77299999999999,
      25.76100000000001,
      32.33500000000001,
      20.58300000000002,
      21.185000000000013,
      24.652999999999988,
      18.657000000000014,
      17.956000000000003,
      21.90500000000001,
      21.316000000000013,
      21.984,
      26.493999999999993,
      24.43899999999999,
      24.588999999999984,
      35.67100000000002,
      43.10199999999998,
      24.059999999999988,
      21.54300000000001,
      41.77200000000001,
      48.727000000000004,
      33.45000000000002,
      32.280000000000015,
      33.089000000000006,
      41.47500000000001,
      48.161,
      33.05700000000001,
      33.09900000000001,
      20.831000000000007,
      32.50500000000001,
      47.49200000000001,
      42.73300000000001,
      20.096000000000007,
      19.69500000000001,
      25.39699999999999,
      25.313000000000006,
      42.77300000000001,
      28.07999999999999,
      33.766000000000005,
      34.309000000000005,
      32.614999999999995,
      23.845000000000006,
      34.067,
      48.33800000000001,
      34.322,
      46.106000000000016,
      44.236000000000026,
      32.637000000000015,
      26.02,
      26.928999999999984,
      23.744,
      23.312000000000015,
      24.660000000000004,
      32.06700000000001,
      35.670000000000016,
      27.687000000000015,
      22.751000000000005,
      21.45700000000001,
      27.20299999999999,
      25.688000000000006,
      20.18200000000002,
      26.927999999999994,
      34.81100000000001,
      31.60799999999999,
      24.425000000000004,
      22.844000000000005,
      36.11300000000002,
      33.129,
      27.839999999999996,
      35.20199999999998,
      30.894999999999996,
      26.147000000000006,
      21.83300000000001,
      19.359999999999985,
      24.035999999999987,
      19.840999999999987,
      22.67700000000001,
      23.422000000000004,
      19.551000000000005,
      16.419,
      18.552000000000007,
      20.157000000000004,
      20.01,
      23.045,
      22.953000000000007,
      22.74000000000001,
      19.14000000000001,
      23.880999999999982,
      24.793999999999986,
      24.006999999999987,
      19.55400000000001,
      22.148999999999994,
      23.892000000000017,
      23.207000000000004,
      20.46300000000002,
      22.915000000000013,
      25.560999999999982,
      24.33799999999999,
      23.247999999999994,
      20.934,
      20.579000000000015,
      22.862000000000002,
      22.423000000000002,
      22.07500000000001,
      33.24300000000001,
      26.866,
      26.670000000000005,
      32.23800000000001,
      21.21500000000001,
      20.952000000000012,
      25.288000000000004,
      28.878000000000007,
      32.684000000000005,
      26.483999999999984,
      28.944999999999997,
      25.516000000000012,
      30.852999999999984,
      25.40900000000001,
      25.611000000000004,
      15.649999999999993,
      19.52899999999999,
      20.30299999999999,
      20.325999999999993,
      23.227999999999998,
      19.849,
      20.628999999999987,
      17.522999999999985,
      46.944,
      22.197999999999997,
      18.91199999999999,
      18.741999999999983,
      23.87599999999999,
      27.559,
      37.21100000000004,
      22.119999999999994,
      20.977999999999998,
      13.178999999999984,
      13.178999999999984,
      33.285000000000025,
      17.594999999999988,
      30.904000000000018,
      14.541999999999996,
      14.538999999999994,
      32.625000000000014,
      17.879999999999985,
      14.471999999999998,
      14.472000000000001,
      14.214999999999984,
      14.378999999999994,
      13.655999999999988,
      14.901999999999987,
      13.814999999999985,
      14.375999999999998,
      16.116999999999997,
      15.26,
      14.304999999999987,
      17.944,
      16.23699999999999,
      16.321999999999992,
      15.915,
      14.510999999999994,
      14.457999999999998,
      14.549999999999997,
      14.337999999999997,
      14.870999999999999,
      14.638999999999992,
      14.432999999999998,
      14.580000000000002,
      14.275999999999998,
      13.26299999999999,
      18.937999999999985,
      14.256,
      31.903000000000016,
      20.75599999999999,
      17.967999999999982,
      13.914999999999987,
      14.70799999999999,
      13.828999999999983,
      14.44299999999999,
      27.68900000000001,
      14.405999999999995,
      14.069999999999997,
      32.19200000000003,
      17.44199999999999,
      17.850999999999992,
      19.69699999999999,
      13.961000000000002,
      15.151999999999994,
      13.866999999999996,
      17.78399999999999,
      18.29199999999999,
      14.238,
      14.277999999999997,
      15.434999999999997,
      31.84300000000001,
      21.52399999999998,
      16.623999999999985,
      17.823999999999987,
      17.775999999999986,
      15.222999999999997,
      14.30799999999999,
      14.223999999999997,
      14.581999999999994,
      14.303999999999995,
      14.821999999999994,
      16.464,
      15.611999999999991,
      13.979999999999992,
      14.683000000000002,
      15.587999999999994,
      16.700999999999986,
      15.806000000000001,
      15.736999999999991,
      19.910999999999987,
      18.948999999999984,
      15.801000000000002,
      35.352000000000004,
      18.909999999999986,
      15.413999999999996,
      15.382000000000001,
      15.778999999999993,
      16.667999999999992,
      18.716000000000005,
      19.682999999999982,
      18.794999999999998,
      20.087999999999987,
      20.961999999999986,
      20.319999999999993,
      19.71299999999999,
      15.586999999999998,
      14.013000000000002,
      15.318000000000001,
      18.454000000000004,
      16.807000000000006,
      20.323999999999987,
      19.463999999999988,
      33.33000000000002,
      14.909999999999995,
      14.305999999999996,
      15.866000000000001,
      14.28099999999999,
      15.615999999999996,
      20.123999999999988,
      20.859999999999992,
      26.302,
      32.111000000000004,
      20.395000000000003,
      19.99699999999999,
      20.82199999999999,
      17.914,
      20.706,
      19.37999999999999,
      17.012999999999984,
      16.81099999999999,
      19.210999999999984,
      20.054000000000006,
      19.535999999999994,
      19.60299999999999,
      18.694000000000006,
      15.657999999999992,
      19.451999999999988,
      19.688999999999993,
      19.082000000000004,
      19.252999999999986,
      23.905,
      22.028999999999993,
      29.96199999999997,
      31.634000000000007,
      22.698999999999987
    ]

    Install & Use

    Use
    
    curl -X POST -d '"data://stephanie/demos/boston_test_data.csv"' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/stephanie/scikitlearnmodel/0.1.1