in ,

steve0hh / midas, Hacker News

steve0hh / midas, Hacker News
  import  (   " github.com/steve0hh/midas"   " fmt "   )   func   main  () {  src  := []  int  { 2 ,  2 ,  3 ,  3 ,  5 ,  5 ,  7 ,  73 ,  1 ,  2 }  dst  := []  int  { 3 ,  3 ,  4 ,  4 ,  9 ,  9 ,   ,    ,  769 ,  769 }  times  := []  int  { 1 ,  1 ,  2 ,  2 ,  2 ,  2 ,  2 ,  2 ,  2 ,  2 }     //  using function to score the edges   midasAnormScore  := midas.  midas  (src, dst, times,  2 ,  769 )  midasRAnormScore  := midas.  MidasR  (src, dst, times,  2 ,  769 ,  0.6 )  fmt.  Println  (midasAnormScore) fmt.  Println  (midasRAnormScore)    //  using sklearn FitPredict api   m  := midas.  NewMidasModel  ( 2 ,  2019 ,    fmt.  Println  (m.  FitPredict  ( 2 ,  3 ,  1 )) fmt.  Println  (m.  FitPredict  ( 2 ,  3 ,  1 )) fmt.  Println  (m.  FitPredict  ( 3 ,  4 ,  2 )) } 

Everyone is encouraged to help improve this project. Here are a few ways you can help:
Brave Browser

Brave Browser Read More

Full coverage and live updates on the Coronavirus (Covid – Brave BrowserBrave Browser

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *

GIPHY App Key not set. Please check settings

Building a WireGuard Jail with the FreeBSD's Standard Tools – genneko, hacker news

100% OFF | Learn to build a voice assistant with Alexa