Giter Club home page Giter Club logo

Comments (4)

MBus123 avatar MBus123 commented on July 22, 2024

I found that the keys in the previous mentioned rdb file are just 32 characters long, so i assume it is still using md5 sums instead of sha256. Is their any updated file?

from libradar.

pkumza avatar pkumza commented on July 22, 2024

https://github.com/pkumza/Data_for_LibRadar/blob/master/LibRadarData0410.rdb is not the latest rdb file because the latest rdb file is very large. (several GB)

I can't find a stable repository for my Large file... Every time a upload a file, the link breaks after several month.

Could you please try github.com/pkumza/LiteRadar? They are almost the same.

from libradar.

MBus123 avatar MBus123 commented on July 22, 2024

I created a new rbd file from lite_dataset_10.csv using the following python script:

import redis

DB_HOST = 'localhost'
DB_PORT = 6379
DB_ID = 0
DB_PSWD = ''

DB_FEATURE_CNT = 'feature_cnt'
DB_FEATURE_WEIGHT = 'feature_weight'
DB_UN_OB_PN = 'un_ob_pn'
DB_UN_OB_CNT = 'un_ob_cnt'

db = redis.StrictRedis(host=DB_HOST,port=DB_PORT, db=0, password=DB_PSWD)
db.flushall()
f = open('lite_dataset_10.csv', 'r')
for line in f:
    array = line.split(",")
    print (line)
    db.hset(DB_UN_OB_PN, array[0], array[4])
    db.hset(DB_FEATURE_CNT, array[0], array[1])
    db.hset(DB_UN_OB_CNT, array[0], array[3])
    db.hset(DB_FEATURE_WEIGHT, array[0], array[2])
db.save()

from libradar.

pkumza avatar pkumza commented on July 22, 2024

There's no feature data in lite_dataset_10.csv.🤔

from libradar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.